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

Questions regarding the flash layout #1

Open
Lorilandly opened this issue Mar 5, 2023 · 0 comments
Open

Questions regarding the flash layout #1

Lorilandly opened this issue Mar 5, 2023 · 0 comments

Comments

@Lorilandly
Copy link

Lorilandly commented Mar 5, 2023

The OpenWrt ubootmod Firmware flash layout is the following

dev:    size   erasesize  name
mtd0: 00100000 00020000 "BL2"
mtd1: 00040000 00020000 "Nvram"
mtd2: 00040000 00020000 "Bdata"
mtd3: 00200000 00020000 "Factory"
mtd4: 00200000 00020000 "FIP"
mtd5: 07a80000 00020000 "ubi"

However the memory layout used in this boot loader is different

CONFIG_MTDPARTS_DEFAULT="nmbm0:1024k(bl2),256k(Nvram),256k(Bdata),2048k(factory),2048k(fip),256k(crash),256k(crash_log),112640k(ubi)"

Is it possible to convert the memory layout to the OpenWrt one? Or else is there any reasons against that?
Having another layout on top of the existing two adds to the fragmentation of the community and causes confusion for the users, especially when there is a lack of documentation.

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

1 participant