Other Parts Discussed in Thread: SK-AM62A-LP
Hi,
I have and SK-AM62A-LP board.
I downloaded the SD-CARD image, configured the switches and I can boot all the way from uboot to Linux.
I tried several ways to boot from QSPI flash, but without success.
This is my Uboot output:
U-Boot SPL 2023.04-gb0d717b732 (Dec 06 2023 - 15:11:45 +0000) SYSFW ABI: 3.1 (firmware rev 0x0009 '9.1.8--v09.01.08 (Kool Koala)') am62a_init: board_init_f done SPL initial stack usage: 17040 bytes am62a_init: spl_boot_device: devstat = 0x3 bootmedia = 0x10 bootindex = 0 Trying to boot from SPINAND am62a_init: spl_boot_device: devstat = 0x3 bootmedia = 0x10 bootindex = 0 Authentication passed am62a_init: spl_boot_device: devstat = 0x3 bootmedia = 0x10 bootindex = 0 Authentication passed am62a_init: spl_boot_device: devstat = 0x3 bootmedia = 0x10 bootindex = 0 Authentication passed am62a_init: spl_boot_device: devstat = 0x3 bootmedia = 0x10 bootindex = 0 Authentication passed am62a_init: spl_boot_device: devstat = 0x3 bootmedia = 0x10 bootindex = 0 Authentication passed Starting ATF on ARM64 core... NOTICE: BL31: v2.9(release):v2.9.0-614-gd7a7135d32-dirty NOTICE: BL31: Built : 09:34:15, Aug 24 2023 U-Boot SPL 2023.04-gb0d717b732 (Dec 06 2023 - 15:11:45 +0000) SYSFW ABI: 3.1 (firmware rev 0x0009 '9.1.8--v09.01.08 (Kool Koala)') am62a_init: board_init_f done am62a_init: spl_boot_device: devstat = 0x3 bootmedia = 0x10 bootindex = 0 Trying to boot from SPINAND am62a_init: spl_boot_device: devstat = 0x3 bootmedia = 0x10 bootindex = 0 Authentication passed am62a_init: spl_boot_device: devstat = 0x3 bootmedia = 0x10 bootindex = 0 Authentication passed U-Boot 2023.04-gb0d717b732 (Dec 06 2023 - 15:11:45 +0000) SoC: AM62AX SR1.0 HS-FS Model: Texas Instruments AM62A7 SK DRAM: 2 GiB (effective 4 GiB) Core: 58 devices, 28 uclasses, devicetree: separate MMC: mmc@fa10000: 0, mmc@fa00000: 1 Loading Environment from nowhere... OK In: serial@2800000 Out: serial@2800000 Err: serial@2800000 Net: eth0: ethernet@8000000port@1 Hit any key to stop autoboot: 0
The mtd list output
=> mtd list List of MTD devices: * spi-nand0 - device: flash@0 - parent: spi@fc40000 - driver: spi_nand - path: /bus@f0000/bus@fc00000/spi@fc40000/flash@0 - type: NAND flash - block size: 0x40000 bytes - min I/O: 0x1000 bytes - OOB size: 128 bytes - OOB available: 80 bytes - 0x000000000000-0x000008000000 : "spi-nand0" - 0x000000000000-0x000000080000 : "ospi_nand.tiboot3" - 0x000000080000-0x000000280000 : "ospi_nand.tispl" - 0x000000280000-0x000000680000 : "ospi_nand.u-boot" - 0x000000680000-0x0000006c0000 : "ospi_nand.env" - 0x0000006c0000-0x000000700000 : "ospi_nand.env.backup" - 0x000002000000-0x000007fc0000 : "ospi_nand.rootfs" - 0x000007fc0000-0x000008000000 : "ospi_nand.phypattern"
boot command output: (SD-CARD not inserted)
=> boot MMC: no card present SD/MMC found on device 1 MMC: no card present ** Bad device specification mmc 1 ** Couldn't find partition mmc 1 Can't set block device MMC: no card present ** Bad device specification mmc 1 ** Couldn't find partition mmc 1 Can't set block device MMC: no card present ** Bad device specification mmc 1 ** ## Error: "main_cpsw0_qsgmii_phyinit" not defined MMC: no card present ** Bad device specification mmc 1 ** Couldn't find partition mmc 1:2 Can't set block device MMC: no card present ** Bad device specification mmc 1 ** Couldn't find partition mmc 1:2 Can't set block device libfdt fdt_check_header(): FDT_ERR_BADMAGIC No FDT memory address configured. Please configure the FDT address via "fdt addr <address>" command. Aborting! Bad Linux ARM64 Image magic! switch to partitions #0, OK mmc0(part 0) is current device Scanning mmc 0:1... MMC: no card present No EFI system partition No EFI system partition Failed to persist EFI variables BootOrder not defined EFI boot manager: Cannot load any image MMC: no card present starting USB... No working controllers found USB is stopped. Please issue 'usb start' first. starting USB... No working controllers found link up on port 1, speed 1000, full duplex BOOTP broadcast 1 BOOTP broadcast 2 BOOTP broadcast 3 *** Unhandled DHCP Option in OFFER/ACK: 42 *** Unhandled DHCP Option in OFFER/ACK: 224 *** Unhandled DHCP Option in OFFER/ACK: 42 *** Unhandled DHCP Option in OFFER/ACK: 224 DHCP client bound to address 10.11.80.62 (1012 ms) *** ERROR: `serverip' not set Cannot autoload with TFTPGET missing environment variable: pxeuuid Retrieving file: pxelinux.cfg/01-1c-63-49-15-92-64 link up on port 1, speed 1000, full duplex *** ERROR: `serverip' not set Retrieving file: pxelinux.cfg/0A0B503E link up on port 1, speed 1000, full duplex *** ERROR: `serverip' not set Retrieving file: pxelinux.cfg/0A0B503 link up on port 1, speed 1000, full duplex *** ERROR: `serverip' not set Retrieving file: pxelinux.cfg/0A0B50 link up on port 1, speed 1000, full duplex *** ERROR: `serverip' not set Retrieving file: pxelinux.cfg/0A0B5 link up on port 1, speed 1000, full duplex *** ERROR: `serverip' not set Retrieving file: pxelinux.cfg/0A0B link up on port 1, speed 1000, full duplex *** ERROR: `serverip' not set Retrieving file: pxelinux.cfg/0A0 link up on port 1, speed 1000, full duplex *** ERROR: `serverip' not set Retrieving file: pxelinux.cfg/0A link up on port 1, speed 1000, full duplex *** ERROR: `serverip' not set Retrieving file: pxelinux.cfg/0 link up on port 1, speed 1000, full duplex *** ERROR: `serverip' not set Retrieving file: pxelinux.cfg/default-arm-k3-am62ax link up on port 1, speed 1000, full duplex *** ERROR: `serverip' not set Retrieving file: pxelinux.cfg/default-arm-k3 link up on port 1, speed 1000, full duplex *** ERROR: `serverip' not set Retrieving file: pxelinux.cfg/default-arm link up on port 1, speed 1000, full duplex *** ERROR: `serverip' not set Retrieving file: pxelinux.cfg/default link up on port 1, speed 1000, full duplex *** ERROR: `serverip' not set Config file not found starting USB... No working controllers found link up on port 1, speed 1000, full duplex BOOTP broadcast 1 *** Unhandled DHCP Option in OFFER/ACK: 42 *** Unhandled DHCP Option in OFFER/ACK: 224 *** Unhandled DHCP Option in OFFER/ACK: 42 *** Unhandled DHCP Option in OFFER/ACK: 224 DHCP client bound to address 10.11.80.62 (17 ms) *** ERROR: `serverip' not set Cannot autoload with TFTPGET link up on port 1, speed 1000, full duplex BOOTP broadcast 1 *** Unhandled DHCP Option in OFFER/ACK: 42 *** Unhandled DHCP Option in OFFER/ACK: 224 *** Unhandled DHCP Option in OFFER/ACK: 42 *** Unhandled DHCP Option in OFFER/ACK: 224 DHCP client bound to address 10.11.80.62 (17 ms) *** ERROR: `serverip' not set Cannot autoload with TFTPGET
Please advice