-
Notifications
You must be signed in to change notification settings - Fork 42
How can I regenerate correct Image? #4
Copy link
Copy link
Open
Description
Hi there!
I wanna execute C program on this board so I need to regenerate Image but this one I made in local cannot work. If you success to boot linux with Image you build in your machine, please teach me your environment or used tools!
Thanks.
- Files used for booting:
- sipeed_tang_nano_20k.fs: Created with "./make.py --board=sipeed_tang_nano_20k --build"
- sipeed_tang_nano_20k.dtb/dts: Created with "./make.py --board=sipeed_tang_nano_20k --build"
- Image, rootfs.cpio, fw_jump.bin: For the procedure, I followed https://github.com/litex-hub/linux-on-litex-vexriscv#-generating-the-linux-binaries-optional, and I used the ones obtained from https://buildroot.org/ to create each file.
- boot.json: I referred to the boot.json from Prebuilt Bitstreams and Linux/OpenSBI images. litex-hub/linux-on-litex-vexriscv#164, and I modified the parts that originally mentioned rv32.dtb and opensbi.bin.
{
"Image": "0x40000000",
"sipeed_tang_nano_20k.dtb": "0x40ef0000",
"rootfs.cpio": "0x41000000",
"fw_jump.bin": "0x40f00000"
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels