diff options
| author | PeterHo-wiwynn <peter.ho.wiwynn@gmail.com> | 2024-07-01 11:07:01 +0300 |
|---|---|---|
| committer | Patrick Williams <patrick@stwcx.xyz> | 2024-07-01 14:31:47 +0300 |
| commit | 28670cea63363a44c2a7d4597f7075043e4e552f (patch) | |
| tree | f369aca9d84abc05eb26e7f53c7e0b3951bd4067 /meta-openembedded/meta-python/recipes-devtools/python/python3-javaobj-py3_0.4.3.bb | |
| parent | b0f22c16f260d4ac5fd1f1bbf53afc819860d693 (diff) | |
| download | openbmc-28670cea63363a44c2a7d4597f7075043e4e552f.tar.xz | |
meta-facebook: yosemite4: Add 99-platform-init
Port 99-platform-init from bletchley to enable alternate boot.
Tested:
- FMC_WDT2 is enabled and timer is counting down:
```
U-Boot SPL 2019.04 yosemite4-runtime-addc-test (Mar 25 2024 - 04:43:19 +0000)
already initialized, Trying to boot from RAM
U-Boot 2019.04 yosemite4-runtime-addc-test (Mar 25 2024 - 04:43:19 +0000)
SOC: AST2620-A3
RST: WDT1 SOC
PCI RST: #2
RST: External
FMC 2nd Boot (ABR): Enable, Dual flashes, Source: Primary
Set FMC_WDT2 timer reload value to 0x0BB8
eSPI Mode: SIO:Enable : SuperIO-2e
Eth: MAC0: RMII/NCSI, MAC1: RMII/NCSI, MAC2: RMII/NCSI, MAC3: RMII/NCSI
Model: AST2600 EVB
DRAM: already initialized, 1 GiB (capacity:1024 MiB, VGA:0 MiB, ECC:off)
MMC:
sdhci_slot0@100: 1, sdhci_slot1@200: 2, emmc_slot0@100: 0
Loading Environment from SPI Flash... SF: Detected mx66l1g45g with page size 256 Bytes, erase size 4 KiB, total 128 MiB
OK
In: serial@1e784000
Out: serial@1e784000
Err: serial@1e784000
Model: AST2600 EVB
Net: No MDIO found.
No ethernet found.
Hit any key to stop autoboot: 0
ast# md.l 0x1e620064 2
1e620064: 00000001 0b0a0bb8 ........
ast# md.l 0x1e620064 2
```
- Boot from alternate flash when timeout occured:
```
U-Boot 2019.04 yosemite4-runtime-addc-test (Mar 25 2024 - 04:43:19 +0000)
SOC: AST2620-A3
PCI RST: #2
RST: SYS_FLASH_ABR_RESET
FMC 2nd Boot (ABR): Enable, Dual flashes, Source: Alternate
Set FMC_WDT2 timer reload value to 0x0BB8
eSPI Mode: SIO:Enable : SuperIO-2e
Eth: MAC0: RMII/NCSI, MAC1: RMII/NCSI, MAC2: RMII/NCSI, MAC3: RMII/NCSI
Model: AST2600 EVB
DRAM: already initialized, 1 GiB (capacity:1024 MiB, VGA:0 MiB, ECC:off)
MMC:
...
root@bmc:~# devmem 0x1e620064
0x00000110
root@bmc:~# devmem 0x1e620068
0x0BB80BB8
root@bmc:~# cat /run/media/slot
1
```
Change-Id: I524eae906526c16469f1dd2d0927c289c35a7380
Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
Diffstat (limited to 'meta-openembedded/meta-python/recipes-devtools/python/python3-javaobj-py3_0.4.3.bb')
0 files changed, 0 insertions, 0 deletions
