Comments (7)
copy the binary boards/pi2/HYP/blinker01/blinker01.bin to kernel7.img on
the card and power cycle.
On 10/09/2016 04:29 PM, ************ wrote:
I know this is bare metal, only mentioned Linux as way to ensure uart is
connected correctly.ftdi: OK will look into that, don't know what it is
kernel.img or kernel7.img: I understand, I just can't couldn't find the
one that makes the blinker work, only the bootloader one which I
couldn't useβ
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#24 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAXjrGbAI51jdrcjXlp8-q6v5-zpUZIxks5qyU6mgaJpZM4KRwFz.
from raspberrypi.
you have a uart hooked up? if not then the bootloader doesnt do you any
good, try one of the blinkers by itself.
no reason to copy the bootloader directories, you only need the binary
file and copy it to kernel7.img. bootcode.bin, start.elf and
kernel7.img are the only files you need. maybe config.txt if you want to
change how it boots, but the subdirs in the repo are config.txt specific.
On 10/08/2016 11:43 AM, ************ wrote:
What I've done so far:
- |sudo apt-get install gcc-arm-none-eabi binutils-arm-none-eabi|
- |make| inside |boards/pi2/bootloader07| and
|boards/pi2/HYP/blinker01|. Seems to work, I get |kernel7.img|,
|bootloader07.elf|, |blinker01.bin| and |blinker01.elf|- format SD card with SD disk, create a single fat partition, copy the
entire |bootloader07/| and |blinker01/| to root- copy |bootcode.bin| and |start.elf| to the root partition as well
from: https://github.com/raspberrypi/firmware/tree/master/bootNow what do I have to do? I plug the SD card into Pi, and power it up,
but nothing happens (both leds stay on all the time, as if I had no SD
card).I recommend that you add some very direct step by step bash commands at
the some of one of the README, otherwise hard to make work. :-)Ubuntu 16.04 host.
Thanks for awesome repo!
β
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#24, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAXjrIrPSbylEk_o5SSjnD4WOMJb7mRAks5qx7o4gaJpZM4KRwFz.
from raspberrypi.
UART works on Raspbian through /dev/ttyUSB0
, but I have no /dev/ttyUSB
with this image.
How to try a blinker by itself? I understand that I need a kernel7.img
, but no such file is generated under blinker01
, only .elf
and .bin
.
I had understood that only the img bin and elf were needed, only copied dir contents to be sure :-)
from raspberrypi.
From my readme file.
- boots off of an on chip rom of some sort
- reads the sd card and looks for additional gpu specific boot files
bootcode.bin and start.elf in the root dir of the first partition
(fat32 formatted, loader.bin no longer used/required) - in the same dir it looks for config.txt which you can do things like
change the arm speed, or change the address where to load kernel.img,
and many others - it reads kernel.img the arm boot binary file and copies it to memory
- releases reset on the arm such that it runs from the address where
the kernel.img data was written
On 10/09/2016 04:41 AM, ************ wrote:
UART works on Raspbian through |/dev/ttyUSB0|, but I have no
/dev/ttyUSB` with this image.How to try a blinker by itself?
I had understood that only the img bin and elf were needed, only copied
dir contents to be sure :-)β
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#24 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAXjrAbuFP97eYqIWxrOWfglwpvXD1oPks5qyKjAgaJpZM4KRwFz.
from raspberrypi.
this is bare metal not linux on the pi, you have no usb on the pi unless
you write a bare metal usb driver (there have been a couple of folks to
succeed at some level). there is a ton of text related to getting a
3.3v level uart that you connect to your host (an ftdi breakout or cable
for example) with which you can connect to the uart on the pi and use a
bootloader. Without that you are pretty much done after you blink the led.
kernel.img or kernel7.img is the specific name of the file that contains
the memory image copied to the arm and then booted. the four files
listed are the only files that are used to boot the gpu and arm, one of
them is optional config.txt.
David
On 10/09/2016 04:41 AM, ************ wrote:
UART works on Raspbian through |/dev/ttyUSB0|, but I have no
/dev/ttyUSB` with this image.How to try a blinker by itself?
I had understood that only the img bin and elf were needed, only copied
dir contents to be sure :-)β
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#24 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAXjrAbuFP97eYqIWxrOWfglwpvXD1oPks5qyKjAgaJpZM4KRwFz.
from raspberrypi.
I know this is bare metal, only mentioned Linux as way to ensure uart is connected correctly.
ftdi: OK will look into that, don't know what it is
kernel.img or kernel7.img: I understand, I just can't couldn't find the one that makes the blinker work, only the bootloader one which I couldn't use
from raspberrypi.
π
And the partition type id must be C
. Arg, 2 hours of my life went by. :-)
from raspberrypi.
Related Issues (20)
- More detailed bootloader example steps HOT 4
- a new way to avoid remove/insert SD card again and again HOT 22
- read/write capability
- uartx01 example HOT 1
- Problem with Enabling JTAG in RPI B HOT 1
- uart04 example unexpectedly reboots
- Where are PUT32 and GET32 defined? HOT 1
- Coroutines in ARM Assembly
- arm_control deprecated HOT 1
- Save ELR_hyp and cpsr in pi 2 blinker 5
- Raspberry Pi
- Rasp
- Can't bind RFCOMM socket: Address already in use
- Ordering
- Problem with record and play wav files on pi HOT 5
- Oi
- Raspberry pi Projects Discord
- I connected waveshare screen to raspberry pi zero w and thereβs no option to rotate screen to right or left. What to do?
- Success with Raspberry PI B+ jtag with Olimex ARM-USB-TINY-H
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from raspberrypi.