Did you know LQ has a Linux Hardware Compatibility List?
Go Back > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.


  Search this Thread
Old 01-27-2014, 08:41 AM   #1
Registered: Nov 2013
Posts: 33

Rep: Reputation: Disabled
Unhappy problem with u-boot (bootm) for raspberry Pi

Hi all.
I have zImage and uImage for RPI )raspberry) and also make u-boot.bin (get from, change config.txt file, which is in the first partition (i.e. boot) as:

u-boot work perfectly. USB to Serial connector is used to send command via minicon (115200 ...). in sum everything is ok. I use "fatload mmc 0:1 ${loadaddr} uImage" command, which "uImage" is my uboot image, made via buildroot. aftermantioned command perform thoroughly and it seems everything is ok. u-boot prompt that uImage is loaded. when i issue the bootm command some messages about start address and entry point is displayes, "Starting Kernel ..." message is printed and then suddenly u-boot is seems to be restarted.
it sjould be noted that "uImage" is selected as "kernel binary format" and the "loadaddr" is set to 0x00200000, in buildroot.
Please help me to solve this problem. I think that this problem is originated from some neglected config or miss-calculation of start address/entry point address/loadaddr. i will be so gratefull if someone guid me about these addresses and the difference among them.
Old 01-27-2014, 09:23 AM   #2
Registered: Feb 2006
Distribution: distrohopper
Posts: 44

Rep: Reputation: 12
Old 01-29-2014, 03:06 AM   #3
Registered: Nov 2013
Posts: 33

Original Poster
Rep: Reputation: Disabled

Originally Posted by buttugly View Post
thank you for yor reply. I read this link and change the start address as "0x0c100000" as apecified for arm in this link. i want to know aboat start address, entry point address and also want to know the difference between them.
it is my board info -which is achieved via bdinfo- :
U-Boot> bdinfo
arch_number = 0x00000C42
boot_params = 0x00000100
DRAM bank = 0x00000000
-> start = 0x00000000
-> size = 0x19C00000
baudrate = 115200 bps
TLB addr = 0x19BF0000
relocaddr = 0x19B94000
reloc off = 0x19B8C000
irq_sp = 0x1978FF40
sp start = 0x1978FF30
FB base = 0x19C06000

and it is the output which i copy/past from "minicom":
reading uImage
26852840 bytes read in 4598 ms (5.6 MiB/s)
U-Boot> bootm
## Booting kernel from Legacy Image at 00200000 ...
Image Name: Linux-3.10.10
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 26852776 Bytes = 25.6 MiB
Load Address: 0c100000
Entry Point: 0c100000
Verifying Checksum ... OK
Loading Kernel Image ... OK

Starting kernel ...

<<<<<<<<<<< rpi is restarted >>>>>>>>>>>>>>>>>>>>

U-Boot 2013.07 (Jan 27 2014 - 19:19:18)

DRAM: 412 MiB
WARNING: Caches not enabled
MMC: bcm2835_sdhci: 0
Using default environment

In: serial
Out: lcd
Err: lcd
Hit any key to stop autoboot: 0
mmc0 is current device
reading boot.scr.uimg
** Unable to read file boot.scr.uimg **
please help me.

Last edited by s.a.pishvaie; 01-29-2014 at 03:08 AM.
Old 03-09-2014, 03:07 AM   #4
Registered: Nov 2013
Posts: 33

Original Poster
Rep: Reputation: Disabled
Smile my problem is solved

my mistake was that the kernel had been compiled incorrectly. thus it can not be work properly when is called with u-boot command line. it was over 30MB.

thanks for "buttugly" for its helpful link.

Best regards


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] raspberry PI boot problem: faile to start login service golden_boy615 Linux - Embedded & Single-board computer 2 01-29-2014 02:06 AM
LXer: Raspberry Jams: why Raspberry Pi is going back to school LXer Syndicated Linux News 0 10-25-2013 01:20 PM
slackware raspberry pi only boot once jmpz Slackware 1 09-17-2013 09:55 PM
LXer: Raspberry Pi becomes Raspberry PC via Mini-ITX carrier LXer Syndicated Linux News 0 07-17-2013 02:20 PM
LXer: Enter the element14 Pi Day ‚??Raspberry RoadTest‚?Ě Challenge for a chance to win a Raspberry Pi c LXer Syndicated Linux News 0 03-08-2012 07:20 AM

All times are GMT -5. The time now is 03:54 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration