[yocto] [meta-raspberrypi] u-boot doesnt boot kernel

Hammad Ahmed hammadahmed85 at gmail.com
Fri Jul 8 18:04:24 PDT 2016


Hi,
I wanted to boot with u-boot so I added:

KERNEL_IMAGETYPE = "uImage"

u-boot builds fine but when I boot up my raspberrypi, u-boot doesnt start
the kernel.

U-Boot 2013.01-rc1 (Jul 08 2016 - 19:01:50)

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

In:    serial
Out:   lcd
Err:   lcd
mbox: Timeout waiting for response
bcm2835: Could not set USB power state
Net:   Net Initialization Skipped
No ethernet found.
Hit any key to stop autoboot:  0
reading uEnv.txt
** Unable to read file uEnv.txt **
reading boot.scr
** Unable to read file boot.scr **
U-Boot>


Heres is a printenv

U-Boot> printenv
arch=arm
baudrate=115200
board=rpi_b
board_name=rpi_b
bootargs=dma.dmachans=0x7f35 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416
bcm2708.boardrev=0xe bcm2708.serial=0x4ef0ddfa
smsc95xx.macaddr=B8:27:EB:F0:DD:FA sdhci-bcm2708.emmc_clock_freq=250000000
vc_memg
bootcmd=if mmc rescan ${mmcdev}; then if run loadbootenv; then run
importbootenv; fi; if run loadbootscript; then run bootscript; fi; fi
bootdelay=3
bootenv=uEnv.txt
bootscript=echo Running bootscript from mmc${mmcdev} ...; source ${loadaddr}
cpu=arm1176
importbootenv=echo Importing environment from mmc ...; env import -t
$loadaddr $filesize
loadaddr=0x00200000
loadbootenv=fatload mmc ${mmcdev} ${loadaddr} ${bootenv}
loadbootscript=fatload mmc ${mmcdev} ${loadaddr} boot.scr
mmcdev=0
soc=bcm2835
stderr=serial,lcd
stdin=serial
stdout=serial,lcd
usbethaddr=B8:27:EB:F0:DD:FA
vendor=raspberrypi

Environment size: 1064/16380 bytes

Any help would be great. Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160708/50645370/attachment.html>


More information about the yocto mailing list