linux-automation / meta-lxatac

Build your own LXA TAC images and bundles
MIT License
5 stars 15 forks source link

meta-lxatac-bsp: barebox: update to 2023.10.0 #63

Closed hnez closed 3 months ago

hnez commented 9 months ago

This barebox version imports our mainline LXA TAC devicetrees from linux, greatly reducing our local patch stack size. It also contains some patches that have since been mainlined, also reducing our patch stack size.

TODO before merging:

hnez commented 9 months ago

Based on the console output I would say that the updated barebox looks healthy:

NOTICE:  CPU: STM32MP157C?? Rev.Z
NOTICE:  Model: Linux Automation Test Automation Controller (TAC)
WARNING: VDD unknown
INFO:    Reset reason (0x15):
INFO:      Power-on Reset (rst_por)
INFO:    FCONF: Reading TB_FW firmware configuration file from: 0x2ffe2000
INFO:    FCONF: Reading firmware configuration information for: stm32mp_io
INFO:    Using EMMC
INFO:      Instance 2
INFO:    Boot used partition fsbl1
NOTICE:  BL2: v2.7(release):
NOTICE:  BL2: Built : 15:02:46, Jun  1 2022
INFO:    BL2: Doing platform setup
INFO:    RAM: DDR3-DDR3L 16bits 533000kHz
INFO:    Memory size = 0x20000000 (512 MB)
INFO:    BL2: Loading image id 31
INFO:    Loading image id=31 at address 0x2ffff000
INFO:    Image id=31 loaded: 0x2ffff000 - 0x2ffff226
INFO:    FCONF: Reading FW_CONFIG firmware configuration file from: 0x2ffff000
INFO:    FCONF: Reading firmware configuration information for: dyn_cfg
INFO:    FCONF: Reading firmware configuration information for: stm32mp1_firewall
INFO:    BL2: Loading image id 4
INFO:    Loading image id=4 at address 0x2ffc5000
INFO:    Image id=4 loaded: 0x2ffc5000 - 0x2ffcdb10
INFO:    BL2: Skip loading image id 21
INFO:    BL2: Skip loading image id 22
INFO:    BL2: Loading image id 23
INFO:    Loading image id=23 at address 0xc0500000
INFO:    Image id=23 loaded: 0xc0500000 - 0xc0500226
INFO:    BL2: Loading image id 26
INFO:    Loading image id=26 at address 0x2ffc0000
INFO:    Image id=26 loaded: 0x2ffc0000 - 0x2ffc3eaf
INFO:    BL2: Loading image id 5
INFO:    Loading image id=5 at address 0xc0100000
INFO:    Image id=5 loaded: 0xc0100000 - 0xc018af4b
NOTICE:  BL2: Booting BL32
INFO:    Entry point address = 0x2ffc5000
INFO:    SPSR = 0x1d3
NOTICE:  SP_MIN: v2.7(release):
NOTICE:  SP_MIN: Built : 15:02:46, Jun  1 2022
INFO:    ARM GICv2 driver initialized
INFO:    SP_MIN: Initializing runtime services
INFO:    SP_MIN: Preparing exit to normal world

barebox 2023.09.0-20231009-1-00105-g7f147d2ef6ed-dirty #1 Mon Oct 9 10:27:20 UTC 2023
Buildsystem version: 6b6cbb5-dirty

Board: Linux Automation Test Automation Controller (TAC) Gen 2
deep-probe: supported due to lxa,stm32mp157c-tac-gen2
stm32mp-init: detected STM32MP157C?? Rev.Z
STM32 RCC reset reason POR (MP_RSTSR: 0x00000015)
netconsole: registered as netconsole-1
persistent_ram: error in header, 1
persistent_ram: error in header, 1
persistent_ram: error in header, 1
persistent_ram: error in header, 1
persistent_ram: error in header, 1
persistent_ram: error in header, 1
persistent_ram: error in header, 1
persistent_ram: error in header, 1
persistent_ram: error in header, 1
persistent_ram: error in header, 1
persistent_ram: error in header, 2
persistent_ram: error in header, 1
persistent_ram: error in header, 1
persistent_ram: error in header, 1
persistent_ram: error in header, 1
persistent_ram: error in header, 1
pstore: Registered ramoops as persistent store backend
ramoops: attached 0x200000@0xdfdd0000, ecc: 16/0
psci psci.of: detected version 1.1
usb251xb usb2514b0: Hub configuration was successful.
usb251xb usb2514b0: Hub probed successfully
stpmic1-i2c stpmic10: PMIC Chip Version: 0x21
v3v3_hdmi: Bringing 1800000uV into 3300000-3300000uV
v1v2_hdmi: Bringing 1000000uV into 1200000-1200000uV
registered as fbconsole0
ksz9477-spi switch@00: Found KSZ9893 or compatible
ksz9477-spi switch@00: chip id: 0x00989360
mdio_bus: miibus0: probed
mdio_bus: miibus1: probed
stm32-usbphyc 5a006000.usbphyc@5a006000.of: registered rev:1.0
dwc2 49000000.usb-otg@49000000.of: EPs: 9, dedicated fifos, 0x3b8 entries in SPRAM
stm32_sdmmc 58007000.mmc@58007000.of: registered as mmc1
mmc1: detected MMC card version 5.1
mmc1: registered mmc1.boot0
mmc1: registered mmc1.boot1
mmc1: registered mmc1
stm32-iwdg 5a002000.watchdog@5a002000.of: probed
state: New state registered 'state'
state: Using bucket 0@0x00000000
malloc space: 0xcfdfde20 -> 0xdfbfbc3f (size 254 MiB)
eth0: got preset MAC address: 18:74:e2:a0:00:c0
eth1: got preset MAC address: 18:74:e2:a0:00:c1
eth2: got preset MAC address: 18:74:e2:a0:00:c2
envfs: no envfs (magic mismatch) - envfs never written?
multi_bind: creating Fastboot function
multi_bind: creating ACM function
g_multi gadget0: Multifunction Composite Gadget
g_multi gadget0: g_multi ready
dwc2 49000000.usb-otg@49000000.of: bound driver g_multi

Hit m for menu or any to stop autoboot:    1
barebox@Linux Automation Test Automation Controller (TAC) Gen 2:/ dhcp eth1
T eth1: DHCP client bound to address 192.168.0.240
barebox@Linux Automation Test Automation Controller (TAC) Gen 2:/ ping 192.168.0.1
PING 192.168.0.1 (192.168.0.1)
host 192.168.0.1 is alive
barebox@Linux Automation Test Automation Controller (TAC) Gen 2:/ boot
Booting entry 'bootchooser'
Booting entry 'root0'
fb0: framebuffer console 30x15 activated
…
hnez commented 8 months ago

Assigned @ukleinek because he also did some work on the LXA TAC barebox patch stack, but we had a bit of mis-communication and now both have our own versions of the patch stack. I'd like to leave the decision on how continue with him.