[U-Boot] Upstream uboot and Arndale 5250 support
Paolo Pisati
p.pisati at gmail.com
Tue Oct 7 14:58:45 CEST 2014
Hi,
i've been trying to update the u-boot on my board (sd booting), from the Linaro
one (2012.10) to a v2014.X, but so far had no luck:
make arndale_config
export CROSS_COMPILE=/usr/bin/arm-linux-gnueabihf-
make
...
dd if=arndale-bl1.bin of=/dev/sdc bs=512 skip=1
dd if=arndale-spl.bin of=/dev/sdc bs=512 skip=17
dd if=./u-boot-dtb.bin of=/dev/sdc bs=512 skip=49
...
u-boot 3.10rc3 (same happens with v2014.07 or 2014.04):
U-Boot 2014.10-rc3 (Oct 07 2014 - 13:26:48) for ARNDALE
CPU: Exynos5250 at 1000MHz
Board: Arndale
I2C: i2c_init: failed to init bus 0 for speed = 100000
ready
DRAM: 2 GiB
trace: copying 00086db4 bytes of early data from 50000000 to beff0000
trace: enabled
WARNING: Caches not enabled
MMC: EXYNOS DWMMC: 0, EXYNOS DWMMC: 1
dwmci_send_cmd: DATA ERROR!
i2c_init: failed to init bus 0 for speed = 100000
In: serial
Out: serial
Err: serial
Net: Net Initialization Skipped
No ethernet found.
Hit any key to stop autoboot: 0
ARNDALE # printenv
baudrate=115200
bootargs=console=ttySAC2,115200n8 root=/dev/mmcblk1p1 rw rootwait debug earlyprintk
bootcmd=run bootcmd_ubuntu
bootcmd_ubuntu=run loadk; run loadf; run loadr; bootm ${kernel_addr_r} ${ramdisk_addr_r}:${filesize} ${fdt_addr_r}
bootdelay=3
fdt_addr_r=0x41000000
filesize=5b9902
kernel_addr_r=0x40007000
loadf=ext2load mmc 1:1 ${fdt_addr_r} /boot/exynos5250-arndale.dtb
loadk=ext2load mmc 1:1 ${kernel_addr_r} /boot/uImage
loadr=ext2load mmc 1:1 ${ramdisk_addr_r} /boot/uInitrd
ramdisk_addr_r=0x42000000
stderr=serial
stdin=serial
stdout=serial
Environment size: 589/16380 bytes
ARNDALE # run loadk
6002946 bytes read in 1117 ms (5.1 MiB/s)
ARNDALE # bootm ${kernel_addr_r}
## Booting kernel from Legacy Image at 40007000 ...
Image Name: kernel 3.16.0-20-generic
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 6002882 Bytes = 5.7 MiB
Load Address: 40008000
Entry Point: 40008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
Starting kernel ...(fake run for tracing)
Starting kernel ...
[stuck here]
here for a more complete log:
http://pastebin.ubuntu.com/8514108/plain/
Any idea what's going wrong? Did you try this board lately?
It's a kernel with the DTB concatenated (and it works fine with Linaro 2012
uboot), but the same happens if i explicitely pass the dtb:
U-Boot 2014.07 (Sep 30 2014 - 15:26:03) for ARNDALE
CPU: Exynos5250 at 1000MHz
Board: Arndale
I2C: i2c_init: failed to init bus 0 for speed = 100000
ready
DRAM: 2 GiB
trace: copying 00085818 bytes of early data from 50000000 to beff0000
trace: enabled
WARNING: Caches not enabled
MMC: EXYNOS DWMMC: 0, EXYNOS DWMMC: 1
i2c_init: failed to init bus 0 for speed = 100000
In: serial
Out: serial
Err: serial
Net: Net Initialization Skipped
No ethernet found.
Hit any key to stop autoboot: 0
ARNDALE # printenv
baudrate=115200
bootargs=console=ttySAC2,115200n8 root=/dev/mmcblk1p1 rw rootwait debug earlyprintk
bootcmd=run bootcmd_ubuntu
bootcmd_ubuntu=run loadk; run loadf; run loadr; bootm ${kernel_addr_r} ${ramdisk_addr_r}:${filesize} ${fdt_addr_r}
bootdelay=3
fdt_addr_r=0x41000000
filesize=5b9902
kernel_addr_r=0x40007000
loadf=ext2load mmc 1:1 ${fdt_addr_r} /boot/exynos5250-arndale.dtb
loadk=ext2load mmc 1:1 ${kernel_addr_r} /boot/uImage
loadr=ext2load mmc 1:1 ${ramdisk_addr_r} /boot/uInitrd
ramdisk_addr_r=0x42000000
stderr=serial
stdin=serial
stdout=serial
Environment size: 589/16380 bytes
ARNDALE # run loadk
6002946 bytes read in 1114 ms (5.1 MiB/s)
ARNDALE # run loadf
35450 bytes read in 34 ms (1017.6 KiB/s)
ARNDALE # bootm ${kernel_addr_r} - ${fdt_addr_r}
## Booting kernel from Legacy Image at 40007000 ...
Image Name: kernel 3.16.0-20-generic
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 6002882 Bytes = 5.7 MiB
Load Address: 40008000
Entry Point: 40008000
Verifying Checksum ... OK
## Flattened Device Tree blob at 41000000
Booting using the fdt blob at 0x41000000
Loading Kernel Image ... OK
Loading Device Tree to 4fff4000, end 4ffffa79 ... OK
Starting kernel ...(fake run for tracing)
Starting kernel ...
[stuck again]
(please cc: me as i'm off list)
--
bye,
p.
More information about the U-Boot
mailing list