Skip to content

Conversation

@vishwamartur
Copy link
Contributor

Related to #487

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

  • Remove non-existing argument: Remove the --NAND_BOOT=1 argument from recipes-bsp/milkv-duo-fsbl/milkv-duo-fsbl.bb.
  • Generate required files: Update recipes-bsp/milkv-duo-fsbl/milkv-duo-fsbl.bb to generate rootfs.spinand, boot.spinand, and system.spinand files using mkubiimg.py.
  • Avoid file conflicts: Remove the line cp ${WORKDIR}/fip.bin ${DEPLOYDIR}/ from recipes-bsp/milkv-duo-bootfiles/milkv-duo-bootfiles.bb to avoid conflicts.
  • Update partition layout: Add steps to generate rootfs.spinand, boot.spinand, and system.spinand files in wic/milkv-duo-spinand.wks.
  • Include necessary steps: Update kas/milkv-duo.yml to include necessary steps for creating a NAND image.

Related to riscv#487

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

* **Remove non-existing argument**: Remove the `--NAND_BOOT=1` argument from `recipes-bsp/milkv-duo-fsbl/milkv-duo-fsbl.bb`.
* **Generate required files**: Update `recipes-bsp/milkv-duo-fsbl/milkv-duo-fsbl.bb` to generate `rootfs.spinand`, `boot.spinand`, and `system.spinand` files using `mkubiimg.py`.
* **Avoid file conflicts**: Remove the line `cp ${WORKDIR}/fip.bin ${DEPLOYDIR}/` from `recipes-bsp/milkv-duo-bootfiles/milkv-duo-bootfiles.bb` to avoid conflicts.
* **Update partition layout**: Add steps to generate `rootfs.spinand`, `boot.spinand`, and `system.spinand` files in `wic/milkv-duo-spinand.wks`.
* **Include necessary steps**: Update `kas/milkv-duo.yml` to include necessary steps for creating a NAND image.
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

Successfully merging this pull request may close these issues.

1 participant