[fedora-arm] uboot for the Cubieboard2 - not so easy

Robert Moskowitz rgm at htt-consult.com
Fri Aug 1 18:31:23 UTC 2014


For me anyway.  I am begining to see how the pieces are suppose to fit 
together.

The installer script is coded for only the Cubietruck, and if you don't 
capitalize it, the script fixes that.

There IS a dtb for the cubieboard2:

/run/media/rgm/__boot/dtb-3.16.0-0.rc7.git1.1.fc21.armv7hl/sun7i-a20-cubieboard2.dtb 


But no .bin supplied.  I got u-boot-sunxi-cubieboard2.tar.xz from 
someplace on Jul 24 which has in it:

  24 -rw-rw-r--. 1 rgm rgm  21504 Jul 13 09:47 sunxi-spl.bin
236 -rw-rw-r--. 1 rgm rgm 240300 Jul 13 09:47 u-boot.bin
268 -rw-rw-r--. 1 rgm rgm 273132 Jul 13 09:47 u-boot-sunxi-with-spl.bin

So I followed the instructions at 
https://fedoraproject.org/wiki/Architectures/ARM/Rawhide/Installation 
for the Cubietruck with

dd 
if=/home/rgm/u-boot-sunxi-cubieboard2-20140713T154223-2e4c692/u-boot-sunxi-with-spl.bin 
of=/dev/sdb bs=1024 seek=8 conv=fsync,notrunc; sync

But when I boot with this card it fails with:


Hit any key to stop autoboot:  0
** Unrecognized filesystem type **
** File not found boot/uEnv.txt **
** File not found uEnv.txt **
** Unrecognized filesystem type **
** File not found boot/boot.scr **
22486 bytes read in 202 ms (108.4 KiB/s)
Jumping to boot.scr
## Executing script at 44000000
Welcome to a-b-c 0.63.

Could not successfully auto-detect system type.
You may need to set u_k_addr, u_ramfs_addr, u_dtb_addr, and u_dtb
Will scan for kernels on mmc usb scsi sata ide, using ext2 fat 
filesystems with bootm

Starting menu init....

Failed to auto-boot
No value for u_dtb.  Use klist and dtblist to select.

a-b-c main menu
---------------
run clist: for a list of known board configurations.
run klist: for a list of kernels.
run dtblist: for a list of dtbs.
run single: for single user target on boot.
run rescue: for rescue target on boot.
run graphical: for graphical target on boot.
run debug: for verbose debug boot.
run normal: for default systemd boot target (default).
run showdefs: for current defaults.
boot or run bootcmd: boot with currently configured parameters.

Enter command from the above list.

** File not found /boot/script.bin **
** Unrecognized filesystem type **
** File not found /script.bin **

So obviously, I am missing a piece to get a cubieboard2 uboot installed.

I see a more recent uboot at: 
http://dl.linux-sunxi.org/nightly/u-boot-sunxi/u-boot-sunxi/u-boot-sunxi-latest/

Should I use that?

thank you for any direction on this.




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/arm/attachments/20140801/52c7b179/attachment.html>


More information about the arm mailing list