> It seems the allwinner provided u-boot doesn't set up the > atags structure and uses it's own way of booting so you'll > likely need to use a version based on the main u-boot repository. > > It should be possible to dd the miniroot-cubie-58.fs to an sd card > then dd if=u-boot-sunxi-with-spl.bin of=/dev/rsd3c bs=1024 seek=8 > over the top assuming sd3 is the sd card to replace the version > of u-boot included in the miniroot. > > An untested attempt to do this with a cubieboard2 u-boot 2015.07 > image can be found here: > http://jsg.id.au/openbsd/miniroot-cubie2-58.fs > > cubieboard2 u-boot 2015.07 file > http://jsg.id.au/openbsd/u-boot-sunxi-with-spl.bin
I should have mentioned in opening post that I have tried doing just that using the latest u-boot and a few others, including the one provided by the cubieboard website but the result was exactly the same. I tried using miniroot-cubie2-58.fs that you provided but still the result is the same. > If you can manage to tftp boot bsd.rd.SUNXI.umg you'll avoid > some of the madness. I hoped to do this but have encountered another problem. I wrote u-boot 2015.07 that you provided to the SD card and fired up the cubie, this is the result: U-Boot SPL 2015.07 (Jul 23 2015 - 19:37:54) DRAM: 1024 MiB CPU: 912000000Hz, AXI/AHB/APB: 3/2/2 U-Boot 2015.07 (Jul 23 2015 - 19:37:54 +1000) Allwinner Technology CPU: Allwinner A20 (SUN7I) I2C: ready DRAM: 1 GiB MMC: SUNXI SD/MMC: 0 *** Warning - bad CRC, using default environment In: serial Out: serial Err: serial SCSI: SUNXI SCSI INIT SATA link 0 timeout. AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode flags: ncq stag pm led clo only pmp pio slum part ccc apst Net: No ethernet found. starting USB... USB0: USB EHCI 1.00 USB1: USB OHCI 1.0 USB2: USB EHCI 1.00 USB3: USB OHCI 1.0 scanning bus 0 for devices... 1 USB Device(s) found scanning bus 2 for devices... 1 USB Device(s) found Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... scanning bus for devices... Found 0 device(s). SCSI device 0: Device 0: not available USB device 0: unknown device No ethernet found. missing environment variable: pxeuuid missing environment variable: bootfile Retrieving file: pxelinux.cfg/00000000 No ethernet found. missing environment variable: bootfile Retrieving file: pxelinux.cfg/0000000 No ethernet found. missing environment variable: bootfile Retrieving file: pxelinux.cfg/000000 No ethernet found. missing environment variable: bootfile Retrieving file: pxelinux.cfg/00000 No ethernet found. missing environment variable: bootfile Retrieving file: pxelinux.cfg/0000 No ethernet found. missing environment variable: bootfile Retrieving file: pxelinux.cfg/000 No ethernet found. missing environment variable: bootfile Retrieving file: pxelinux.cfg/00 No ethernet found. missing environment variable: bootfile Retrieving file: pxelinux.cfg/0 No ethernet found. missing environment variable: bootfile Retrieving file: pxelinux.cfg/default-arm-sunxi No ethernet found. missing environment variable: bootfile Retrieving file: pxelinux.cfg/default-arm No ethernet found. missing environment variable: bootfile Retrieving file: pxelinux.cfg/default No ethernet found. Config file not found No ethernet found. sunxi# As you can see, it seems that ethernet device is not working. The cable is plugged in and the two LEDs bellow the LAN connector are blinking. Of course, the following does not work: sunxi# setenv autoload no sunxi# setenv ipaddr 192.168.1.x sunxi# setenv serverip 192.168.1.x sunxi# tftpboot No ethernet found. It seems there is no end to troubles :). Thank you very much for your time! Kind regards, Viktor