On 08/01/2014 12:46 PM, Robert Moskowitz wrote:
On 08/01/2014 10:50 AM, Hans de Goede wrote:
Hi,
I've aprox. 30 different allwinner devices. But I've tried explicitly on the cubieboard2. What u-boot are you using? AFAIK F-21 does not ship with a u-boot for the cubieboard2.
I tried it and something went wrong, as it would not boot up.....
what device do I use in:
sudo dd if=/tmp/root/usr/share/uboot/Cubietruck/u-boot-sunxi-with-spl.bin of=/dev/<media-location> bs=1024 seek=8 conv=fsync,notrunc
is <media-location> just the device like /dev/sbd or is it the specific boot partition like /dev/sbd1?
Things are not booting here. My steps are:
xzcat /home/rgm/Fedora-Minimal-armhfp-21-20140731-sda.raw.xz | dd of=/dev/sdb; sync
remove SD card and reinsert.
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
Note that __boot is mounting as device /dev/sbd1, though.
umount /run/media/rgm/__ umount /run/media/rgm/__boot
Remove Sd card and insert in Cubieboard 2 and power up. On console I see:
U-Boot SPL 2014.04-10690-g2e4c692 (Jul 13 2014 - 15:47:12) Board: Cubieboard2 DRAM: 1024 MiB CPU: 960000000Hz, AXI/AHB/APB: 3/2/2 spl: not an uImage at 1600
U-Boot 2014.04-10690-g2e4c692 (Jul 13 2014 - 15:47:12) Allwinner Technology
CPU: Allwinner A20 (SUN7I) Board: Cubieboard2 I2C: ready DRAM: 1 GiB MMC: SUNXI SD/MMC: 0 *** Warning - bad CRC, using default environment
In: serial Out: serial Err: serial Net: dwmac.1c50000 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 should the uboot dd operation be to /dev/sdb1?