Re: [OpenWrt-Devel] [PATCH] ramips: adding support for OY-0001 Wireless Router
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Isn't this normally called the OYE-0001 ? not OY-0001 ? The website and all literature I've seen uses the OYE-0001 name... Regardless, in many places, you have not followed the existing alphabetical order. LiWeijian younfa...@hotmail.com wrote: From: Tom Deng 2579131...@qq.com Adding support for OY-0001 Wireless Router. OY-0001 is a wireless router made by oyewifi.com. Below is the details: MT7620A, 128MB DDR2, 16MB FLASH, SD Slot, USB 2.0, 4 x LAN + 1 x WAN. Signed-off-by: Tom Deng 2579131...@qq.com --- diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds index 545bd70..fe3a79d 100755 --- a/target/linux/ramips/base-files/etc/board.d/01_leds +++ b/target/linux/ramips/base-files/etc/board.d/01_leds @@ -238,6 +238,10 @@ case $board in set_wifi_led zbtlink:blue:air set_usb_led zbtlink:blue:usb ;; + oy-0001) + ucidef_set_led_default power power oy:green:power 1 + set_wifi_led oy:green:wifi + ;; wr8305rt) ucidef_set_led_default power power wr8305rt:sys 1 set_usb_led wr8305rt:usb diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network index bc1fc01..9fb3535 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -139,6 +139,7 @@ ramips_setup_interfaces() mzk-750dhp | \ whr-300hp2 | \ whr-600d | \ + oy-0001 | \ wsr-600 | \ wsr-1166 | \ wt1520 | \ @@ -283,6 +284,11 @@ ramips_setup_macs() wan_mac=$(mtd_get_mac_binary devdata 7) ;; + oy-0001) + lan_mac=$(mtd_get_mac_binary factory 40) + wan_mac=$(mtd_get_mac_binary factory 46) + ;; + w306r-v20) lan_mac=$(cat /sys/class/net/eth0/address) wan_mac=$(macaddr_add $lan_mac 5) diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh index d2a1856..3d40ab9 100755 --- a/target/linux/ramips/base-files/lib/ramips.sh +++ b/target/linux/ramips/base-files/lib/ramips.sh @@ -400,6 +400,9 @@ ramips_board_detect() { *Zbtlink ZBT-WA05) name=zbt-wa05 ;; + *OY-0001) + name=oy-0001 + ;; *ZBT WR8305RT) name=wr8305rt ;; diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh index cedd62b..8f45a84 100755 --- a/target/linux/ramips/base-files/lib/upgrade/platform.sh +++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh @@ -116,6 +116,7 @@ platform_check_image() { wr6202 |\ wr8305rt |\ wrtnode |\ + oy-0001 |\ wt1520 |\ wt3020 |\ x5 |\ diff --git a/target/linux/ramips/dts/OY-0001.dts b/target/linux/ramips/dts/OY-0001.dts new file mode 100644 index 000..48b7099 --- /dev/null +++ b/target/linux/ramips/dts/OY-0001.dts @@ -0,0 +1,123 @@ +/dts-v1/; + +/include/ mt7620a.dtsi + +/ { + compatible = ralink,mt7620a-soc; + model = OY-0001; + +chosen { +bootargs = console=ttyS0,115200; +}; + + palmbus@1000 { + gpio2: gpio@660 { + status = okay; + }; + + gpio3: gpio@688 { + status = okay; + }; + + spi@b00 { + status = okay; + + m25p80@0 { + #address-cells = 1; + #size-cells = 1; + compatible = w25q128; + reg = 0 0; + linux,modalias = m25p80, w25q128; + spi-max-frequency = 1000; + + partition@0 { + label = u-boot; + reg = 0x0 0x3; + read-only; + }; + + partition@3 { + label = u-boot-env; + reg = 0x3 0x1; + read-only; + }; + + factory: partition@4 { + label = factory; + reg = 0x4 0x1; + read-only; + }; + + partition@5 { + label = firmware; +
Re: [OpenWrt-Devel] [PATCH] ramips: adding support for OY-0001 Wireless Router
Hi, Thanks very much for your comments and taking time to check the name. Regarding the 'OY-0001', it's for business reason to use 'OY-0001' but not 'OYE-0001'. The 'old' name in the website also will be updated afterward. Regards, Weijian Subject: Re: [OpenWrt-Devel] [PATCH] ramips: adding support for OY-0001 Wireless Router From: ka...@tweak.net.au To: younfa...@hotmail.com CC: openwrt-devel@lists.openwrt.org Date: Fri, 10 Jul 2015 11:27:55 + -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Isn't this normally called the OYE-0001 ? not OY-0001 ? The website and all literature I've seen uses the OYE-0001 name... Regardless, in many places, you have not followed the existing alphabetical order. LiWeijian younfa...@hotmail.com wrote: From: Tom Deng 2579131...@qq.com Adding support for OY-0001 Wireless Router. OY-0001 is a wireless router made by oyewifi.com. Below is the details: MT7620A, 128MB DDR2, 16MB FLASH, SD Slot, USB 2.0, 4 x LAN + 1 x WAN. Signed-off-by: Tom Deng 2579131...@qq.com --- diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds index 545bd70..fe3a79d 100755 --- a/target/linux/ramips/base-files/etc/board.d/01_leds +++ b/target/linux/ramips/base-files/etc/board.d/01_leds @@ -238,6 +238,10 @@ case $board in set_wifi_led zbtlink:blue:air set_usb_led zbtlink:blue:usb ;; + oy-0001) + ucidef_set_led_default power power oy:green:power 1 + set_wifi_led oy:green:wifi + ;; wr8305rt) ucidef_set_led_default power power wr8305rt:sys 1 set_usb_led wr8305rt:usb diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network index bc1fc01..9fb3535 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -139,6 +139,7 @@ ramips_setup_interfaces() mzk-750dhp | \ whr-300hp2 | \ whr-600d | \ + oy-0001 | \ wsr-600 | \ wsr-1166 | \ wt1520 | \ @@ -283,6 +284,11 @@ ramips_setup_macs() wan_mac=$(mtd_get_mac_binary devdata 7) ;; + oy-0001) + lan_mac=$(mtd_get_mac_binary factory 40) + wan_mac=$(mtd_get_mac_binary factory 46) + ;; + w306r-v20) lan_mac=$(cat /sys/class/net/eth0/address) wan_mac=$(macaddr_add $lan_mac 5) diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh index d2a1856..3d40ab9 100755 --- a/target/linux/ramips/base-files/lib/ramips.sh +++ b/target/linux/ramips/base-files/lib/ramips.sh @@ -400,6 +400,9 @@ ramips_board_detect() { *Zbtlink ZBT-WA05) name=zbt-wa05 ;; + *OY-0001) + name=oy-0001 + ;; *ZBT WR8305RT) name=wr8305rt ;; diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh index cedd62b..8f45a84 100755 --- a/target/linux/ramips/base-files/lib/upgrade/platform.sh +++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh @@ -116,6 +116,7 @@ platform_check_image() { wr6202 |\ wr8305rt |\ wrtnode |\ + oy-0001 |\ wt1520 |\ wt3020 |\ x5 |\ diff --git a/target/linux/ramips/dts/OY-0001.dts b/target/linux/ramips/dts/OY-0001.dts new file mode 100644 index 000..48b7099 --- /dev/null +++ b/target/linux/ramips/dts/OY-0001.dts @@ -0,0 +1,123 @@ +/dts-v1/; + +/include/ mt7620a.dtsi + +/ { + compatible = ralink,mt7620a-soc; + model = OY-0001; + +chosen { +bootargs = console=ttyS0,115200; +}; + + palmbus@1000 { + gpio2: gpio@660 { + status = okay; + }; + + gpio3: gpio@688 { + status = okay; + }; + + spi@b00 { + status = okay; + + m25p80@0 { + #address-cells = 1; + #size-cells = 1; + compatible = w25q128; + reg = 0 0; + linux,modalias = m25p80, w25q128; + spi-max-frequency = 1000; + + partition@0 { + label = u-boot; + reg = 0x0 0x3; + read-only; + }; + + partition@3 { + label = u-boot-env; + reg = 0x3 0x1
Re: [OpenWrt-Devel] [PATCH] ramips: adding support for OY-0001 Wireless Router
On 10/07/2015 21:31, John Crispin wrote: On 10/07/2015 17:19, Karl Palsson wrote: John Crispin blo...@openwrt.org wrote: On 10/07/2015 13:27, Karl Palsson wrote: Isn't this normally called the OYE-0001 ? not OY-0001 ? The website and all literature I've seen uses the OYE-0001 name... Regardless, in many places, you have not followed the existing alphabetical order. there never has been an alphabetic order requirement and many entries are not alphabetically sorted Lots of requirements have never been written down I'm sure. Most of the files are generally well sorted. Would you rather they were not sorted? Is it _bad_ of me to provide cursory review comments that try and steer towards maintaining clean, ordered lists? Am I making your job more difficult in any way? Sincerely, Karl P ok agreed, with ar71xx we already have alphabetic order. maybe we should just bite the bullet, sort the ramips scripts and thus also enforcing the ordering on this target i just had a closer look and that would be a really huge and messy patch. additionally we have bits like this b2c | \ nw718 | \ psr-680w | \ sl-r7205 | \ w502u | \ wr6202) ucidef_set_interfaces_lan_wan eth0.1 eth0.2 ;; which started with 1 case and had many added over time thus breaking the ordering. not sure if this is worth the effort. once i find time to finish the board detect code all this info will be inside json files anyway, which i hope will around the end of the year. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH] ramips: adding support for OY-0001 Wireless Router
On 10/07/2015 17:19, Karl Palsson wrote: John Crispin blo...@openwrt.org wrote: On 10/07/2015 13:27, Karl Palsson wrote: Isn't this normally called the OYE-0001 ? not OY-0001 ? The website and all literature I've seen uses the OYE-0001 name... Regardless, in many places, you have not followed the existing alphabetical order. there never has been an alphabetic order requirement and many entries are not alphabetically sorted Lots of requirements have never been written down I'm sure. Most of the files are generally well sorted. Would you rather they were not sorted? Is it _bad_ of me to provide cursory review comments that try and steer towards maintaining clean, ordered lists? Am I making your job more difficult in any way? Sincerely, Karl P ok agreed, with ar71xx we already have alphabetic order. maybe we should just bite the bullet, sort the ramips scripts and thus also enforcing the ordering on this target ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH] ramips: adding support for OY-0001 Wireless Router
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John Crispin blo...@openwrt.org wrote: On 10/07/2015 13:27, Karl Palsson wrote: Isn't this normally called the OYE-0001 ? not OY-0001 ? The website and all literature I've seen uses the OYE-0001 name... Regardless, in many places, you have not followed the existing alphabetical order. there never has been an alphabetic order requirement and many entries are not alphabetically sorted Lots of requirements have never been written down I'm sure. Most of the files are generally well sorted. Would you rather they were not sorted? Is it _bad_ of me to provide cursory review comments that try and steer towards maintaining clean, ordered lists? Am I making your job more difficult in any way? Sincerely, Karl P -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAEBAgAGBQJVn+JuAAoJEBmotQ/U1cr2IvsP/3RuqMrpDndd5/4gK9V09TKD f0rOZFAs9AEFx2wo2nGF0g2KQfXYmljZYjby+wWctRrDvr0hqggdvUyq7vpZ+f6v H0UKTBeJtnMUOMoNpMMmma1anJ7cczB4CkKGmcxaKd6DRGg7ZgPXvyUoNc2EBaVE PY97ylEDcahOuiomYHXMz0F7OLCCjn87DIyoaTRNbxKfJPl+l/dAONGcerQx7jR/ tFdn0Kqn72+7kd+n6mwA3DStdm/2aKgFXLf04kQKAGPnOA9m/ewCJx67wt85VGz4 /zXBot8gJ9q0/SpPUdkRwuwFTNfmDOtDdl9eQwSqts8RXBFo6AcwGAbfhyORiK5I CPXvAbiqbgXuAEWY52ZHjEEM3pnZD7DZh1aZgqdtDeNNLKSb5HkuIEpTJDD6WTKa g9+q6cBO4BMrzmwprrsHdiTO8kmxK8V7S8+IAP133L77hWKwqMWGsf2mIMWq/GZd FTYX83aZkbmV4K1000NDP0haP2Rsu7x9czCCY7FlVPevZSLuXymVO97ueTYMUTDG r2rf3GllKbp0hAUYvu1EsO9AmTJxhTyB9ohw44qmZkfnD6vGRpIQ6WURWHWOxkNZ OxVKD+16ocBL55bWzv16Y+I0vPLf8zzPfSAuAdLnw6MNthNqPWHRAiKOFFgJRfpS Sd11hTjsJycTuqk4KQRw =7hgb -END PGP SIGNATURE- ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] ramips: adding support for OY-0001 Wireless Router
From: Tom Deng 2579131...@qq.com Adding support for OY-0001 Wireless Router. OY-0001 is a wireless router made by oyewifi.com. Below is the details: MT7620A, 128MB DDR2, 16MB FLASH, SD Slot, USB 2.0, 4 x LAN + 1 x WAN. Signed-off-by: Tom Deng 2579131...@qq.com --- diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds index 545bd70..fe3a79d 100755 --- a/target/linux/ramips/base-files/etc/board.d/01_leds +++ b/target/linux/ramips/base-files/etc/board.d/01_leds @@ -238,6 +238,10 @@ case $board in set_wifi_led zbtlink:blue:air set_usb_led zbtlink:blue:usb ;; + oy-0001) + ucidef_set_led_default power power oy:green:power 1 + set_wifi_led oy:green:wifi + ;; wr8305rt) ucidef_set_led_default power power wr8305rt:sys 1 set_usb_led wr8305rt:usb diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network index bc1fc01..9fb3535 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -139,6 +139,7 @@ ramips_setup_interfaces() mzk-750dhp | \ whr-300hp2 | \ whr-600d | \ + oy-0001 | \ wsr-600 | \ wsr-1166 | \ wt1520 | \ @@ -283,6 +284,11 @@ ramips_setup_macs() wan_mac=$(mtd_get_mac_binary devdata 7) ;; + oy-0001) + lan_mac=$(mtd_get_mac_binary factory 40) + wan_mac=$(mtd_get_mac_binary factory 46) + ;; + w306r-v20) lan_mac=$(cat /sys/class/net/eth0/address) wan_mac=$(macaddr_add $lan_mac 5) diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh index d2a1856..3d40ab9 100755 --- a/target/linux/ramips/base-files/lib/ramips.sh +++ b/target/linux/ramips/base-files/lib/ramips.sh @@ -400,6 +400,9 @@ ramips_board_detect() { *Zbtlink ZBT-WA05) name=zbt-wa05 ;; + *OY-0001) + name=oy-0001 + ;; *ZBT WR8305RT) name=wr8305rt ;; diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh index cedd62b..8f45a84 100755 --- a/target/linux/ramips/base-files/lib/upgrade/platform.sh +++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh @@ -116,6 +116,7 @@ platform_check_image() { wr6202 |\ wr8305rt |\ wrtnode |\ + oy-0001 |\ wt1520 |\ wt3020 |\ x5 |\ diff --git a/target/linux/ramips/dts/OY-0001.dts b/target/linux/ramips/dts/OY-0001.dts new file mode 100644 index 000..48b7099 --- /dev/null +++ b/target/linux/ramips/dts/OY-0001.dts @@ -0,0 +1,123 @@ +/dts-v1/; + +/include/ mt7620a.dtsi + +/ { + compatible = ralink,mt7620a-soc; + model = OY-0001; + +chosen { +bootargs = console=ttyS0,115200; +}; + + palmbus@1000 { + gpio2: gpio@660 { + status = okay; + }; + + gpio3: gpio@688 { + status = okay; + }; + + spi@b00 { + status = okay; + + m25p80@0 { + #address-cells = 1; + #size-cells = 1; + compatible = w25q128; + reg = 0 0; + linux,modalias = m25p80, w25q128; + spi-max-frequency = 1000; + + partition@0 { + label = u-boot; + reg = 0x0 0x3; + read-only; + }; + + partition@3 { + label = u-boot-env; + reg = 0x3 0x1; + read-only; + }; + + factory: partition@4 { + label = factory; + reg = 0x4 0x1; + read-only; + }; + + partition@5 { + label = firmware; + reg = 0x5 0xfb; + }; + + }; + }; + }; + + pinctrl { + state_default: pinctrl0 { + gpio { + ralink,group = i2c, uartf,
Re: [OpenWrt-Devel] [PATCH] ramips: adding support for OY-0001 Wireless Router
Hi, unfortunatley your patch is against an old version of the tree On 06/07/2015 09:24, LiWeijian wrote: diff --git a/target/linux/ramips/base-files/etc/uci-defaults/01_leds b/target/linux/ramips/base-files/etc/uci-defaults/01_leds index 5d6ed2b..265525a 100755 --- a/target/linux/ramips/base-files/etc/uci-defaults/01_leds +++ b/target/linux/ramips/base-files/etc/uci-defaults/01_leds this file no longer exists in the tree. the functionality was moved to /etc/board.d/*. can you please resend a version against current HEAD John ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] ramips: adding support for OY-0001 Wireless Router
From: Tom Deng 2579131...@qq.com Adding support for OY-0001 Wireless Router. OY-0001 is a wireless router made by oyewifi.com. Below is the details: MT7620A, 128MB DDR2, 16MB FLASH, SD Slot, USB 2.0, 4 x LAN + 1 x WAN. Signed-off-by: Tom Deng 2579131...@qq.com --- diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh index 74b8867..35a64dd 100755 --- a/target/linux/ramips/base-files/etc/diag.sh +++ b/target/linux/ramips/base-files/etc/diag.sh @@ -186,6 +186,9 @@ get_status_led() { f7c027) status_led=belkin:orange:status ;; + oy-0001) + status_led=oy:green:wifi + ;; na930) status_led=na930:blue:power ;; diff --git a/target/linux/ramips/base-files/etc/uci-defaults/01_leds b/target/linux/ramips/base-files/etc/uci-defaults/01_leds index 5d6ed2b..265525a 100755 --- a/target/linux/ramips/base-files/etc/uci-defaults/01_leds +++ b/target/linux/ramips/base-files/etc/uci-defaults/01_leds @@ -199,6 +199,10 @@ case $board in set_wifi_led zbtlink:blue:air set_usb_led zbtlink:blue:usb ;; + oy-0001) + ucidef_set_led_default power power oy:green:power 1 + set_wifi_led oy:green:wifi + ;; wr8305rt) ucidef_set_led_default power power wr8305rt:sys 1 set_usb_led wr8305rt:usb diff --git a/target/linux/ramips/base-files/etc/uci-defaults/02_network b/target/linux/ramips/base-files/etc/uci-defaults/02_network index c3ea489..b847a1b 100755 --- a/target/linux/ramips/base-files/etc/uci-defaults/02_network +++ b/target/linux/ramips/base-files/etc/uci-defaults/02_network @@ -104,6 +104,7 @@ ramips_setup_interfaces() dir-615-h1 | \ hlk-rm04 | \ mzk-w300nh2 | \ + oy-0001 | \ mzk-750dhp) ucidef_set_interfaces_lan_wan eth0.1 eth0.2 ucidef_add_switch switch0 1 1 @@ -221,6 +222,11 @@ ramips_setup_macs() wan_mac=$(mtd_get_mac_binary devdata 7) ;; + oy-0001) + lan_mac=$(mtd_get_mac_binary factory 40) + wan_mac=$(mtd_get_mac_binary factory 46) + ;; + w306r-v20) lan_mac=$(cat /sys/class/net/eth0/address) wan_mac=$(macaddr_add $lan_mac 5) diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh index fd03423..f95adc5 100755 --- a/target/linux/ramips/base-files/lib/ramips.sh +++ b/target/linux/ramips/base-files/lib/ramips.sh @@ -325,6 +325,9 @@ ramips_board_detect() { *Zbtlink ZBT-WA05) name=zbt-wa05 ;; + *OY-0001) + name=oy-0001 + ;; *ZBT WR8305RT) name=wr8305rt ;; diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh index ba69a89..ad35f9d 100755 --- a/target/linux/ramips/base-files/lib/upgrade/platform.sh +++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh @@ -96,6 +96,7 @@ platform_check_image() { wmr300 |\ wr8305rt |\ wrtnode |\ + oy-0001 |\ x5 |\ x8 |\ zbt-wa05 |\ diff --git a/target/linux/ramips/dts/OY-0001.dts b/target/linux/ramips/dts/OY-0001.dts new file mode 100644 index 000..48b7099 --- /dev/null +++ b/target/linux/ramips/dts/OY-0001.dts @@ -0,0 +1,123 @@ +/dts-v1/; + +/include/ mt7620a.dtsi + +/ { + compatible = ralink,mt7620a-soc; + model = OY-0001; + +chosen { +bootargs = console=ttyS0,115200; +}; + + palmbus@1000 { + gpio2: gpio@660 { + status = okay; + }; + + gpio3: gpio@688 { + status = okay; + }; + + spi@b00 { + status = okay; + + m25p80@0 { + #address-cells = 1; + #size-cells = 1; + compatible = w25q128; + reg = 0 0; + linux,modalias = m25p80, w25q128; + spi-max-frequency = 1000; + + partition@0 { + label = u-boot; + reg = 0x0 0x3; + read-only; + }; + + partition@3 { + label = u-boot-env; + reg = 0x3 0x1; + read-only; + }; + + factory: partition@4 { +