SamJ
Posts: 2
Joined: Tue Nov 24, 2015 12:32 pm

Rpi Uboot not working

Tue Nov 24, 2015 12:53 pm

Hello All,

I am new to Rpi and for a project i need to install Uboot for Rpi. For starters i installed Raspbian-jessie to the pi and it worked fine. Now i am attempting to use uboot but i dont succeed. I am trying to follow the instructions http://elinux.org/RPi_U-Boot but i am a little confused. Here is what i have done so far.

1) Downloaded and compiled the code from "Stephen Warren's work-in-progress branch" . I used a Debian box to compile and used CROSS_COMPILE=arm-linux-gnueabi- . I am able to successfully build uboot.bin

2) Now i copy uboot.bin to the SD card ( containing all the files from my previous jessie experiments. Is this correct? Its apparently not clear in the link but i assumed it. ) and replace the config.txt to have a line kernel=uboot.bin . ( I also tried to replace the kernel.bin directly as uboot.bin)

Now when i boot the pi i stop at the uboot prompt but my USB keyboard and USB mouse are not recognized . I cant do anything ! How do i communicate with the pi ??

I am attaching a image of the bootup so maybe you guys can point the error ..

https://www.dropbox.com/s/dn4njagoes5f7 ... R.jpg?dl=0
(I hope the image is clear. My image exceeds the forum limit and hence the dropbox linl. Basically i am stuck at the Uboot prompt at the bottom )

Navyscourge
Posts: 258
Joined: Sat Oct 24, 2015 1:50 pm

Re: Rpi Uboot not working

Wed Nov 25, 2015 1:31 pm

From the eLinux page

Code: Select all

USB low-/full-speed (USB 1.0) devices do not currently work. USB Ethernet devices are typically high-speed and hence work, and USB keyboards are typically low-/full-speed devices and hence do not currently work
It also states

Code: Select all

To use U-Boot and Linux as a development system and to make full use of all their capabilities you will need access to a serial console port on your target system. Later, U-Boot and Linux can be configured to allow for automatic execution without any user interaction.

There are several ways to access the serial console port on your target system, such as using a terminal server, but the most common way is to attach it to a serial port on your host. Additionally, you will need a terminal emulation program on your host system, such as cu or kermit
It seems that direct keyboard access might not be possible

asavah
Posts: 373
Joined: Thu Aug 14, 2014 12:49 am

Re: Rpi Uboot not working

Wed Nov 25, 2015 6:56 pm

If the usb keyboard does not work you can always use USB-TTL dongle (serial port) to communicate with the pi.

Return to “Troubleshooting”