Hi,
I'm trying to boot NetBSD on a Cubieboard1 (Allwinner A10). I've
grabbed the u-boot from
http://dl.linux-sunxi.org/nightly/u-boot-sunxi/u-boot-sunxi/u-boot-sunxi-latest/u-boot-sunxi-cubieboard.tar.xz
and this is as far as I get:
----------
U-Boot 2015.04-rc4-gb81bdf6 (Mar 25 2015 - 14:19:43) Allwinner Technology
CPU: Allwinner A10 (SUN4I)
I2C: ready
DRAM: 1 GiB
MMC: SUNXI SD/MMC: 0
HDMI connected: Setting up a 1280x1024 dvi console
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: emac
starting USB...
USB0: USB EHCI 1.00
scanning bus 0 for devices... 1 USB Device(s) found
USB1: USB EHCI 1.00
scanning bus 1 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot: 0
sunxi# tftpboot 82000000 arm/netbsd-CUBIEBOARD.ub
ENET Speed is 100 Mbps - FULL duplex connection
Using emac device
TFTP from server <...>; our IP address is <...>
Filename 'arm/netbsd-CUBIEBOARD.ub'.
Load address: 0x82000000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
########################################################
1.2 MiB/s
done
Bytes transferred = 5591360 (555140 hex)
sunxi# bootm 82000000
## Booting kernel from Legacy Image at 82000000 ...
Image Name: NetBSD/cubieboard 7.0_RC1
Image Type: ARM NetBSD Kernel Image (uncompressed)
Data Size: 5591296 Bytes = 5.3 MiB
Load Address: 40007800
Entry Point: 40007800
Verifying Checksum ... OK
Loading Kernel Image ... OK
## Transferring control to NetBSD stage-2 loader (at address 40007800) ...
----------
At this point it simply hangs. I have tried build.sh with
-m evbearmv7-el and also with -m evbearmv7hf-el with no
difference. I have even downloaded the armv7.img from a HEAD
snapshot and written the appropriate u-boot into it.
I've also tried setting bootargs= and downloading the
cubieboard.bin FEX script from
http://ftp.netbsd.org/pub/NetBSD/misc/jmcneill/allwinner/fex/
and using it according to the wiki page to no avail.
It always hangs at the same point. The serial console and the DVI
console both show the same output.
Is a Cubieboard1 actually supposed to boot or am I doing
something wrong? I notice the page at
http://wiki.netbsd.org/ports/evbarm/allwinner/ never actually
mentions the Cubieboard1 specifically. However, it broadly says
A10-based boards so I'm just guessing it should work.
Any hints? Thanks.
Best regards