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

Add NAND support for Milk-V Duo #501

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vishwamartur
Copy link

Related to #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.

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.
Copy link
Collaborator

@kraj kraj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

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.

2 participants