Commit 0ce3fd5
authored
nanopi-r76s: fix SD boot and storage stability on eMMC-less units (#9908)
* nanopi-r76s: build u-boot with the SD boost to fix no-UART SD boot
eMMC-less units printed nothing on serial and would not boot from SD:
the binman u-boot-rockchip.bin image omits the Rockchip SD boost the
BootROM needs. Assemble idbloader.img through boot_merger so the boost
is included, writing idbloader and u-boot.itb at the standard offsets.
Signed-off-by: SuperKali <hello@superkali.me>
* nanopi-r76s: drop sdmmc0_pwren pinctrl to fix SD SDR104 instability
The SD node inherited the SoC default pinctrl, which claims the card
power-enable pin and lets the controller power-cycle the card during
error recovery, causing an endless SDR104 re-tune loop and I/O errors.
Drop that pin from the SD pinctrl, as Rockchip did upstream for rk3576.
Signed-off-by: SuperKali <hello@superkali.me>
---------
Signed-off-by: SuperKali <hello@superkali.me>1 parent fe38268 commit 0ce3fd5
4 files changed
Lines changed: 11 additions & 6 deletions
File tree
- config/boards
- patch/kernel/archive
- rockchip64-6.18/dt
- rockchip64-7.0/dt
- rockchip64-7.1/dt
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
| 34 | + | |
| 35 | + | |
36 | 36 | | |
37 | | - | |
38 | | - | |
| 37 | + | |
39 | 38 | | |
40 | | - | |
41 | 39 | | |
42 | | - | |
| 40 | + | |
| 41 | + | |
43 | 42 | | |
44 | 43 | | |
45 | 44 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
793 | 793 | | |
794 | 794 | | |
795 | 795 | | |
| 796 | + | |
| 797 | + | |
796 | 798 | | |
797 | 799 | | |
798 | 800 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
793 | 793 | | |
794 | 794 | | |
795 | 795 | | |
| 796 | + | |
| 797 | + | |
796 | 798 | | |
797 | 799 | | |
798 | 800 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
793 | 793 | | |
794 | 794 | | |
795 | 795 | | |
| 796 | + | |
| 797 | + | |
796 | 798 | | |
797 | 799 | | |
798 | 800 | | |
| |||
0 commit comments