Quallenauge / Easybox-904-XDSL

Fork of openwrt with vendor specific changes from open sourced firmware 3.10.
GNU General Public License v2.0
20 stars 8 forks source link

modifie the 4052-NAND-add-easybox904-bbt.patch and add "customized-sa… #26

Open Plonkbong opened 5 years ago

Plonkbong commented 5 years ago

…msung-K9F4G08U0x;" to DTS

This patch was breaking all other devices with NAND-flash in past, because the different BBT-patern-matching will disable/enable by #define CUSTOMIZED_BBT 1 Now it ask first for the customized-samsung-K9F4G08U0x field from devicetree: ... nand@1 { customized-samsung-K9F4G08U0x; ...

Signed-off-by: Plonkbong plonkbong100@protonmail.com

Thanks for your contribution to OpenWrt!

To help keep the codebase consistent and readable, and to help people review your contribution, we ask you to follow the rules you find in the wiki at this link https://openwrt.org/submitting-patches

Please remove this message before posting the pull request.

Plonkbong commented 5 years ago

Hi i makes my commit message openwrt compatible.

For testing i add a lot of comments 4052-NAND-add-easybox904-bbt-byDTS-with-a-lot-of-comments.patch = https://pastebin.com/5frveXVk Here the resulting nand_bbt.c = https://pastebin.com/sFVZCEzi

The dmesg output looks like it should be full = https://pastebin.com/YJ899XSE filtered = https://pastebin.com/C8wxth7x