=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2023.12.05 14:21:40 =~=~=~=~=~=~=~=~=~=~=~= in ddr_init file befoer dram_init 1600000000 in ddr.c file dram_init in ddr.c file before board_static_ddr ddr bus width 0x2, sdram_cfg[0] 0x450c0000 ,temp 0x1 NOTICE: Build-in self test passed NOTICE: 1 GB DDR4, 32-bit, CL=11, ECC off NOTICE: BL2: v2.6(release):lf-5.15.71-2.2.0-0-g3c1583ba0-dirty NOTICE: BL2: Built : 11:00:38, Nov 21 2022 NOTICE: BL2: Booting BL31 NOTICE: BL31: v2.6(release):lf-5.15.71-2.2.0-0-g3c1583ba0-dirty NOTICE: BL31: Built : 11:00:38, Nov 21 2022 NOTICE: Welcome to ls1043ardb BL31 Phase U-Boot 2022.04+fsl+g181859317b (Nov 15 2022 - 06:28:05 +0000) U-Boot code: 82000000 -> 8209F758 BSS: -> 820AD1A8 SoC: LS1043AE Rev1.1 (0x87920211) Clock Configuration: CPU0(A53):1600 MHz CPU1(A53):1600 MHz CPU2(A53):1600 MHz CPU3(A53):1600 MHz Bus: 400 MHz DDR: 1600 MT/s FMAN: 500 MHz Reset Configuration Word (RCW): 00000000: 08100010 0a000000 00000000 00000000 00000010: 00000002 00c04012 e0025000 c1002000 00000020: 00000000 00000000 00000000 010b8800 00000030: 00000000 00001105 00000096 00000001 Model: LS1043A RDB Board get_boot_src: porsr1 0x12ffffff __get_boot_src: rcw_src 0x25 __get_boot_src: src 0x1 Board: LS1043ARDB, boot from Nor DRAM: Monitor len: 000AD1A8 Ram size: 3BE00000 Ram top Ram top: B7C00000 ethernet-phy@1 node not found in the dts Reserving 692k for U-Boot at: b7b42000 Reserving 1040k for malloc() at: b7a3e000 Reserving 152 Bytes for Board Info at: b7a3df60 Reserving 488 Bytes for Global Data at: b7a3dd70 Reserving 17920 Bytes for FDT at: b7a39770 dram_size 3be00000 bank[0]: start 80000000, size 3be00000 Bank #0: 80000000 958 MiB Bank #1: 0 0 Bytes DRAM: 958 MiB (DDR4, 32-bit, CL=11, ECC off) New Stack Pointer is: b7a39760 Relocation Offset is: 35b42000 Relocating to b7b42000, new gd at b7a3dd70, sp at b7a39760 Pre-reloc malloc() used 0x288 bytes (0 KB) - found match at 'simple_bus': 'simple-bus' matches 'simple-bus' - found match at 'simple_bus': 'simple-bus' matches 'simple-bus' - found match at 'caam_jr': 'fsl,sec-v4.0' matches 'fsl,sec-v4.0' - found match at 'fman': 'fsl,fman' matches 'fsl,fman' - found match at 'fman_mdio': 'fsl,fman-memac-mdio' matches 'fsl,fman-memac-mdio' - found match at 'fman_mdio': 'fsl,fman-memac-mdio' matches 'fsl,fman-memac-mdio' - found match at 'fman_mdio': 'fsl,fman-memac-mdio' matches 'fsl,fman-memac-mdio' - found match at 'fman_mdio': 'fsl,fman-memac-mdio' matches 'fsl,fman-memac-mdio' - found match at 'eth_fman': 'fsl,fman-memac' matches 'fsl,fman-memac' fm_eth_bind - binding fm1-mac3 - found match at 'fman_mdio': 'fsl,fman-memac-mdio' matches 'fsl,fman-memac-mdio' - found match at 'eth_fman': 'fsl,fman-memac' matches 'fsl,fman-memac' fm_eth_bind - binding fm1-mac4 - found match at 'fman_mdio': 'fsl,fman-memac-mdio' matches 'fsl,fman-memac-mdio' - found match at 'fman_mdio': 'fsl,fman-memac-mdio' matches 'fsl,fman-memac-mdio' - found match at 'fman_mdio': 'fsl,fman-memac-mdio' matches 'fsl,fman-memac-mdio' - found match at 'fman_mdio': 'fsl,fman-memac-mdio' matches 'fsl,fman-memac-mdio' get_boot_src: porsr1 0x12ffffff __get_boot_src: rcw_src 0x25 __get_boot_src: src 0x1 get_boot_src: porsr1 0x12ffffff __get_boot_src: rcw_src 0x25 __get_boot_src: src 0x1 Firmware 'Microcode version 0.0.1 for LS1021a r1.0' for 1021 V1.0 QE: uploading microcode 'Microcode for LS1021a r1.0' version 0.0.1 Now running in RAM - U-Boot at: b7b42000 Core: 16 devices, 5 uclasses, devicetree: separate Using SERDES1 Protocol: 0 (0x0) SERDES1[PRTCL] = 0x0 is not valid Flash: flash detect cfi is= cmd 51(Q) addr 0000000060000010 is= 0 51 is= cmd 51(Q) addr 0000000060000010 is= 0 51 is= cmd 51(Q) addr 0000000060000020 is= 2 51 is= cmd 51(Q) addr 0000000060000020 is= 2 51 is= cmd 51(Q) addr 0000000060000020 is= 0051 5151 is= cmd 51(Q) addr 0000000060000020 is= 0051 5151 is= cmd 51(Q) addr 0000000060000040 is= 0000 5151 is= cmd 51(Q) addr 0000000060000040 is= 0000 5151 is= cmd 51(Q) addr 0000000060000020 is= 0051 0051 is= cmd 52(R) addr 0000000060000022 is= 0052 0052 is= cmd 59(Y) addr 0000000060000024 is= 0059 0059 device interface is 1 found port 2 chip 2 chip_lsb 0 port 16 bits chip 16 bits 00 : 51 52 59 02 00 40 00 00 00 00 00 27 36 85 95 05 QRY..@.....'6... 10 : 09 08 12 03 02 03 03 1c 01 00 0a 00 01 ff 07 00 ................ 20 : 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ info->ext_addr = 0x40, cfi_version = 0x3135 feature = 0x8f manufacturer is 2 manufacturer id is 0x89 device id is 0x227e device id2 is 0x4801 cfi version is 0x3135 size_ratio 1 port 16 bits chip 16 bits found 1 erase regions erase region 0: 0x020007ff erase_region_count = 2048 erase_region_size = 131072 flash_protect ON: from 0x60500000 to 0x6051FFFF protect on 40 256 MiB MMC: 0 - not found get_boot_src: porsr1 0x12ffffff __get_boot_src: rcw_src 0x25 __get_boot_src: src 0x1 Loading Environment from Flash... 1 - 0 'fm1-mac3' - 1 'fm1-mac4' - found 2 - 0 'fm1-mac3' - 1 'fm1-mac4' - not found 0 - 0 'fm1-mac3' - found OK In: serial Out: serial Err: serial SEC0: RNG instantiated Assign to qe-hdlc clk, rcwpmuxcr0=6611 Net: ADIN1300 PHY registerd get_boot_src: porsr1 0x12ffffff __get_boot_src: rcw_src 0x25 __get_boot_src: src 0x1 Fman1: Uploading microcode version 106.4.18 fm_eth_probe enter for dev 00000000b7a3e830 fm_eth 00000000b7a3f580 - fm1-mac3 MAC system interface mode rgmii-id init_memac: @ 0000000001ae4000, mdio @ 0000000000000000 fm_eth_rx_port_parameter_init: rx_buf_pool = 00000000b7a47dc0 Looking for mdio@fc000 Looking for mdio@fc000 - checking mdio@fc000 - result for mdio@fc000: mdio@fc000 (ret=0) - result for mdio@fc000: mdio@fc000 (ret=0) fm_mdio_probe priv 00000000b7a3f830 @ regs 0000000001afc000, pdata 00000000b7a3f850 ADIN1300 PHY adin1300_probe memac_mdio_write(regs 0000000001afc000, port 8, dev -1, reg 0, val 0x8000) fm1-mac3 connected to ADIN1300 adin_ext_write: adin@0x8 0xff1f=0x18 memac_mdio_write(regs 0000000001afc000, port 8, dev -1, reg 16, val 0xff1f) memac_mdio_write(regs 0000000001afc000, port 8, dev -1, reg 17, val 0x18) adin_get_phy_mode_override: adi,phy-mode-override = 'rgmii-id' memac_mdio_write(regs 0000000001afc000, port 8, dev -1, reg 16, val 0xff23) adin_ext_read: adin@0x8 0xff23=0xe07 adin_get_reg_value: adi,rx-internal-delay-ps = '2400' adin_get_reg_value: adi,tx-internal-delay-ps = '2400' adin ADIN1300_GE_RGMII_CFG 0xfff adin_ext_write: adin@0x8 0xff23=0xfff memac_mdio_write(regs 0000000001afc000, port 8, dev -1, reg 16, val 0xff23) memac_mdio_write(regs 0000000001afc000, port 8, dev -1, reg 17, val 0xfff) memac_mdio_write(regs 0000000001afc000, port 8, dev -1, reg 16, val 0xff26) adin_ext_read: adin@0x8 0xff26=0xc86 ADIN1300_PHY_BASIC_CFG_REG 0xc86 ADIN1300_PHY_CNTL_REG 0x2 memac_mdio_write(regs 0000000001afc000, port 8, dev -1, reg 4, val 0x1e1) memac_mdio_write(regs 0000000001afc000, port 8, dev -1, reg 9, val 0x300) memac_mdio_write(regs 0000000001afc000, port 8, dev -1, reg 0, val 0x1240) fm_eth_probe enter for dev 00000000b7a3e9e0 fm_eth 00000000b7a3fa40 - fm1-mac4 MAC system interface mode rgmii-id init_memac: @ 0000000001ae6000, mdio @ 0000000000000000 fm_eth_rx_port_parameter_init: rx_buf_pool = 00000000b7a4bdd0 Looking for mdio@fc000 Looking for mdio@fc000 - checking mdio@fc000 - result for mdio@fc000: mdio@fc000 (ret=0) - result for mdio@fc000: mdio@fc000 (ret=0) ADIN1300 PHY adin1300_probe memac_mdio_write(regs 0000000001afc000, port 12, dev -1, reg 0, val 0x8000) fm1-mac4 connected to ADIN1300 adin_ext_write: adin@0xc 0xff1f=0x18 memac_mdio_write(regs 0000000001afc000, port 12, dev -1, reg 16, val 0xff1f) memac_mdio_write(regs 0000000001afc000, port 12, dev -1, reg 17, val 0x18) adin_get_phy_mode_override: adi,phy-mode-override = 'rgmii-id' memac_mdio_write(regs 0000000001afc000, port 12, dev -1, reg 16, val 0xff23) adin_ext_read: adin@0xc 0xff23=0xe07 adin_get_reg_value: adi,rx-internal-delay-ps = '2400' adin_get_reg_value: adi,tx-internal-delay-ps = '2400' adin ADIN1300_GE_RGMII_CFG 0xfff adin_ext_write: adin@0xc 0xff23=0xfff memac_mdio_write(regs 0000000001afc000, port 12, dev -1, reg 16, val 0xff23) memac_mdio_write(regs 0000000001afc000, port 12, dev -1, reg 17, val 0xfff) memac_mdio_write(regs 0000000001afc000, port 12, dev -1, reg 16, val 0xff26) adin_ext_read: adin@0xc 0xff26=0xc86 ADIN1300_PHY_BASIC_CFG_REG 0xc86 ADIN1300_PHY_CNTL_REG 0x2 memac_mdio_write(regs 0000000001afc000, port 12, dev -1, reg 4, val 0x1e1) memac_mdio_write(regs 0000000001afc000, port 12, dev -1, reg 9, val 0x300) memac_mdio_write(regs 0000000001afc000, port 12, dev -1, reg 0, val 0x1240) eth0: fm1-mac3, eth1: fm1-mac4 Hit any key to stop autoboot: 10  9  0 => tftp 0x81000000 uImage_2_12 0 - 0 'fm1-mac3' - found Trying fm1-mac4 fm1-mac4 Waiting for PHY auto negotiation to complete......... TIMEOUT ! fm1-mac4: Could not initialize FAIL Trying fm1-mac3 memac_set_interface_mode, if_mode = 1006 memac_set_interface_mode, if_status = b000 MAC IF mode 8, speed 100, link 1 Using fm1-mac3 device TFTP from server 192.168.20.54; our IP address is 192.168.20.110 Filename 'uImage_2_12'. Load address: 0x81000000 Loading: *################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ######### 2.6 MiB/s done dev=Net, devnr=, path=uImage_2_12, buffer=0000000081000000, size=16e0240 Wrong FIT format: not a flattened device tree (err=-9) - not remembering image Bytes transferred = 23986752 (16e0240 hex) => => protect off 0x64000000 +16e0240 Un-Protected 184 sectors => erase 0x64000000 +16e0240 ........................................................................................................................................................................................ done Erased 184 sectors => cp.b 0x81000000 0x64000000 16e0240 Copy to Flash... 9....8....7....6....5....4....3....2....1....done => tftp 0x81000000 test_serial_i2c_LB_TX Trying fm1-mac3 memac_set_interface_mode, if_mode = 1006 memac_set_interface_mode, if_status = b000 MAC IF mode 8, speed 100, link 1 Using fm1-mac3 device TFTP from server 192.168.20.54; our IP address is 192.168.20.110 Filename 'test_serial_i2c_LB_TX'. Load address: 0x81000000 Loading: *################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ########## 2.6 MiB/s done dev=Net, devnr=, path=test_serial_i2c_LB_TX, buffer=0000000081000000, size=29fd4e6 Wrong FIT format: not a flattened device tree (err=-9) - not remembering image Bytes transferred = 44029158 (29fd4e6 hex) => 29fd4e6 => protect off 0x66000000 +29fd4e6 Un-Protected 336 sectors => erase 0x66000000 +29fd4e6 ................................................................................................................................................................................................................................................................................................................................................ done Erased 336 sectors => cp.b 0x81000000 0x66000000 29fd4e6 Copy to Flash... 9....8....7....6....5....4....3....2....1....done => tftp 0x81000000 fsl-ls1043a-rdb-sdk_2_12.dtb Trying fm1-mac3 memac_set_interface_mode, if_mode = 1006 memac_set_interface_mode, if_status = b000 MAC IF mode 8, speed 100, link 1 Using fm1-mac3 device TFTP from server 192.168.20.54; our IP address is 192.168.20.110 Filename 'fsl-ls1043a-rdb-sdk_2_12.dtb'. Load address: 0x81000000 Loading: *## 2.9 KiB/s done dev=Net, devnr=, path=fsl-ls1043a-rdb-sdk_2_12.dtb, buffer=0000000081000000, size=4aff Wrong FIT format: no description - not remembering image Bytes transferred = 19199 (4aff hex) => protect off 0x63000000 +4aff Un-Protected 1 sectors => erase 0x63000000 +4aff . done Erased 1 sectors => cp.b 0x81000000 0x63000000 4aff Copy to Flash... 9....8....7....6...done => bootm 0x64000000 0x66000000 0x63000000 ## Booting kernel from Legacy Image at 64000000 ... Image Name: Kernel Image Image Type: AArch64 Linux Kernel Image (uncompressed) Data Size: 23986688 Bytes = 22.9 MiB Load Address: 84080000 Entry Point: 84080000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 66000000 ... Image Name: Ramdisk Image Image Type: AArch64 Linux RAMDisk Image (uncompressed) Data Size: 44029094 Bytes = 42 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Wrong FIT format: no description ## Flattened Device Tree blob at 63000000 Booting using the fdt blob at 0x63000000 Loading Kernel Image Using Device Tree in place at 0000000063000000, end 0000000063017afe WARNING: could not set bootargs FDT_ERR_NOSPACE. ERROR: /chosen node create failed - must RESET the board to recover. FDT creation failed! resetting ...