Skip to content

rockchip: Read cpuid and generate MAC address from efuse for RK3328 and RK3399

Chen-Yu Tsai u-boot 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 5 repliesIn review
  2. v14 patches 7 repliesSuperseded

Changes in v2 from the cover letter

- Also imply "CONFIG_MISC"
- Add back unintentionally removed CONFIG_OF_LIBFDT_OVERLAY=y
- Remove ROCKCHIP_OTP from nanopi-r4s-rk3399_defconfig as requested by Jonas

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5rockchip: rk3328: Read cpuid and generate MAC address from efusearch/arm/mach-rockchip/Kconfig+3 -00 replies
2/5rockchip: rk3399: Read cpuid and generate MAC address from efusearch/arm/mach-rockchip/Kconfig+3 -00 replies
3/5rockchip: rk3328: regenerate defconfigsconfigs/evb-rk3328_defconfig configs/nanopi-r2c-plus-rk3328_defconfig configs/nanopi-r2c-rk3328_defconfig +6 more+0 -274 replies
4/5rockchip: rk3399: regenerate defconfigsconfigs/chromebook_bob_defconfig configs/chromebook_kevin_defconfig configs/eaidk-610-rk3399_defconfig +25 more+0 -580 replies
5/5rockchip: nanopi-r4s: Drop ROCKCHIP_OTPconfigs/nanopi-r4s-rk3399_defconfig+0 -11 reply

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchChristopher ObbardDragan SimicQuentin Schulz
1/5R-b R-b
2/5R-b R-b
3/5R-b R-b
4/5R-b R-b R-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/5] rockchip: Read cpuid and generate MAC address from efuse for RK3328 and RK3399

From: Chen-Yu Tsai <[email protected]>

Hi folks,

This is v2 of my "read cpuid and generate MAC address from efuse on RK3328 and RK3399 by default" series.

Changes since v1:
- Also imply "CONFIG_MISC"
- Add back unintentionally removed CONFIG_OF_LIBFDT_OVERLAY=y
- Remove ROCKCHIP_OTP from nanopi-r4s-rk3399_defconfig as requested by Jonas

This series enables ROCKCHIP_EFUSE and MISC_INIT_R by default for RK3328 and RK3399 so that the cpuid is read from the efuse and used to generate a serial number and MAC addresses for all boards.

This stacks on top of the recent defconfig update series [1] from Jonas.

[1] https://lore.kernel.org/u-boot/[email protected]/

Chen-Yu Tsai (5):
rockchip: rk3328: Read cpuid and generate MAC address from efuse
rockchip: rk3399: Read cpuid and generate MAC address from efuse
rockchip: rk3328: regenerate defconfigs
rockchip: rk3399: regenerate defconfigs
rockchip: nanopi-r4s: Drop ROCKCHIP_OTP

 arch/arm/mach-rockchip/Kconfig                | 6 ++++++
 configs/chromebook_bob_defconfig              | 3 ---
 configs/chromebook_kevin_defconfig            | 3 ---
 configs/eaidk-610-rk3399_defconfig            | 1 -
 configs/evb-rk3328_defconfig                  | 3 ---
 configs/evb-rk3399_defconfig                  | 1 -
 configs/firefly-rk3399_defconfig              | 3 ---
 configs/khadas-edge-captain-rk3399_defconfig  | 1 -
 configs/khadas-edge-rk3399_defconfig          | 1 -
 configs/khadas-edge-v-rk3399_defconfig        | 1 -
 configs/leez-rk3399_defconfig                 | 1 -
 configs/nanopc-t4-rk3399_defconfig            | 1 -
 configs/nanopi-m4-2gb-rk3399_defconfig        | 1 -
 configs/nanopi-m4-rk3399_defconfig            | 1 -
 configs/nanopi-m4b-rk3399_defconfig           | 1 -
 configs/nanopi-neo4-rk3399_defconfig          | 1 -
 configs/nanopi-r2c-plus-rk3328_defconfig      | 3 ---
 configs/nanopi-r2c-rk3328_defconfig           | 3 ---
 configs/nanopi-r2s-rk3328_defconfig           | 3 ---
 configs/nanopi-r4s-rk3399_defconfig           | 4 ----
 configs/orangepi-r1-plus-lts-rk3328_defconfig | 3 ---
 configs/orangepi-r1-plus-rk3328_defconfig     | 3 ---
 configs/orangepi-rk3399_defconfig             | 1 -
 configs/pinebook-pro-rk3399_defconfig         | 3 ---
 configs/pinephone-pro-rk3399_defconfig        | 3 ---
 configs/puma-rk3399_defconfig                 | 3 ---
 configs/roc-cc-rk3328_defconfig               | 3 ---
 configs/roc-pc-mezzanine-rk3399_defconfig     | 3 ---
 configs/roc-pc-rk3399_defconfig               | 3 ---
 configs/rock-4c-plus-rk3399_defconfig         | 3 ---
 configs/rock-4se-rk3399_defconfig             | 3 ---
 configs/rock-pi-4-rk3399_defconfig            | 3 ---
 configs/rock-pi-4c-rk3399_defconfig           | 3 ---
 configs/rock-pi-e-rk3328_defconfig            | 3 ---
 configs/rock-pi-n10-rk3399pro_defconfig       | 2 --
 configs/rock64-rk3328_defconfig               | 3 ---
 configs/rock960-rk3399_defconfig              | 2 --
 configs/rockpro64-rk3399_defconfig            | 3 ---
 38 files changed, 6 insertions(+), 86 deletions(-)
Signature · 1 line
2.39.2