Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rvspace: tracking document: add nvme to linux+u-boot sections #112

Open
colemickens opened this issue Jul 20, 2023 · 6 comments
Open

rvspace: tracking document: add nvme to linux+u-boot sections #112

colemickens opened this issue Jul 20, 2023 · 6 comments

Comments

@colemickens
Copy link

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!

@misuzu
Copy link

misuzu commented Aug 3, 2023

NVMe support in u-boot has been merged u-boot/u-boot@8db2224

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.

@colemickens
Copy link
Author

I seem to get the same behavior, unfortunately.

@kasperk81
Copy link

usb changes were merged last week, try master branch https://github.com/u-boot/u-boot/commits/master

@kasperk81
Copy link

https://github.com/u-boot/u-boot/releases/tag/v2023.10-rc3 has all the upstreamed patches

@malteneuss
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants