* [PATCH] riscv: dts: spacemit: k1: fix the EEPROM page size
@ 2026-11-23 4:41 Zixian Zeng
2026-11-23 4:48 ` sashiko-bot
` (2 more replies)
0 siblings, 3 replies; 11+ messages in thread
From: Zixian Zeng @ 2026-11-23 4:41 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Yixun Lan,
Troy Mitchell, Paul Walmsley, Palmer Dabbelt, Albert Ou,
Alexandre Ghiti, Aurelien Jarno, Vivian Wang, Junhui Liu,
Michael Opdenacker
Cc: Zixian Zeng, devicetree, linux-riscv, spacemit
The bananapi-f3 carries an AT24C02 compatible EEPROM GT24C02B [1]:
256 bytes with an 8-byte write page, which can be found in schematic[2].
The device tree declares pagesize = <16>, which does not match the
eeprom chip datasheet which declares pagesize 8 bytes.
EEPROM pagesize of k1-bananapi-cm6-io[3] and k1-orangepi-rv2[4] changed
together, based on the chip model shown in the schematic diagram.
The TLV EEPROM on this board holds the base MAC address and the MAC count,
so a corrupted write leaves both Ethernet ports without a MAC address,
which is how this was found.
Link: https://www.giantec-semi.com/uploads/20230414/GT24C02B.pdf [1]
Link: https://drive.google.com/file/d/19iLJ5xnCB_oK8VeQjkPGjzAn39WYyylv/view?usp=sharing [2]
Link: https://pan.baidu.com/s/13UTY_qM4gGuVxsZ9U7_Xpw?pwd=8888 [3]
Link: https://drive.google.com/drive/folders/1pcI_U0C3VJKTCg8A1zj08CwNbohnONSR?usp=sharing [4]
Fixes: bfce75e2345f ("riscv: dts: spacemit: add 24c02 eeprom on BPI-F3")
Fixes: 46a8c01700ac ("riscv: dts: spacemit: k1: Add Banana Pi BPI-CM6 IO board")
Fixes: ac436e6879f5 ("riscv: dts: spacemit: enable onboard eeprom for OrangePi")
Signed-off-by: Zixian Zeng <sycamoremoon376@gmail.com>
---
A TLV write through u-boot's i2c_eeprom driver scrambled the EEPROM
contents and left both ports without a MAC address on bananapi-f3.
I checked boards schematic and eeprom chip datasheet of bananapi-f3,
whose links can be found in commit message. After changing pagesize
to 8, TLV write and read works as expected.
Other k1 boards which includes k1-bananapi-cm6-io and k1-orangepi-rv2
changed together. However, I don’t have these two board. Be grateful
if someone could test it. Schematic of k1-orangepi-r2s not found,
so keep it as it is, but true knowledge comes from practice.
---
arch/riscv/boot/dts/spacemit/k1-bananapi-cm6-io.dts | 2 +-
arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dts | 2 +-
arch/riscv/boot/dts/spacemit/k1-orangepi-rv2.dts | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/riscv/boot/dts/spacemit/k1-bananapi-cm6-io.dts b/arch/riscv/boot/dts/spacemit/k1-bananapi-cm6-io.dts
index 2c2d78aee98a..23a1323df30d 100644
--- a/arch/riscv/boot/dts/spacemit/k1-bananapi-cm6-io.dts
+++ b/arch/riscv/boot/dts/spacemit/k1-bananapi-cm6-io.dts
@@ -101,7 +101,7 @@ eeprom@54 {
compatible = "atmel,24c08";
reg = <0x54>;
vcc-supply = <&buck3_1v8>;
- pagesize = <16>;
+ pagesize = <8>;
size = <1024>;
};
};
diff --git a/arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dts b/arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dts
index 58035d886bf6..1db896536256 100644
--- a/arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dts
+++ b/arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dts
@@ -195,7 +195,7 @@ eeprom@50 {
compatible = "atmel,24c02";
reg = <0x50>;
vcc-supply = <&buck3_1v8>; /* EEPROM_VCC1V8 */
- pagesize = <16>;
+ pagesize = <8>;
read-only;
size = <256>;
diff --git a/arch/riscv/boot/dts/spacemit/k1-orangepi-rv2.dts b/arch/riscv/boot/dts/spacemit/k1-orangepi-rv2.dts
index 790234f3550a..8fd95c8f9db2 100644
--- a/arch/riscv/boot/dts/spacemit/k1-orangepi-rv2.dts
+++ b/arch/riscv/boot/dts/spacemit/k1-orangepi-rv2.dts
@@ -185,7 +185,7 @@ &i2c2 {
eeprom@50 {
compatible = "atmel,24c02";
reg = <0x50>;
- pagesize = <16>;
+ pagesize = <8>;
size = <256>;
read-only;
vcc-supply = <&buck3_1v8>;
---
base-commit: 4843f6873f7c4835e62f2c73ba0fd538e57a2f22
change-id: 20261122-fix-bpf3-eeprom-51ba6e0f110a
Best regards,
--
Zixian Zeng <sycamoremoon376@gmail.com>
^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [PATCH] riscv: dts: spacemit: k1: fix the EEPROM page size
2026-11-23 4:41 [PATCH] riscv: dts: spacemit: k1: fix the EEPROM page size Zixian Zeng
@ 2026-11-23 4:48 ` sashiko-bot
2026-11-23 21:58 ` Aurelien Jarno
2026-11-24 1:00 ` Troy Mitchell
2 siblings, 0 replies; 11+ messages in thread
From: sashiko-bot @ 2026-11-23 4:48 UTC (permalink / raw)
To: Zixian Zeng; +Cc: devicetree, robh, conor+dt
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Medium] riscv: dts: spacemit: wrong EEPROM node updated on BPI-CM6 IO
--
commit 2ab11d07395f6ea4127a5f2a679e6b875d4bd75b
Author: Zixian Zeng <sycamoremoon376@gmail.com>
riscv: dts: spacemit: k1: fix the EEPROM page size
This commit updates the EEPROM pagesize property from 16 to 8 across
three SpacemiT K1 board device trees.
Link: https://www.giantec-semi.com/uploads/20230414/GT24C02B.pdf [1]
Link: https://drive.google.com/file/d/19iLJ5xnCB_oK8VeQjkPGjzAn39WYyylv/view?usp=sharing [2]
Link: https://pan.baidu.com/s/13UTY_qM4gGuVxsZ9U7_Xpw?pwd=8888 [3]
Link: https://drive.google.com/drive/folders/1pcI_U0C3VJKTCg8A1zj08CwNbohnONSR?usp=sharing [4]
> diff --git a/arch/riscv/boot/dts/spacemit/k1-bananapi-cm6-io.dts b/arch/riscv/boot/dts/spacemit/k1-bananapi-cm6-io.dts
> index 2c2d78aee98aa..23a1323df30d9 100644
> --- a/arch/riscv/boot/dts/spacemit/k1-bananapi-cm6-io.dts
> +++ b/arch/riscv/boot/dts/spacemit/k1-bananapi-cm6-io.dts
> @@ -101,7 +101,7 @@ eeprom@54 {
> compatible = "atmel,24c08";
> reg = <0x54>;
> vcc-supply = <&buck3_1v8>;
> - pagesize = <16>;
> + pagesize = <8>;
> size = <1024>;
> };
> };
[Severity: Medium]
Should this change update eeprom@50 in k1-bananapi-cm6.dtsi instead of
eeprom@54 here?
Commit 46a8c01700ac ("riscv: dts: spacemit: k1: Add Banana Pi BPI-CM6 IO
board") added two EEPROMs: eeprom@54 on the IO carrier board is a
1024-byte 24c08 (which uses 16-byte write pages), whereas the 256-byte
24c02 ONIE TLV EEPROM storing the MAC addresses lives in
arch/riscv/boot/dts/spacemit/k1-bananapi-cm6.dtsi as eeprom@50 and still
has pagesize = <16>.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261123-fix-bpf3-eeprom-v1-1-df8cce6ef2b5@gmail.com?part=1
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH] riscv: dts: spacemit: k1: fix the EEPROM page size
2026-11-23 4:41 [PATCH] riscv: dts: spacemit: k1: fix the EEPROM page size Zixian Zeng
2026-11-23 4:48 ` sashiko-bot
@ 2026-11-23 21:58 ` Aurelien Jarno
2026-11-24 3:31 ` Zixian Zeng
2026-11-24 1:00 ` Troy Mitchell
2 siblings, 1 reply; 11+ messages in thread
From: Aurelien Jarno @ 2026-11-23 21:58 UTC (permalink / raw)
To: Zixian Zeng
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Yixun Lan,
Troy Mitchell, Paul Walmsley, Palmer Dabbelt, Albert Ou,
Alexandre Ghiti, Vivian Wang, Junhui Liu, Michael Opdenacker,
devicetree, linux-riscv, spacemit
Hi,
On 2026-11-23 12:41, Zixian Zeng wrote:
> The bananapi-f3 carries an AT24C02 compatible EEPROM GT24C02B [1]:
> 256 bytes with an 8-byte write page, which can be found in schematic[2].
> The device tree declares pagesize = <16>, which does not match the
> eeprom chip datasheet which declares pagesize 8 bytes.
Oops, I am not sure how I got that wrong. Sorry about that.
> EEPROM pagesize of k1-bananapi-cm6-io[3] and k1-orangepi-rv2[4] changed
> together, based on the chip model shown in the schematic diagram.
The k1-milkv-jupiter board is also affected with the same issue, despite
using a slightly different EEPROM (24C04).
> The TLV EEPROM on this board holds the base MAC address and the MAC count,
> so a corrupted write leaves both Ethernet ports without a MAC address,
> which is how this was found.
>
> Link: https://www.giantec-semi.com/uploads/20230414/GT24C02B.pdf [1]
> Link: https://drive.google.com/file/d/19iLJ5xnCB_oK8VeQjkPGjzAn39WYyylv/view?usp=sharing [2]
> Link: https://pan.baidu.com/s/13UTY_qM4gGuVxsZ9U7_Xpw?pwd=8888 [3]
> Link: https://drive.google.com/drive/folders/1pcI_U0C3VJKTCg8A1zj08CwNbohnONSR?usp=sharing [4]
> Fixes: bfce75e2345f ("riscv: dts: spacemit: add 24c02 eeprom on BPI-F3")
> Fixes: 46a8c01700ac ("riscv: dts: spacemit: k1: Add Banana Pi BPI-CM6 IO board")
> Fixes: ac436e6879f5 ("riscv: dts: spacemit: enable onboard eeprom for OrangePi")
> Signed-off-by: Zixian Zeng <sycamoremoon376@gmail.com>
Thanks for fixing that.
Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
--
Aurelien Jarno GPG: 4096R/1DDD8C9B
aurelien@aurel32.net http://aurel32.net
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH] riscv: dts: spacemit: k1: fix the EEPROM page size
2026-11-23 4:41 [PATCH] riscv: dts: spacemit: k1: fix the EEPROM page size Zixian Zeng
2026-11-23 4:48 ` sashiko-bot
2026-11-23 21:58 ` Aurelien Jarno
@ 2026-11-24 1:00 ` Troy Mitchell
2 siblings, 0 replies; 11+ messages in thread
From: Troy Mitchell @ 2026-11-24 1:00 UTC (permalink / raw)
To: Zixian Zeng, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Yixun Lan, Troy Mitchell, Paul Walmsley, Palmer Dabbelt,
Albert Ou, Alexandre Ghiti, Aurelien Jarno, Vivian Wang,
Junhui Liu, Michael Opdenacker
Cc: devicetree, linux-riscv, spacemit
[-- Attachment #1: Type: text/plain, Size: 1391 bytes --]
On Mon Nov 23, 2026 at 4:41 AM GMT, Zixian Zeng wrote:
> The bananapi-f3 carries an AT24C02 compatible EEPROM GT24C02B [1]:
> 256 bytes with an 8-byte write page, which can be found in schematic[2].
> The device tree declares pagesize = <16>, which does not match the
> eeprom chip datasheet which declares pagesize 8 bytes.
> EEPROM pagesize of k1-bananapi-cm6-io[3] and k1-orangepi-rv2[4] changed
> together, based on the chip model shown in the schematic diagram.
>
> The TLV EEPROM on this board holds the base MAC address and the MAC count,
> so a corrupted write leaves both Ethernet ports without a MAC address,
> which is how this was found.
>
> Link: https://www.giantec-semi.com/uploads/20230414/GT24C02B.pdf [1]
> Link: https://drive.google.com/file/d/19iLJ5xnCB_oK8VeQjkPGjzAn39WYyylv/view?usp=sharing [2]
> Link: https://pan.baidu.com/s/13UTY_qM4gGuVxsZ9U7_Xpw?pwd=8888 [3]
> Link: https://drive.google.com/drive/folders/1pcI_U0C3VJKTCg8A1zj08CwNbohnONSR?usp=sharing [4]
> Fixes: bfce75e2345f ("riscv: dts: spacemit: add 24c02 eeprom on BPI-F3")
> Fixes: 46a8c01700ac ("riscv: dts: spacemit: k1: Add Banana Pi BPI-CM6 IO board")
> Fixes: ac436e6879f5 ("riscv: dts: spacemit: enable onboard eeprom for OrangePi")
> Signed-off-by: Zixian Zeng <sycamoremoon376@gmail.com>
Reviewed-by: Troy Mitchell <troy.mitchell@linux.spacemit.com>
--
Troy Mitchell
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 273 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH] riscv: dts: spacemit: k1: fix the EEPROM page size
2026-11-23 21:58 ` Aurelien Jarno
@ 2026-11-24 3:31 ` Zixian Zeng
2026-11-24 18:15 ` Aurelien Jarno
0 siblings, 1 reply; 11+ messages in thread
From: Zixian Zeng @ 2026-11-24 3:31 UTC (permalink / raw)
To: Aurelien Jarno
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Yixun Lan,
Troy Mitchell, Paul Walmsley, Palmer Dabbelt, Albert Ou,
Alexandre Ghiti, Vivian Wang, Junhui Liu, Michael Opdenacker,
devicetree, linux-riscv, spacemit
Hi Aurelien,
On 2026/11/24 5:58, Aurelien Jarno wrote:
> Hi,
>
> On 2026-11-23 12:41, Zixian Zeng wrote:
>> The bananapi-f3 carries an AT24C02 compatible EEPROM GT24C02B [1]:
>> 256 bytes with an 8-byte write page, which can be found in schematic[2].
>> The device tree declares pagesize = <16>, which does not match the
>> eeprom chip datasheet which declares pagesize 8 bytes.
>
> Oops, I am not sure how I got that wrong. Sorry about that.
>
>> EEPROM pagesize of k1-bananapi-cm6-io[3] and k1-orangepi-rv2[4] changed
>> together, based on the chip model shown in the schematic diagram.
>
> The k1-milkv-jupiter board is also affected with the same issue, despite
> using a slightly different EEPROM (24C04).
>
The GT24C04A EEPROM used on k1-milkv-jupiter board doesn't seem to have
the same issue, which you can find "Page Size: 16 bytes" in datasheet:
https://www.giantec-semi.com/uploads/20220929/GT24C04A.pdf
But I don't have the board, simple test would be appreciated. Perhaps I
should include test steps in the commit message for the next revision.
Best regards,
Zixian
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH] riscv: dts: spacemit: k1: fix the EEPROM page size
2026-11-24 3:31 ` Zixian Zeng
@ 2026-11-24 18:15 ` Aurelien Jarno
2026-11-25 7:52 ` Anand Moon
0 siblings, 1 reply; 11+ messages in thread
From: Aurelien Jarno @ 2026-11-24 18:15 UTC (permalink / raw)
To: Zixian Zeng
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Yixun Lan,
Troy Mitchell, Paul Walmsley, Palmer Dabbelt, Albert Ou,
Alexandre Ghiti, Vivian Wang, Junhui Liu, Michael Opdenacker,
devicetree, linux-riscv, spacemit
Hi Zixian,
On 2026-11-24 11:31, Zixian Zeng wrote:
> Hi Aurelien,
>
> On 2026/11/24 5:58, Aurelien Jarno wrote:
> > Hi,
> >
> > On 2026-11-23 12:41, Zixian Zeng wrote:
> > > The bananapi-f3 carries an AT24C02 compatible EEPROM GT24C02B [1]:
> > > 256 bytes with an 8-byte write page, which can be found in schematic[2].
> > > The device tree declares pagesize = <16>, which does not match the
> > > eeprom chip datasheet which declares pagesize 8 bytes.
> >
> > Oops, I am not sure how I got that wrong. Sorry about that.
The question of the page size has been raised in the initial review [1],
and it seems that the GT24C02 has a 16-byte page size, while the
GT24C02B [2] has a 8-byte page size. The BPI-F3 schematics confirms that
the B version is used. Sorry about the mistake.
> > > EEPROM pagesize of k1-bananapi-cm6-io[3] and k1-orangepi-rv2[4] changed
> > > together, based on the chip model shown in the schematic diagram.
> >
> > The k1-milkv-jupiter board is also affected with the same issue, despite
> > using a slightly different EEPROM (24C04).
> >
>
> The GT24C04A EEPROM used on k1-milkv-jupiter board doesn't seem to have
> the same issue, which you can find "Page Size: 16 bytes" in datasheet:
> https://www.giantec-semi.com/uploads/20220929/GT24C04A.pdf
Indeed you are correct, and I confirm that this is the exact version
used on the schematics. Therefore there is no need to extend your patch,
it can be merged that way.
> But I don't have the board, simple test would be appreciated. Perhaps I
> should include test steps in the commit message for the next revision.
Unfortunately the board has the EEPROM write protection pin connected to
VCC, which means the write protection is enabled. Therefore testing is
not so easy.
Regards
Aurelien
[1] https://lore.kernel.org/linux-riscv/aNLzRJcKCYOngc7z@aurel32.net/
[2] https://www.giantec-semi.com/juchen1123/uploads/pdf/GT24C02_DS_Au.pdf
--
Aurelien Jarno GPG: 4096R/1DDD8C9B
aurelien@aurel32.net http://aurel32.net
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH] riscv: dts: spacemit: k1: fix the EEPROM page size
2026-11-24 18:15 ` Aurelien Jarno
@ 2026-11-25 7:52 ` Anand Moon
2026-11-25 9:38 ` Zixian Zeng
2026-11-25 17:28 ` Aurelien Jarno
0 siblings, 2 replies; 11+ messages in thread
From: Anand Moon @ 2026-11-25 7:52 UTC (permalink / raw)
To: Aurelien Jarno
Cc: Zixian Zeng, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Yixun Lan, Troy Mitchell, Paul Walmsley, Palmer Dabbelt,
Albert Ou, Alexandre Ghiti, Vivian Wang, Junhui Liu,
Michael Opdenacker, devicetree, linux-riscv, spacemit
Hi Aurelien,
On Wed, 25 Nov 2026 at 00:14, Aurelien Jarno <aurelien@aurel32.net> wrote:
>
> Hi Zixian,
>
> On 2026-11-24 11:31, Zixian Zeng wrote:
> > Hi Aurelien,
> >
> > On 2026/11/24 5:58, Aurelien Jarno wrote:
> > > Hi,
> > >
> > > On 2026-11-23 12:41, Zixian Zeng wrote:
> > > > The bananapi-f3 carries an AT24C02 compatible EEPROM GT24C02B [1]:
> > > > 256 bytes with an 8-byte write page, which can be found in schematic[2].
> > > > The device tree declares pagesize = <16>, which does not match the
> > > > eeprom chip datasheet which declares pagesize 8 bytes.
> > >
> > > Oops, I am not sure how I got that wrong. Sorry about that.
>
> The question of the page size has been raised in the initial review [1],
> and it seems that the GT24C02 has a 16-byte page size, while the
> GT24C02B [2] has a 8-byte page size. The BPI-F3 schematics confirms that
> the B version is used. Sorry about the mistake.
>
> > > > EEPROM pagesize of k1-bananapi-cm6-io[3] and k1-orangepi-rv2[4] changed
> > > > together, based on the chip model shown in the schematic diagram.
> > >
> > > The k1-milkv-jupiter board is also affected with the same issue, despite
> > > using a slightly different EEPROM (24C04).
> > >
> >
> > The GT24C04A EEPROM used on k1-milkv-jupiter board doesn't seem to have
> > the same issue, which you can find "Page Size: 16 bytes" in datasheet:
> > https://www.giantec-semi.com/uploads/20220929/GT24C04A.pdf
>
> Indeed you are correct, and I confirm that this is the exact version
> used on the schematics. Therefore there is no need to extend your patch,
> it can be merged that way.
>
> > But I don't have the board, simple test would be appreciated. Perhaps I
> > should include test steps in the commit message for the next revision.
>
> Unfortunately the board has the EEPROM write protection pin connected to
> VCC, which means the write protection is enabled. Therefore testing is
> not so easy.
>
> Regards
> Aurelien
>
> [1] https://lore.kernel.org/linux-riscv/aNLzRJcKCYOngc7z@aurel32.net/
> [2] https://www.giantec-semi.com/juchen1123/uploads/pdf/GT24C02_DS_Au.pdf
>
Apologies, this is a different issue.
I am currently working on enabling multi-DTB support in U-Boot SPL
for SpacemiT K1 boards.
While investigating the board detection issue, I noticed that the EEPROM
on my Banana Pi BPI-F3 does not contain a Product Name TLV entry.
alarm@k1:~$ sudo hexdump -C /sys/bus/i2c/devices/2-0050/eeprom
00000000 54 6c 76 49 6e 66 6f 00 01 00 20 24 06 fe fe fe |TlvInfo... $....|
00000010 d5 52 bd 2a 02 00 02 23 0c 39 38 61 39 63 33 61 |.R.*...#.98a9c3a|
00000020 32 62 64 34 37 fe 04 3b e3 ff bd ff ff ff ff ff |2bd47..;........|
00000030 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
*
00000100
Although the EEPROM is readable, the missing Product Name TLV entry
explains why read_product_name() returns `-ENOENT` (-2), assuming the
EEPROM read and validation succeed.
Consequently, automatic board detection fails, and U-Boot falls back to
CONFIG_DEFAULT_DEVICE_TREE, which may select an incorrect device
tree for the target board.
Since the SD card-detect GPIO polarity differs between the Banana Pi BPI-F3
and MusePi Pro, selecting the incorrect device tree can result in SD
card detection
and boot failures.
The following SPL boot log shows the board detection failure, although
DDR initialization completes successfully:
```
U-Boot SPL 2026.10-01060-gf3080abcfe92-dirty (Oct 24 2026 - 17:30:03 +0530)
Fail to detect board:-2
vdd_core, value:900000
vdd_1v8, value:1800000
vdd_1v8_mmc, value:1800000
DDR firmware: [0xc0820900]:0xf0227179, size:0x8d98
DDR is ready
```
Could you please confirm whether the Product Name TLV entry is
expected to be programmed into the EEPROM during manufacturing?
Also, is there a recommended approach for handling boards with missing
product information in the EEPROM to ensure reliable automatic device
tree selection?
> --
> Aurelien Jarno GPG: 4096R/1DDD8C9B
> aurelien@aurel32.net http://aurel32.net
>
Thanks
-Anand
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH] riscv: dts: spacemit: k1: fix the EEPROM page size
2026-11-25 7:52 ` Anand Moon
@ 2026-11-25 9:38 ` Zixian Zeng
2026-11-25 14:21 ` Anand Moon
2026-11-25 17:28 ` Aurelien Jarno
1 sibling, 1 reply; 11+ messages in thread
From: Zixian Zeng @ 2026-11-25 9:38 UTC (permalink / raw)
To: Anand Moon
Cc: Aurelien Jarno, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Yixun Lan, Troy Mitchell, Paul Walmsley, Palmer Dabbelt,
Albert Ou, Alexandre Ghiti, Vivian Wang, Junhui Liu,
Michael Opdenacker, devicetree, linux-riscv, spacemit
Hi Anand,
On Wed, Nov 25, 2026 at 3:52 PM Anand Moon <linux.amoon@gmail.com> wrote:
>
> Hi Aurelien,
>
> On Wed, 25 Nov 2026 at 00:14, Aurelien Jarno <aurelien@aurel32.net> wrote:
> >
> > Hi Zixian,
> >
> > On 2026-11-24 11:31, Zixian Zeng wrote:
> > > Hi Aurelien,
> > >
> > > On 2026/11/24 5:58, Aurelien Jarno wrote:
> > > > Hi,
> > > >
> > > > On 2026-11-23 12:41, Zixian Zeng wrote:
> > > > > The bananapi-f3 carries an AT24C02 compatible EEPROM GT24C02B [1]:
> > > > > 256 bytes with an 8-byte write page, which can be found in schematic[2].
> > > > > The device tree declares pagesize = <16>, which does not match the
> > > > > eeprom chip datasheet which declares pagesize 8 bytes.
> > > >
> > > > Oops, I am not sure how I got that wrong. Sorry about that.
> >
> > The question of the page size has been raised in the initial review [1],
> > and it seems that the GT24C02 has a 16-byte page size, while the
> > GT24C02B [2] has a 8-byte page size. The BPI-F3 schematics confirms that
> > the B version is used. Sorry about the mistake.
> >
> > > > > EEPROM pagesize of k1-bananapi-cm6-io[3] and k1-orangepi-rv2[4] changed
> > > > > together, based on the chip model shown in the schematic diagram.
> > > >
> > > > The k1-milkv-jupiter board is also affected with the same issue, despite
> > > > using a slightly different EEPROM (24C04).
> > > >
> > >
> > > The GT24C04A EEPROM used on k1-milkv-jupiter board doesn't seem to have
> > > the same issue, which you can find "Page Size: 16 bytes" in datasheet:
> > > https://www.giantec-semi.com/uploads/20220929/GT24C04A.pdf
> >
> > Indeed you are correct, and I confirm that this is the exact version
> > used on the schematics. Therefore there is no need to extend your patch,
> > it can be merged that way.
> >
> > > But I don't have the board, simple test would be appreciated. Perhaps I
> > > should include test steps in the commit message for the next revision.
> >
> > Unfortunately the board has the EEPROM write protection pin connected to
> > VCC, which means the write protection is enabled. Therefore testing is
> > not so easy.
> >
> > Regards
> > Aurelien
> >
> > [1] https://lore.kernel.org/linux-riscv/aNLzRJcKCYOngc7z@aurel32.net/
> > [2] https://www.giantec-semi.com/juchen1123/uploads/pdf/GT24C02_DS_Au.pdf
> >
> Apologies, this is a different issue.
>
> I am currently working on enabling multi-DTB support in U-Boot SPL
> for SpacemiT K1 boards.
>
> While investigating the board detection issue, I noticed that the EEPROM
> on my Banana Pi BPI-F3 does not contain a Product Name TLV entry.
>
> alarm@k1:~$ sudo hexdump -C /sys/bus/i2c/devices/2-0050/eeprom
> 00000000 54 6c 76 49 6e 66 6f 00 01 00 20 24 06 fe fe fe |TlvInfo... $....|
> 00000010 d5 52 bd 2a 02 00 02 23 0c 39 38 61 39 63 33 61 |.R.*...#.98a9c3a|
> 00000020 32 62 64 34 37 fe 04 3b e3 ff bd ff ff ff ff ff |2bd47..;........|
> 00000030 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
> *
> 00000100
>
> Although the EEPROM is readable, the missing Product Name TLV entry
> explains why read_product_name() returns `-ENOENT` (-2), assuming the
> EEPROM read and validation succeed.
>
> Consequently, automatic board detection fails, and U-Boot falls back to
> CONFIG_DEFAULT_DEVICE_TREE, which may select an incorrect device
> tree for the target board.
Yes, exactly. I encountered the same problem. Board detect failed and then used
default device tree (MusePi Pro).
> Since the SD card-detect GPIO polarity differs between the Banana Pi BPI-F3
> and MusePi Pro, selecting the incorrect device tree can result in SD
> card detection
> and boot failures.
>
> The following SPL boot log shows the board detection failure, although
> DDR initialization completes successfully:
>
> ```
> U-Boot SPL 2026.10-01060-gf3080abcfe92-dirty (Oct 24 2026 - 17:30:03 +0530)
> Fail to detect board:-2
> vdd_core, value:900000
> vdd_1v8, value:1800000
> vdd_1v8_mmc, value:1800000
> DDR firmware: [0xc0820900]:0xf0227179, size:0x8d98
> DDR is ready
> ```
> Could you please confirm whether the Product Name TLV entry is
> expected to be programmed into the EEPROM during manufacturing?
Yes, No product name TLV entry in my Bananapi-f3 EEPROM. That's the reason
I wanted to write EEPROM and found this EEPROM pagesize issue.
> Also, is there a recommended approach for handling boards with missing
> product information in the EEPROM to ensure reliable automatic device
> tree selection?
I'm not sure. Currently, after I corrected pagesize, I wrote EEPROM manually:
```
U-Boot SPL 2027.01-rc2-00039-g4cff50f40343
Get board name:k1-x_deb1
vdd_core, value:900000
vdd_1v8, value:1800000
DDR firmware: [0xc081df80]:0xf0227179, size:0x8d98
DDR is ready
No SPI controller (-19)
Trying to boot from MMC2
....
=> tlv_eeprom
TLV: 0
TlvInfo Header:
Id String: TlvInfo
Version: 1
Total Length: 29
TLV Name Code Len Value
-------------------- ---- --- -----
Base MAC Address 0x24 6 FE:FE:FE:90:1E:F0
Product Name 0x21 9 k1-x_deb1
MAC Addresses 0x2A 2 2
CRC-32 0xFE 4 0xA88C93F0
```
Maybe we can discuss this in u-boot mailling list? This is indeed a
separate issue.
Best regards,
Zixian
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH] riscv: dts: spacemit: k1: fix the EEPROM page size
2026-11-25 9:38 ` Zixian Zeng
@ 2026-11-25 14:21 ` Anand Moon
2026-11-25 20:01 ` Andre Heider
0 siblings, 1 reply; 11+ messages in thread
From: Anand Moon @ 2026-11-25 14:21 UTC (permalink / raw)
To: Zixian Zeng
Cc: Aurelien Jarno, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Yixun Lan, Troy Mitchell, Paul Walmsley, Palmer Dabbelt,
Albert Ou, Alexandre Ghiti, Vivian Wang, Junhui Liu,
Michael Opdenacker, devicetree, linux-riscv, spacemit
Hi Zixian,
On Wed, 25 Nov 2026 at 15:08, Zixian Zeng <sycamoremoon376@gmail.com> wrote:
>
> Hi Anand,
>
> On Wed, Nov 25, 2026 at 3:52 PM Anand Moon <linux.amoon@gmail.com> wrote:
> >
> > Hi Aurelien,
> >
> > On Wed, 25 Nov 2026 at 00:14, Aurelien Jarno <aurelien@aurel32.net> wrote:
> > >
> > > Hi Zixian,
> > >
> > > On 2026-11-24 11:31, Zixian Zeng wrote:
> > > > Hi Aurelien,
> > > >
> > > > On 2026/11/24 5:58, Aurelien Jarno wrote:
> > > > > Hi,
> > > > >
> > > > > On 2026-11-23 12:41, Zixian Zeng wrote:
> > > > > > The bananapi-f3 carries an AT24C02 compatible EEPROM GT24C02B [1]:
> > > > > > 256 bytes with an 8-byte write page, which can be found in schematic[2].
> > > > > > The device tree declares pagesize = <16>, which does not match the
> > > > > > eeprom chip datasheet which declares pagesize 8 bytes.
> > > > >
> > > > > Oops, I am not sure how I got that wrong. Sorry about that.
> > >
> > > The question of the page size has been raised in the initial review [1],
> > > and it seems that the GT24C02 has a 16-byte page size, while the
> > > GT24C02B [2] has a 8-byte page size. The BPI-F3 schematics confirms that
> > > the B version is used. Sorry about the mistake.
> > >
> > > > > > EEPROM pagesize of k1-bananapi-cm6-io[3] and k1-orangepi-rv2[4] changed
> > > > > > together, based on the chip model shown in the schematic diagram.
> > > > >
> > > > > The k1-milkv-jupiter board is also affected with the same issue, despite
> > > > > using a slightly different EEPROM (24C04).
> > > > >
> > > >
> > > > The GT24C04A EEPROM used on k1-milkv-jupiter board doesn't seem to have
> > > > the same issue, which you can find "Page Size: 16 bytes" in datasheet:
> > > > https://www.giantec-semi.com/uploads/20220929/GT24C04A.pdf
> > >
> > > Indeed you are correct, and I confirm that this is the exact version
> > > used on the schematics. Therefore there is no need to extend your patch,
> > > it can be merged that way.
> > >
> > > > But I don't have the board, simple test would be appreciated. Perhaps I
> > > > should include test steps in the commit message for the next revision.
> > >
> > > Unfortunately the board has the EEPROM write protection pin connected to
> > > VCC, which means the write protection is enabled. Therefore testing is
> > > not so easy.
> > >
> > > Regards
> > > Aurelien
> > >
> > > [1] https://lore.kernel.org/linux-riscv/aNLzRJcKCYOngc7z@aurel32.net/
> > > [2] https://www.giantec-semi.com/juchen1123/uploads/pdf/GT24C02_DS_Au.pdf
> > >
> > Apologies, this is a different issue.
> >
> > I am currently working on enabling multi-DTB support in U-Boot SPL
> > for SpacemiT K1 boards.
> >
> > While investigating the board detection issue, I noticed that the EEPROM
> > on my Banana Pi BPI-F3 does not contain a Product Name TLV entry.
> >
> > alarm@k1:~$ sudo hexdump -C /sys/bus/i2c/devices/2-0050/eeprom
> > 00000000 54 6c 76 49 6e 66 6f 00 01 00 20 24 06 fe fe fe |TlvInfo... $....|
> > 00000010 d5 52 bd 2a 02 00 02 23 0c 39 38 61 39 63 33 61 |.R.*...#.98a9c3a|
> > 00000020 32 62 64 34 37 fe 04 3b e3 ff bd ff ff ff ff ff |2bd47..;........|
> > 00000030 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
> > *
> > 00000100
> >
> > Although the EEPROM is readable, the missing Product Name TLV entry
> > explains why read_product_name() returns `-ENOENT` (-2), assuming the
> > EEPROM read and validation succeed.
> >
> > Consequently, automatic board detection fails, and U-Boot falls back to
> > CONFIG_DEFAULT_DEVICE_TREE, which may select an incorrect device
> > tree for the target board.
>
> Yes, exactly. I encountered the same problem. Board detect failed and then used
> default device tree (MusePi Pro).
>
> > Since the SD card-detect GPIO polarity differs between the Banana Pi BPI-F3
> > and MusePi Pro, selecting the incorrect device tree can result in SD
> > card detection
> > and boot failures.
> >
> > The following SPL boot log shows the board detection failure, although
> > DDR initialization completes successfully:
> >
> > ```
> > U-Boot SPL 2026.10-01060-gf3080abcfe92-dirty (Oct 24 2026 - 17:30:03 +0530)
> > Fail to detect board:-2
> > vdd_core, value:900000
> > vdd_1v8, value:1800000
> > vdd_1v8_mmc, value:1800000
> > DDR firmware: [0xc0820900]:0xf0227179, size:0x8d98
> > DDR is ready
> > ```
> > Could you please confirm whether the Product Name TLV entry is
> > expected to be programmed into the EEPROM during manufacturing?
>
> Yes, No product name TLV entry in my Bananapi-f3 EEPROM. That's the reason
> I wanted to write EEPROM and found this EEPROM pagesize issue.
>
> > Also, is there a recommended approach for handling boards with missing
> > product information in the EEPROM to ensure reliable automatic device
> > tree selection?
>
> I'm not sure. Currently, after I corrected pagesize, I wrote EEPROM manually:
> ```
> U-Boot SPL 2027.01-rc2-00039-g4cff50f40343
> Get board name:k1-x_deb1
> vdd_core, value:900000
> vdd_1v8, value:1800000
> DDR firmware: [0xc081df80]:0xf0227179, size:0x8d98
> DDR is ready
> No SPI controller (-19)
> Trying to boot from MMC2
> ....
> => tlv_eeprom
> TLV: 0
> TlvInfo Header:
> Id String: TlvInfo
> Version: 1
> Total Length: 29
> TLV Name Code Len Value
> -------------------- ---- --- -----
> Base MAC Address 0x24 6 FE:FE:FE:90:1E:F0
> Product Name 0x21 9 k1-x_deb1
> MAC Addresses 0x2A 2 2
> CRC-32 0xFE 4 0xA88C93F0
> ```
> Maybe we can discuss this in u-boot mailling list? This is indeed a
> separate issue.
Correct, I will raise this issue over there.
Reviewed-by: Anand Moon <linux.amoon@gmail.com>
Tested-by: Anand Moon <linux.amoon@gmail.com>
Can you follow up with the patch to read the MAC address from the EEPROM.
$ git diff .
diff --git a/arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dts
b/arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dts
index 1db896536256..3928a47b7702 100644
--- a/arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dts
+++ b/arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dts
@@ -137,6 +137,8 @@ ð0 {
pinctrl-0 = <&gmac0_cfg>, <&gmac0_clk_ref_cfg>;
rx-internal-delay-ps = <0>;
tx-internal-delay-ps = <0>;
+ nvmem-cells = <&mac_address 0>;
+ nvmem-cell-names = "mac-address";
status = "okay";
mdio-bus {
@@ -160,6 +162,8 @@ ð1 {
pinctrl-0 = <&gmac1_cfg>, <&gmac1_clk_ref_cfg>;
rx-internal-delay-ps = <0>;
tx-internal-delay-ps = <250>;
+ nvmem-cells = <&mac_address 1>;
+ nvmem-cell-names = "mac-address";
status = "okay";
mdio-bus {
@@ -202,7 +206,7 @@ eeprom@50 {
nvmem-layout {
compatible = "onie,tlv-layout";
- mac-address {
+ mac_address: mac-address {
#nvmem-cell-cells = <1>;
};
>
> Best regards,
> Zixian
Thanks
-Anand
^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [PATCH] riscv: dts: spacemit: k1: fix the EEPROM page size
2026-11-25 7:52 ` Anand Moon
2026-11-25 9:38 ` Zixian Zeng
@ 2026-11-25 17:28 ` Aurelien Jarno
1 sibling, 0 replies; 11+ messages in thread
From: Aurelien Jarno @ 2026-11-25 17:28 UTC (permalink / raw)
To: Anand Moon
Cc: Zixian Zeng, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Yixun Lan, Troy Mitchell, Paul Walmsley, Palmer Dabbelt,
Albert Ou, Alexandre Ghiti, Vivian Wang, Junhui Liu,
Michael Opdenacker, devicetree, linux-riscv, spacemit
On 2026-11-25 13:22, Anand Moon wrote:
> Hi Aurelien,
>
> On Wed, 25 Nov 2026 at 00:14, Aurelien Jarno <aurelien@aurel32.net> wrote:
> >
> > Hi Zixian,
> >
> > On 2026-11-24 11:31, Zixian Zeng wrote:
> > > Hi Aurelien,
> > >
> > > On 2026/11/24 5:58, Aurelien Jarno wrote:
> > > > Hi,
> > > >
> > > > On 2026-11-23 12:41, Zixian Zeng wrote:
> > > > > The bananapi-f3 carries an AT24C02 compatible EEPROM GT24C02B [1]:
> > > > > 256 bytes with an 8-byte write page, which can be found in schematic[2].
> > > > > The device tree declares pagesize = <16>, which does not match the
> > > > > eeprom chip datasheet which declares pagesize 8 bytes.
> > > >
> > > > Oops, I am not sure how I got that wrong. Sorry about that.
> >
> > The question of the page size has been raised in the initial review [1],
> > and it seems that the GT24C02 has a 16-byte page size, while the
> > GT24C02B [2] has a 8-byte page size. The BPI-F3 schematics confirms that
> > the B version is used. Sorry about the mistake.
> >
> > > > > EEPROM pagesize of k1-bananapi-cm6-io[3] and k1-orangepi-rv2[4] changed
> > > > > together, based on the chip model shown in the schematic diagram.
> > > >
> > > > The k1-milkv-jupiter board is also affected with the same issue, despite
> > > > using a slightly different EEPROM (24C04).
> > > >
> > >
> > > The GT24C04A EEPROM used on k1-milkv-jupiter board doesn't seem to have
> > > the same issue, which you can find "Page Size: 16 bytes" in datasheet:
> > > https://www.giantec-semi.com/uploads/20220929/GT24C04A.pdf
> >
> > Indeed you are correct, and I confirm that this is the exact version
> > used on the schematics. Therefore there is no need to extend your patch,
> > it can be merged that way.
> >
> > > But I don't have the board, simple test would be appreciated. Perhaps I
> > > should include test steps in the commit message for the next revision.
> >
> > Unfortunately the board has the EEPROM write protection pin connected to
> > VCC, which means the write protection is enabled. Therefore testing is
> > not so easy.
> >
> > Regards
> > Aurelien
> >
> > [1] https://lore.kernel.org/linux-riscv/aNLzRJcKCYOngc7z@aurel32.net/
> > [2] https://www.giantec-semi.com/juchen1123/uploads/pdf/GT24C02_DS_Au.pdf
> >
> Apologies, this is a different issue.
>
> I am currently working on enabling multi-DTB support in U-Boot SPL
> for SpacemiT K1 boards.
>
> While investigating the board detection issue, I noticed that the EEPROM
> on my Banana Pi BPI-F3 does not contain a Product Name TLV entry.
>
> alarm@k1:~$ sudo hexdump -C /sys/bus/i2c/devices/2-0050/eeprom
> 00000000 54 6c 76 49 6e 66 6f 00 01 00 20 24 06 fe fe fe |TlvInfo... $....|
> 00000010 d5 52 bd 2a 02 00 02 23 0c 39 38 61 39 63 33 61 |.R.*...#.98a9c3a|
> 00000020 32 62 64 34 37 fe 04 3b e3 ff bd ff ff ff ff ff |2bd47..;........|
> 00000030 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
> *
> 00000100
Yes, I observed the same on my board. It seems the Banana-Pi F3 (or
probably more the designed it is based on) is the first board that got
produced and misses that.
> Although the EEPROM is readable, the missing Product Name TLV entry
> explains why read_product_name() returns `-ENOENT` (-2), assuming the
> EEPROM read and validation succeed.
>
> Consequently, automatic board detection fails, and U-Boot falls back to
> CONFIG_DEFAULT_DEVICE_TREE, which may select an incorrect device
> tree for the target board.
Yes, I think the MusePi Pro is not the good default board. The vendor
code uses sets DEFAULT_PRODUCT_NAME to "k1-x_deb1" in
include/configs/k1-x.h, I think the upstream U-Boot should do the same.
I already pointed that out [1].
Regards
Aurelien
[1] https://lore.kernel.org/ahNs0lme0ya2zolV@aurel32.net/
--
Aurelien Jarno GPG: 4096R/1DDD8C9B
aurelien@aurel32.net http://aurel32.net
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH] riscv: dts: spacemit: k1: fix the EEPROM page size
2026-11-25 14:21 ` Anand Moon
@ 2026-11-25 20:01 ` Andre Heider
0 siblings, 0 replies; 11+ messages in thread
From: Andre Heider @ 2026-11-25 20:01 UTC (permalink / raw)
To: Anand Moon, Zixian Zeng
Cc: Aurelien Jarno, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Yixun Lan, Troy Mitchell, Paul Walmsley, Palmer Dabbelt,
Albert Ou, Alexandre Ghiti, Vivian Wang, Junhui Liu,
Michael Opdenacker, devicetree, linux-riscv, spacemit
On 25.11.26 3:21 PM, Anand Moon wrote:
>>> Apologies, this is a different issue.
>>>
>>> I am currently working on enabling multi-DTB support in U-Boot SPL
>>> for SpacemiT K1 boards.
>>>
>>> While investigating the board detection issue, I noticed that the EEPROM
>>> on my Banana Pi BPI-F3 does not contain a Product Name TLV entry.
>>>
>>> alarm@k1:~$ sudo hexdump -C /sys/bus/i2c/devices/2-0050/eeprom
>>> 00000000 54 6c 76 49 6e 66 6f 00 01 00 20 24 06 fe fe fe |TlvInfo... $....|
>>> 00000010 d5 52 bd 2a 02 00 02 23 0c 39 38 61 39 63 33 61 |.R.*...#.98a9c3a|
>>> 00000020 32 62 64 34 37 fe 04 3b e3 ff bd ff ff ff ff ff |2bd47..;........|
>>> 00000030 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
>>> *
>>> 00000100
>>>
>>> Although the EEPROM is readable, the missing Product Name TLV entry
>>> explains why read_product_name() returns `-ENOENT` (-2), assuming the
>>> EEPROM read and validation succeed.
>>>
>>> Consequently, automatic board detection fails, and U-Boot falls back to
>>> CONFIG_DEFAULT_DEVICE_TREE, which may select an incorrect device
>>> tree for the target board.
I encountered the very same issue [0]. The BPI-CM6 doesn't have a product name in there either, so we just made one up and wrote it to make the detection work... [1].
I'd be surprised if the eeprom is write protected on any board, because the vendor uboot contains code to write a mac if there is none. And I've only seen fe:fe:fe... macs so far, which is the output of the code generating one (iirc, it's been a minute).
In case it helps, here's my collected notes about the topic:
musepipro: commit 6bc75cfa56e885c2eab80e215f0a610075505846
TlvInfo Header:
Id String: TlvInfo
Version: 1
Total Length: 58
TLV Name Code Len Value
-------------------- ---- --- -----
Product Name 0x21 16 k1-x_MUSE-Pi-Pro
Serial Number 0x23 17 BPMIMXXXXXXXXXXXX
Unknown 0x41 1 0x02
Base MAC Address 0x24 6 FE:FE:FE:XX:XX:XX
MAC Addresses 0x2A 2 2
CRC-32 0xFE 4 0x395ECD34
Checksum is valid.
r2s: commit ac436e6879f5bf25e971d80f96f9392b61ff54c6
TlvInfo Header:
Id String: TlvInfo
Version: 1
Total Length: 38
TLV Name Code Len Value
-------------------- ---- --- -----
Base MAC Address 0x24 6 .....
MAC Addresses 0x2A 2 2
Product Name 0x21 15 x1_orangepi-r2s
Unknown 0x41 1 0x01
CRC-32 0xFE 4 0xE5A74B18
Checksum is valid.
cm6-io: https://github.com/openwrt/openwrt/pull/23231#issuecomment-5943699070
TlvInfo Header:
Id String: TlvInfo
Version: 1
Total Length: 18
TLV Name Code Len Value
-------------------- ---- --- -----
Base MAC Address 0x24 6 FE:FE:FE:XX:XX:XX
MAC Addresses 0x2A 2 2
CRC-32 0xFE 4 0x9775FAA7
Checksum is valid.
f3: https://github.com/openwrt/openwrt/pull/23231#issuecomment-6339373545
TlvInfo Header:
Id String: TlvInfo
Version: 1
Total Length: 32
TLV Name Code Len Value
-------------------- ---- --- -----
Base MAC Address 0x24 6 FE:FE:FE:AD:18:9C
MAC Addresses 0x2A 2 2
Serial Number 0x23 12 0ca91c835b74
CRC-32 0xFE 4 0x85C81AEE
Checksum is valid.
also: commit bfce75e2345fa1ecbf046e696994132f56d6db1c
no product name
rv2: ?
milkv: commit 77156216f1d0f57e1cfce3452410db20468edca4
only a product name
[0] https://lore.kernel.org/u-boot/d1a8bab8-4d88-48f2-9ddb-89e8c0e323b8@gmail.com/
[1] https://github.com/openwrt/openwrt/pull/23231#issuecomment-5972395785
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2026-11-25 20:01 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-23 4:41 [PATCH] riscv: dts: spacemit: k1: fix the EEPROM page size Zixian Zeng
2026-11-23 4:48 ` sashiko-bot
2026-11-23 21:58 ` Aurelien Jarno
2026-11-24 3:31 ` Zixian Zeng
2026-11-24 18:15 ` Aurelien Jarno
2026-11-25 7:52 ` Anand Moon
2026-11-25 9:38 ` Zixian Zeng
2026-11-25 14:21 ` Anand Moon
2026-11-25 20:01 ` Andre Heider
2026-11-25 17:28 ` Aurelien Jarno
2026-11-24 1:00 ` Troy Mitchell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox