Skip to content

Releases: janwillies/u-boot

v2019.01-cb-1

22 Jan 09:17
Compare
Choose a tag to compare

working SPI and network on the sopine clusterboard

flash to sdcard

dd if=u-boot-sunxi-with-spl.bin of=/dev/sdc bs=8k seek=1

boot and check sf probe and dm tree

=> sf probe
Warning: SPI speed fallback to 100 kHz
SF: Detected w25q128bv with page size 256 Bytes, erase size 4 KiB, total 16 MiB

flash to SPI

first write the image to sdcard

xzcat u-boot-sopine-flash-spi.img.xz | sudo dd of=/dev/sdc

then boot from the sdcard and it will automatically flash the SPI. After a couple of minutes you can poweroff, remove the sdcard and the sopine will boot from SPI and try to load the kernel from the location provided via DHCP

tftpboot

manual tftpboot, if you don't have boot-infos via dhcp available:

dhcp
setenv serverip 192.168.1.108
setenv bootargs console=${console} earlyprintk rw root=nfs:${serverip}:/mnt/data3/nfsroot/sopine-rootfs/

tftpboot ${kernel_addr_r} vmlinux-4.19.10-300.fc29.aarch64.img
tftpboot ${ramdisk_addr_r} initramfs-nfs-4.19.10-300.fc29.aarch64.uImage
tftpboot ${fdt_addr_r} sun50i-a64-sopine-baseboard-4.19.10-300.fc29.dtb

booti ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr_r}