Open colemickens opened 1 year ago
NVMe support in u-boot has been merged https://github.com/u-boot/u-boot/commit/8db2224ffca24aab3f933618bf27d747a1a4c161
u-boot doesn't build for me though:
rm -f net/built-in.o; riscv64-linux-ar cDPrsT net/built-in.o net/arp.o net/bootp.o net/eth-uclass.o net/eth_bootdev.o net/mdio-uclass.o net/eth_common.o net/net.o net/ping.o net/tftp.o
make -f ./scripts/Makefile.build obj=examples
riscv64-linux-gcc -E -Wp,-MD,./.u-boot.lds.d -D__KERNEL__ -D__UBOOT__ -ffixed-gp -fpic -fno-common -ffunction-sections -fdata-sections -pipe -march=rv64imafdc_zicsr_zifencei -mabi=lp64d -mcmodel=medany -Iinclude -I./arch/riscv/include -include ./include/linux/kconfig.h -nostdinc -isystem /nix/store/35dk6lkiakjb8a2>
riscv64-linux-ld.bfd -m elf64lriscv -z noexecstack --no-warn-rwx-segments --gc-sections -static -pie -Bstatic --no-dynamic-linker -z notext --build-id=none -Ttext 0x40200000 -o u-boot -T u-boot.lds arch/riscv/cpu/start.o --whole-archive arch/riscv/cpu/built-in.o arch/riscv/cpu/jh7110/built-in.o arch/riscv/lib/b>
riscv64-linux-objcopy --gap-fill=0xff -O srec u-boot u-boot.srec
riscv64-linux-objcopy --gap-fill=0xff -O binary u-boot u-boot-nodtb.bin
make -f ./scripts/Makefile.build obj=dts dtbs
make -f ./scripts/Makefile.build obj=arch/riscv/dts dtbs
make[2]: *** No rule to make target 'arch/riscv/dts/jh7110-starfive-visionfive-2.dtb', needed by 'dtbs'. Stop.
make[1]: *** [dts/Makefile:44: arch-dtbs] Error 2
make: *** [Makefile:1156: dts/dt.dtb] Error 2
Same issue when using v2023.10-rc1, v2023.07.02 builds just fine. Something got broken between these two tags.
I seem to get the same behavior, unfortunately.
usb changes were merged last week, try master branch https://github.com/u-boot/u-boot/commits/master
https://github.com/u-boot/u-boot/releases/tag/v2023.10-rc3 has all the upstreamed patches
Nice. I think all patches to use the Visionfive 2 as a homelab server have merged by now. See https://rvspace.org/en/project/JH7110_Upstream_Plan
I'm about to setup my board to boot from an NVMe SSD. How would we boot from NVMe without an SD card? Which boot mode pins should a user choose?
Hi,
I am using the downstream forks of u-boot and linux that have NVME support. I am particularly interested in when those features will land in their upstreams.
Is it possible to add entries for nvme under linux and u-boot on the rvspace tracking page?
Thanks!