Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

MNT Reform2 (LS1028A)



Hello Port ARM!

I have a MNT Reform2 modular laptop with the Freescale LS1028A CPU module, but only a very vague understanding of how booting arm really works.

I know that a specific u-boot will be required, some dtb(?) and that u-boot has very poor support for this particular processor in that it does not support the onboard MMC nor is able to provide graphics output on the built-in screen (I work around this by using the system's onboard ttl serial port)

My ambition is to run NetBSD on this system, and I've gotten a kernel to boot with this CPU module by first loading u-boot from the manufacturer's SD card, stopping the boot process and swapping the SD card for the netbsd aarch64 generic install image.

This seems to have used the UEFI boot method. It won't automatically boot the kernel though, as the root partition seems to be on "hd0b".

Once the kernel is loaded it can't enable the second core and doesn't find any disks. The CPU is seen as "unresponsive", none of the MMC devices are found nor the SSD, and lots of other devices are "not configured".

I think the manufacturer-provided (for linux) dtb is loaded, I even tried using the "dtb" command in the netbsd bootloader but the dmesg results is the same.

What would be the way forward from here?

I also have the older i.mx8mq CPU module at hand and will try that one too once I get a thermal conductive pad so I can heasink it. There exists a netbsd-bundled dtb for this chip and u-boot can output to the graphics console so if I can't get the faster module working, the slower one should have a better chance of success.

Staffan

Boot messages follow:

NOTICE:  16 GB DDR4, 32-bit, CL=11, ECC off
NOTICE:  BL2: v2.4(release):289be80
NOTICE:  BL2: Built : 06:01:38, Oct 14 2023
NOTICE:  BL2: Booting BL31
NOTICE:  BL31: v2.4(release):289be80
NOTICE:  BL31: Built : 06:01:38, Oct 14 2023
NOTICE:  Welcome to ls1028ardb BL31 Phase


U-Boot 2023.10-rc4-dirty (Oct 14 2023 - 06:01:38 +0000)

SoC:  LS1028AE Rev1.0 (0x870b0010)
Clock Configuration:
       CPU0(A72):1500 MHz  CPU1(A72):1500 MHz
       Bus:      400  MHz  DDR:      1600 MT/s
Reset Configuration Word (RCW):
       00000000: 3c004010 00000030 00000000 00000000
       00000010: 00000000 018f0000 0030c000 00000000
       00000020: 00a03150 00992580 00000000 00008259
       00000030: 00000000 00000250 00000000 00000000
       00000040: 00000000 00000000 00000000 00000000
       00000050: 00000000 00000000 00000000 00000000
       00000060: 00000000 00000000 100e7524 00000000
       00000070: eb8b0000 00100000
Model: LS1028A RDB Board
Board: LS1028AE Rev1.0-unknown, Version: O, boot from SD
FPGA: v255 (unknown)
SERDES1 Reference : Clock1 = 161.13MHz Clock2 = 161.13MHz
DRAM:  15.9 GiB
DDR    15.9 GiB (DDR4, 32-bit, CL=11, ECC off)
Using SERDES1 Protocol: 60299 (0xeb8b)
PCIe1: pcie@3400000 Root Complex: no link
PCIe2: pcie@3500000 Root Complex: no link
Core:  44 devices, 22 uclasses, devicetree: separate
WDT:   Started watchdog@c000000 with servicing every 1000ms (60s timeout)
WDT:   Started watchdog@c010000 with servicing every 1000ms (60s timeout)
CPU:   2 cores online
MMC:   FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from MMC... *** Warning - bad CRC, using default environment

EEPROM: Read failed.
In:    serial@21c0500
Out:   serial@21c0500
Err:   serial@21c0500
SEC0:  RNG instantiated
gpio: pin MPC@023200006 (gpio 70) value is 1
gpio: pin MPC@0232000018 (gpio 82) value is 1
gpio: pin MPC@0230000030 (gpio 30) value is 0
gpio: pin MPC@0231000028 (gpio 60) value is 1
gpio: pin MPC@0231000029 (gpio 61) value is 1
gpio: pin MPC@023200003 (gpio 67) value is 1
Net:   No ethernet found.
Hit any key to stop autoboot:  0
=> boot
+ run distro_bootcmd
+ setenv nvme_need_init
+ run bootcmd_mmc0
+ run mmc_boot
+ mmc dev 0
switch to partitions #0, OK
mmc0 is current device
+ run scan_dev_for_boot_part
+ part list mmc 0 -bootable devplist

  \\-__,------,___.
   \\        __,---`  NetBSD/evbarm efiboot (arm64)
    \\       `---,_.  Revision 2.13 (Mon Feb 19 08:59:48 UTC 2024)
     \\-,_____,.---`
      \\
       \\
        \\

Press return to boot now, any other key for boot prompt
booting netbsd - starting in 0 seconds.
> dtb hd0a:reform.dtb
> boot hd0b:netbsd
7581696+3367672+4178528+1742832 [595933+949104+708870]=0x13cc9b8
boot: loading hd0a:reform.dtb done.
[   1.0000000] NetBSD/evbarm (fdt) booting ...
PSCI: no /psci node found
arm_fdt_cpu_mpstart: failed to enable CPU 0x1
[   1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
[ 1.0000000] 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, [ 1.0000000] 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023,
[   1.0000000]     2024
[   1.0000000]     The NetBSD Foundation, Inc.  All rights reserved.
[   1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[ 1.0000000] The Regents of the University of California. All rights reserved.

[   1.0000000] NetBSD 10.0_RC4 (GENERIC64) #0: Mon Feb 19 08:59:48 UTC 2024
[ 1.0000000] mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/evbarm/compile/GENERIC64
[   1.0000000] total memory = 16300 MB
[   1.0000000] avail memory = 15713 MB
[   1.0000000] armfdt0 (root)
[   1.0000000] simplebus0 at armfdt0: MNT Reform 2 with LS1028A Module
[   1.0000000] simplebus1 at simplebus0
[   1.0000000] cpus0 at simplebus0
[   1.0000000] simplebus2 at simplebus0
[   1.0000000] cpu0 at cpus0: Arm Cortex-A72 r0p3 (v8-A), id 0x0
[   1.0000000] cpu0: package 0, core 0, smt 0
[   1.0000000] cpu1 at cpus0: disabled (unresponsive)
[   1.0000000] gicvthree0 at simplebus0: GICv3
[ 1.0000000] gicvthree0: ITS [#0] Devices table @ 0xa29b1000/0x80000, Non-cacheable, Non-shareable
[   1.0000000] syscon0 at simplebus1: System Controller Registers
[   1.0000000] fclock0 at simplebus0: 100000000 Hz fixed clock (sysclk)
[   1.0000000] fclock1 at simplebus0: 12000000 Hz fixed clock (clock-mclk)
[   1.0000000] syscon1 at simplebus1: System Controller Registers
[   1.0000000] fclock2 at simplebus0: 27000000 Hz fixed clock (phy_27m)
[   1.0000000] fclock3 at simplebus0: 32768 Hz fixed clock (rtc_clk)
[   1.0000000] syscon2 at simplebus1: System Controller Registers
[   1.0000000] gtmr0 at simplebus0: Generic Timer
[   1.0000000] gtmr0: interrupting on GICv3 irq 27
[   1.0000000] armgtmr0 at gtmr0: Generic Timer (25000 kHz, virtual)
[   1.0000040] fregulator0 at simplebus0: 1P8V
[   1.0000040] fregulator1 at simplebus0: 3v3_vbus
[   1.0000040] com0 at simplebus1: couldn't get frequency
[   1.0000040] com1 at simplebus1: couldn't get frequency
[   1.0000040] /soc/clock-controller@1300000 at simplebus1 not configured
[   1.0000040] /soc/tmu@1f80000 at simplebus1 not configured
[ 1.0000040] /soc/syscon@1e00000/clock-controller@900 at syscon1 not configured
[   1.0000040] /soc/dma-controller@22c0000 at simplebus1 not configured
[   1.0000040] /soc/iommu@5000000 at simplebus1 not configured
[   1.0000040] /soc/clock-controller@f1f0000 at simplebus1 not configured
[   1.0000040] /soc/display@f200000 at simplebus1 not configured
[   1.0000040] /soc/display@f080000 at simplebus1 not configured
[   1.0000040] pcihost0 at simplebus1: Generic PCI host controller
[   1.0000040] pcihost0: too many mem ranges
[   1.0000040] pcihost0: too many mem ranges
[   1.0000040] pcihost0: too many mem ranges
[   1.0000040] pcihost0: too many mem ranges
[ 1.0000040] PCI: bus 0, device 0, function 0: skipping devices with Enhanced Allocations [ 1.0000040] PCI: bus 0, device 0, function 1: skipping devices with Enhanced Allocations [ 1.0000040] PCI: bus 0, device 0, function 2: skipping devices with Enhanced Allocations [ 1.0000040] PCI: bus 0, device 0, function 3: skipping devices with Enhanced Allocations [ 1.0000040] PCI: bus 0, device 0, function 4: skipping devices with Enhanced Allocations [ 1.0000040] PCI: bus 0, device 0, function 5: skipping devices with Enhanced Allocations [ 1.0000040] PCI: bus 0, device 0, function 6: skipping devices with Enhanced Allocations
[   1.0000040] pci0 at pcihost0 bus 0
[ 1.0000040] vendor 1957 product e100 (ethernet network, interface 0x01, revision 0x01) at pci0 dev 0 function 0 not configured [ 1.0000040] vendor 1957 product e100 (ethernet network, interface 0x01, revision 0x01) at pci0 dev 0 function 1 not configured [ 1.0000040] vendor 1957 product e100 (ethernet network, interface 0x01, revision 0x01) at pci0 dev 0 function 2 not configured [ 1.0000040] vendor 1957 product ee01 (miscellaneous system, interface 0x01, revision 0x01) at pci0 dev 0 function 3 not configured [ 1.0000040] vendor 1957 product ee02 (miscellaneous system, interface 0x01, revision 0x01) at pci0 dev 0 function 4 not configured [ 1.0000040] vendor 1957 product eef0 (Host fabric network, interface 0x01, revision 0x01) at pci0 dev 0 function 5 not configured [ 1.0000040] vendor 1957 product e100 (ethernet network, interface 0x01, revision 0x01) at pci0 dev 0 function 6 not configured [ 1.0000040] vendor 1957 product e001 (Root Complex Event Collector system, revision 0x01) at pci0 dev 31 function 0 not configured
[   1.0000040] /soc/power-controller@1e34040 at simplebus1 not configured
[   1.0000040] /soc/audio-controller@f130000 at simplebus1 not configured
[   1.0000040] /soc/i2c@2000000 at simplebus1 not configured
[   1.0000040] /soc/pwm@2800000 at simplebus1 not configured
[   1.0000040] /soc/gpio@2300000 at simplebus1 not configured
[   1.0000040] /reboot at simplebus0 not configured
[   1.0000040] armpmu0 at simplebus0: Performance Monitor Unit
[   1.0000040] /sound at simplebus0 not configured
[   1.0000040] pwmbacklight0 at simplebus0: couldn't acquire pwm
[   1.0000040] /soc/memory-controller@1080000 at simplebus1 not configured
[   1.0000040] /soc/efuse@1e80000 at simplebus1 not configured
[   1.0000040] /soc/mmc@2140000 at simplebus1 not configured
[   1.0000040] /soc/mmc@2150000 at simplebus1 not configured
[   1.0000040] /soc/gpio@2310000 at simplebus1 not configured
[   1.0000040] /soc/gpio@2320000 at simplebus1 not configured
[   1.0000040] xhci0 at simplebus1: DesignWare USB3 XHCI (rev. 2.90a)
[   1.0000040] xhci0: interrupting on GICv3 irq 112
[   1.0000040] usb0 at xhci0: USB revision 3.0
[   1.0000040] usb1 at xhci0: USB revision 2.0
[   1.0000040] xhci1 at simplebus1: DesignWare USB3 XHCI (rev. 2.90a)
[   1.0000040] xhci1: interrupting on GICv3 irq 113
[   1.0000040] usb2 at xhci1: USB revision 3.0
[   1.0000040] usb3 at xhci1: USB revision 2.0
[   1.0000040] /soc/sata@3200000 at simplebus1 not configured
[   1.0000040] /soc/pcie@3400000 at simplebus1 not configured
[   1.0000040] /soc/pcie@3500000 at simplebus1 not configured
[   1.0000040] /soc/crypto@8000000 at simplebus1 not configured
[   1.0000040] /soc/dma-controller@8380000 at simplebus1 not configured
[   1.0000040] /soc/watchdog@c000000 at simplebus1 not configured
[   1.0000040] /soc/watchdog@c010000 at simplebus1 not configured
[   1.0000040] /soc/gpu@f0c0000 at simplebus1 not configured
[   1.0000040] /soc/ierb@1f0800000 at simplebus1 not configured
[ 1.0000040] uhub0 at usb0: NetBSD (0x0000) xHCI root hub (0x0000), class 9/0, rev 3.00/1.00, addr 0 [ 1.0000040] uhub1 at usb1: NetBSD (0x0000) xHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 0 [ 1.8651345] uhub2 at usb2: NetBSD (0x0000) xHCI root hub (0x0000), class 9/0, rev 3.00/1.00, addr 0 [ 1.8742012] uhub3 at usb3: NetBSD (0x0000) xHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 0
[   1.8898970] armpmu0: interrupting on GICv3 irq 23
[   1.8947193] WARNING: system needs entropy for security; see entropy(7)
[ 2.3247237] uhub4 at uhub0 port 1: vendor 0451 (0x0451) product 8040 (0x8040), class 9/0, rev 3.00/1.00, addr 1 [ 2.3847244] uhub5 at uhub1 port 1: vendor 0451 (0x0451) product 8042 (0x8042), class 9/0, rev 2.10/1.00, addr 2
[   2.3948913] uhub5: multiple transaction translators
[   3.0747330] uhidev0 at uhub5 port 3 configuration 1 interface 0
[ 3.0860715] uhidev0: MNT (0x03eb) Reform Keyboard (0x2042), rev 1.10/0.01, addr 3, iclass 3/1
[   3.0958374] ukbd0 at uhidev0
[   3.0958374] wskbd0 at ukbd0 mux 1
[   3.0958374] uhidev1 at uhub5 port 3 configuration 1 interface 1
[ 3.1063492] uhidev1: MNT (0x03eb) Reform Keyboard (0x2042), rev 1.10/0.01, addr 3, iclass 3/0
[   3.1181210] uhid0 at uhidev1: input=1, output=0, feature=0
[   3.5363537] uhidev2 at uhub5 port 4 configuration 1 interface 0
[ 3.5363537] uhidev2: MNT Research (0xcafe) Reform Trackball (RP2040) (0x4008), rev 2.00/1.00, addr 4, iclass 3/0
[   3.5538624] uhidev2: 1 report ids
[   3.5538624] ums0 at uhidev2 reportid 1: 5 buttons, W and Z dirs
[   3.5538624] wsmouse0 at ums0 mux 0
[   3.5660220] swwdog0: software watchdog initialized
[   3.5660220] WARNING: 9 errors while detecting hardware; check system log.
[   3.5786071] boot device: <unknown>
[   3.5786071] root device:


Home | Main Index | Thread Index | Old Index