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

Milkv duo support NAND image #487

Open
Markus250 opened this issue Aug 28, 2024 · 1 comment
Open

Milkv duo support NAND image #487

Markus250 opened this issue Aug 28, 2024 · 1 comment

Comments

@Markus250
Copy link

In buildroot I can compile image for SPI NAND next command:
./build.sh milkv-duo-spinand
and in the folder out/
I will receive the files for the firmware nand (boot.spinand, fip.bin, rootfs.spinand, system.spinand)
I load this into nand and it works
How can create an image for nand using this layer (yocto)?

sorry for my eng

vishwamartur added a commit to vishwamartur/meta-riscv that referenced this issue Nov 1, 2024
Related to riscv#487

Add support for creating NAND image for Milk-V Duo in Yocto layer.

* **conf/machine/milkv-duo.conf**
  - Add NAND-specific configurations.
  - Update `IMAGE_BOOT_FILES` to include `boot.spinand`, `fip.bin`, `rootfs.spinand`, and `system.spinand`.
  - Update `WKS_FILE` to use `milkv-duo-spinand.wks`.

* **wic/milkv-duo-spinand.wks**
  - Create a new `wic/milkv-duo-spinand.wks` file for NAND image creation.
  - Add partitions for `boot.spinand`, `fip.bin`, `rootfs.spinand`, and `system.spinand`.

* **recipes-bsp/u-boot/files/milkv-duo-support-files.patch**
  - Add NAND-specific configurations.
  - Update `milkv-duo_defconfig` to include NAND support.

* **recipes-bsp/milkv-duo-fsbl/milkv-duo-fsbl.bb**
  - Add NAND-specific configurations.
  - Update `do_compile` to include NAND-specific parameters.
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

2 participants
@Markus250 and others