This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi Experts
I am using am64x soc in my custom board,In which i tired to mmc(emmc) details from u-boot i am facing some issues, i am attaching the images as well,Please help me to solve this issue
Thanks for the support bin
after some configuration changes,now i am able to get the mmc info,emmc is detected, when i try to flash images to emmc via dfu-utils,i am facing some issues
first two images(tiboot3.bin,tispl.bin) download successfully,when i try to load u-boot.img file there is issue.i am attaching snap also
commands i have followed
sudo dfu-util -a tiboot3.bin.raw -D tiboot3.bin
sudo dfu-util -a tispl.bin.raw -D tispl.bin
sudo dfu-util -a u-boot.img.raw -D u-boot.img
sudo dfu-util -a rootfs -D tisdk-base-image-am64xx-evm.rootfs.ext4
your early response is much appreicated
Thank you
Hi,
what is the output of the following commands in u-boot:
=> mmc dev 0
=> mmc info
Also, did you modify any of the following in u-boot:
CONFIG_ENV_SIZE
CONFIG_ENV_OFFSET
CONFIG_ENV_SECT_SIZE
~ Judith
Hi Judith
Thanks for the response
mmc dev 0
mmc info
i didn't modify these configs
CONFIG_ENV_SIZE
CONFIG_ENV_OFFSET
CONFIG_ENV_SECT_SIZE
Hi,
It seems like your boot0 and boot1 hardware partitions are 4MB in size.
The following doc shows eMMC layout: https://software-dl.ti.com/processor-sdk-linux/esd/AM64X/08_06_00_42/exports/docs/linux/Foundational_Components/U-Boot/UG-Memory.html?highlight=emmc#booting-tiboot3-bin-tispl-bin-and-u-boot-img-from-emmc-boot-partition-for-k3-class-of-socs which should be the same that is used for usb-dfu flash to eMMC. It seems like we need a 8MB boot0 hardware partition.
You could increase the size of boot0 or boot1 using the following doc: https://u-boot.readthedocs.io/en/latest/usage/cmd/mmc.html
The ‘mmc bootpart-resize’ command changes sizes of boot and RPMB partitions.
- dev
device number
- boot part size MB
target size of boot partition
- RPMB part size MB
target size of RPMB partition
~ Judith
Hi Judith
i tired with this command but it is not working for me,once i updated the size it will not reflected in mmc info,i am not able to flash image also,same issue
Have you tried power cycling the board to see if changes take effect?
~ Judith
Hi,
Ran into issues trying to change the size of boot0 hardware partition.
It seems like the TI approach has been to modify the images offsets instead of tying to increase size of boot0, the following is an example on how this is done: https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1203212/faq-tda4vm-what-are-the-changes-required-to-fit-boot-images-within-4mb-of-emmc-boot-partition.
Have you considered using booting with MMCSD (eMMC boot from UDA) in fs mode by chance? Since this boot method might be easier for you since your boot0 partition is 4MB size.
~ Judith
My customer followed the FAQ to change deconfig of below items, made 4MB boot partition eMMC worked on AM64x
Hi Tony
Need to change this file am64x_evm_r5_defconfig from 0x800 to 0x1800 ,i am correct ?
No, they are two files. they are default value for 8MByte.
Need to change these two items to suit 4Mbyte, as actually tiboot3.bin, tispl.bin, uboot.img did not occupy so large space. you can change to any offset as long as each section can store each image.
Hii
i have changed images offset and sizes according to my images size,but only tiboot3.bin is booted and other two images are not loaded
here my changes
#define DFU_ALT_INFO_EMMC_COMBINED \
"dfu_alt_info_emmc=" \
"rawemmc raw 0 0x400000 mmcpart 1;" \
"rootfs part 0 1 mmcpart 0;" \
"tiboot3.bin.raw raw 0x0 0x500 mmcpart 1;" \
"tispl.bin.raw raw 0x500 0x701 mmcpart 1;" \
"u-boot.img.raw raw 0xC01 0xBB8 mmcpart 1;" \
"u-env.raw raw 0x17B9 0x100 mmcpart 1\0"
i have change two configuration files also
am64x_evm_r5_defconfig
- CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x800
+ CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x500
am64x_evm_a53_defconfig
- CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x1800
+ CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0xC01
the board logs are
[2023-08-31 15:37:38] U-Boot SPL 2021.01-g2ee8efd654 (Aug 31 2023 - 09:44:52 +0000) [2023-08-31 15:37:38] EEPROM not available at 80, trying to read at 81 [2023-08-31 15:37:38] Reading on-board EEPROM at 0x51 failed 1 [2023-08-31 15:37:38] Resetting on cold boot to workaround ErrataID:i2331 [2023-08-31 15:37:38] resetting ... [2023-08-31 15:39:41] �������������
Seems you changed the log by yourself, the default log should hang on resetting ...,
If that is the case, it should be the eMMC RST pin is not enabled. the eMMC RST pin is not enabled by default/first time.
Here is the FAQ:
The eMMC rest pin should connect to AM6x warm reset out pin.
BTW, you may encounter eMMC stability issue further, need to limited to 50MHz, legacy mode.
Hi Tony
Thanks for the response,Now i am able to boot u-boot images from emmc,but i am facing issue in kernel it got stucked. i am attaching logs
[2023-08-31 19:25:17] U-Boot SPL 2021.01-g2ee8efd654 (Aug 31 2023 - 10:16:26 +0000) [2023-08-31 19:25:17] EEPROM not available at 80, trying to read at 81 [2023-08-31 19:25:17] Reading on-board EEPROM at 0x51 failed 1 [2023-08-31 19:25:17] Resetting on cold boot to workaround ErrataID:i2331 [2023-08-31 19:25:17] resetting ... [2023-08-31 19:25:17] [2023-08-31 19:25:17] U-Boot SPL 2021.01-g2ee8efd654 (Aug 31 2023 - 10:16:26 +0000) [2023-08-31 19:25:17] EEPROM not available at 80, trying to read at 81 [2023-08-31 19:25:17] Reading on-board EEPROM at 0x51 failed 1 [2023-08-31 19:25:17] SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar') [2023-08-31 19:25:17] SPL initial stack usage: 13424 bytes [2023-08-31 19:25:17] Trying to boot from MMC1 [2023-08-31 19:25:18] Authentication passed [2023-08-31 19:25:18] Authentication passed [2023-08-31 19:25:18] Authentication passed [2023-08-31 19:25:18] Authentication passed [2023-08-31 19:25:18] init_env from device 9 not supported! [2023-08-31 19:25:18] Starting ATF on ARM64 core... [2023-08-31 19:25:18] [2023-08-31 19:25:18] NOTICE: BL31: v2.8(release):v2.8-226-g2fcd408bb3-dirty [2023-08-31 19:25:18] NOTICE: BL31: Built : 07:22:02, Aug 31 2023 [2023-08-31 19:25:18] I/TC: [2023-08-31 19:25:18] I/TC: OP-TEE version: 3.20.0 (gcc version 9.2.1 20191025 (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10))) #1 Thu Aug 31 07:22:07 UTC 2023 aarch64 [2023-08-31 19:25:18] I/TC: WARNING: This OP-TEE configuration might be insecure! [2023-08-31 19:25:18] I/TC: WARNING: Please check optee.readthedocs.io/.../porting_gu idelines.html [2023-08-31 19:25:18] I/TC: Primary CPU initializing [2023-08-31 19:25:18] I/TC: SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar') [2023-08-31 19:25:18] I/TC: HUK Initialized [2023-08-31 19:25:18] I/TC: Activated SA2UL device [2023-08-31 19:25:18] I/TC: Enabled firewalls for SA2UL TRNG device [2023-08-31 19:25:18] I/TC: SA2UL TRNG initialized [2023-08-31 19:25:18] I/TC: SA2UL Drivers initialized [2023-08-31 19:25:18] I/TC: Primary CPU switching to normal world boot [2023-08-31 19:25:18] [2023-08-31 19:25:18] U-Boot SPL 2021.01-g2ee8efd654 (Aug 31 2023 - 10:16:42 +0000) [2023-08-31 19:25:18] EEPROM not available at 80, trying to read at 81 [2023-08-31 19:25:18] Reading on-board EEPROM at 0x51 failed 1 [2023-08-31 19:25:18] SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar') [2023-08-31 19:25:18] Trying to boot from MMC1 [2023-08-31 19:25:18] Authentication passed [2023-08-31 19:25:18] Authentication passed [2023-08-31 19:25:19] [2023-08-31 19:25:19] [2023-08-31 19:25:19] U-Boot 2021.01-g2ee8efd654 (Aug 31 2023 - 10:16:42 +0000) [2023-08-31 19:25:19] [2023-08-31 19:25:19] SoC: AM64X SR2.0 HS-FS [2023-08-31 19:25:19] Model: Texas Instruments AM642 EVM [2023-08-31 19:25:19] EEPROM not available at 80, trying to read at 81 [2023-08-31 19:25:19] Reading on-board EEPROM at 0x51 failed 1 [2023-08-31 19:25:19] DRAM: 2 GiB [2023-08-31 19:25:19] NAND: 0 MiB [2023-08-31 19:25:19] MMC: mmc@fa10000: 0, mmc@fa00000: 1 [2023-08-31 19:25:19] Loading Environment from FAT... Unable to use mmc 0:1... In: serial@2800000 [2023-08-31 19:25:19] Out: serial@2800000 [2023-08-31 19:25:19] Err: serial@2800000 [2023-08-31 19:25:19] EEPROM not available at 80, trying to read at 81 [2023-08-31 19:25:19] Reading on-board EEPROM at 0x51 failed 1 [2023-08-31 19:25:19] Net: No ethernet found. [2023-08-31 19:25:19] Hit any key to stop autoboot: 0 [2023-08-31 19:25:21] switch to partitions #0, OK [2023-08-31 19:25:21] mmc0(part 0) is current device [2023-08-31 19:25:21] SD/MMC found on device 0 [2023-08-31 19:25:21] Failed to load 'boot.scr' [2023-08-31 19:25:21] ** Unrecognized filesystem type ** [2023-08-31 19:25:22] 19147264 bytes read in 127 ms (143.8 MiB/s) [2023-08-31 19:25:22] 56196 bytes read in 2 ms (26.8 MiB/s) [2023-08-31 19:25:22] ## Flattened Device Tree blob at 88000000 [2023-08-31 19:25:22] Booting using the fdt blob at 0x88000000 [2023-08-31 19:25:22] Loading Device Tree to 000000008feef000, end 000000008fffffff ... OK [2023-08-31 19:25:22] [2023-08-31 19:25:22] Starting kernel ... [2023-08-31 19:25:22] [2023-08-31 19:25:22] [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034] [2023-08-31 19:25:22] [ 0.000000] Linux version 5.10.168-g2c23e6c538 (oe-user@oe-host) (aarch64-none-linux-gn u-gcc (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 9.2.1 20191025, GNU ld (GNU Toolchai n for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 2.33.1.20191209) #1 SMP PREEMPT Tue Aug 29 17:23:56 UTC 2023 [2023-08-31 19:25:22] [ 0.000000] Machine model: Texas Instruments AM642 EVM [2023-08-31 19:25:22] [ 0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '') [2023-08-31 19:25:22] [ 0.000000] printk: bootconsole [ns16550a0] enabled [2023-08-31 19:25:22] [ 0.000000] efi: UEFI not found. [2023-08-31 19:25:22] [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a0000000, size 1 MiB [2023-08-31 19:25:22] [ 0.000000] OF: reserved mem: initialized node r5f-dma-memory@a0000000, compatible id s hared-dma-pool [2023-08-31 19:25:22] [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a0100000, size 15 MiB [2023-08-31 19:25:22] [ 0.000000] OF: reserved mem: initialized node r5f-memory@a0100000, compatible id share d-dma-pool [2023-08-31 19:25:22] [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a1000000, size 1 MiB [2023-08-31 19:25:22] [ 0.000000] OF: reserved mem: initialized node r5f-dma-memory@a1000000, compatible id s hared-dma-pool [2023-08-31 19:25:22] [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a1100000, size 15 MiB [2023-08-31 19:25:22] [ 0.000000] OF: reserved mem: initialized node r5f-memory@a1100000, compatible id share d-dma-pool [2023-08-31 19:25:22] [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a2000000, size 1 MiB [2023-08-31 19:25:22] [ 0.000000] OF: reserved mem: initialized node r5f-dma-memory@a2000000, compatible id s hared-dma-pool [2023-08-31 19:25:22] [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a2100000, size 15 MiB [2023-08-31 19:25:22] [ 0.000000] OF: reserved mem: initialized node r5f-memory@a2100000, compatible id share d-dma-pool [2023-08-31 19:25:22] [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a3000000, size 1 MiB [2023-08-31 19:25:22] [ 0.000000] OF: reserved mem: initialized node r5f-dma-memory@a3000000, compatible id s hared-dma-pool [2023-08-31 19:25:22] [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a3100000, size 15 MiB [2023-08-31 19:25:22] [ 0.000000] OF: reserved mem: initialized node r5f-memory@a3100000, compatible id share d-dma-pool [2023-08-31 19:25:22] [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a4000000, size 1 MiB [2023-08-31 19:25:22] [ 0.000000] OF: reserved mem: initialized node m4f-dma-memory@a4000000, compatible id s hared-dma-pool [2023-08-31 19:25:22] [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a4100000, size 15 MiB [2023-08-31 19:25:22] [ 0.000000] OF: reserved mem: initialized node m4f-memory@a4100000, compatible id share d-dma-pool [2023-08-31 19:25:22] [ 0.000000] Zone ranges: [2023-08-31 19:25:22] [ 0.000000] DMA [mem 0x0000000080000000-0x00000000ffffffff] [2023-08-31 19:25:22] [ 0.000000] DMA32 empty [2023-08-31 19:25:22] [ 0.000000] Normal empty [2023-08-31 19:25:22] [ 0.000000] Movable zone start for each node [2023-08-31 19:25:22] [ 0.000000] Early memory node ranges [2023-08-31 19:25:22] [ 0.000000] node 0: [mem 0x0000000080000000-0x000000009e7fffff] [2023-08-31 19:25:22] [ 0.000000] node 0: [mem 0x000000009e800000-0x00000000a57fffff] [2023-08-31 19:25:22] [ 0.000000] node 0: [mem 0x00000000a5800000-0x00000000ffffffff] [2023-08-31 19:25:22] [ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000ffffffff] [2023-08-31 19:25:22] [ 0.000000] cma: Reserved 512 MiB at 0x00000000dd000000 [2023-08-31 19:25:22] [ 0.000000] psci: probing for conduit method from DT. [2023-08-31 19:25:22] [ 0.000000] psci: PSCIv1.1 detected in firmware. [2023-08-31 19:25:22] [ 0.000000] psci: Using standard PSCI v0.2 function IDs [2023-08-31 19:25:22] [ 0.000000] psci: Trusted OS migration not required [2023-08-31 19:25:22] [ 0.000000] psci: SMC Calling Convention v1.2 [2023-08-31 19:25:22] [ 0.000000] percpu: Embedded 22 pages/cpu s51288 r8192 d30632 u90112 [2023-08-31 19:25:22] [ 0.000000] Detected VIPT I-cache on CPU0 [2023-08-31 19:25:22] [ 0.000000] CPU features: detected: ARM erratum 845719 [2023-08-31 19:25:22] [ 0.000000] CPU features: detected: GIC system register CPU interface [2023-08-31 19:25:22] [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 516096 [2023-08-31 19:25:22] [ 0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x0280 0000 mtdparts=fc40000.spi.0:1m(ospi.tiboot3),2m(ospi.tispl),4m(ospi.u-boot),256k(ospi.env),256k(ospi.env.backup) ,57088k@8m(ospi.rootfs),256k(ospi.phypattern);omap2-nand.0:2m(NAND.tiboot3),2m(NAND.tispl),2m(NAND.tiboot3.backu p),4m(NAND.u-boot),256k(NAND.u-boot-env),256k(NAND.u-boot-env.backup),-(NAND.file-system) root=PARTUUID=9d2a2a8d -30b0-d747-b82f-341371eebf4c rw rootfstype=ext4 rootwait [2023-08-31 19:25:22] [ 0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear) [2023-08-31 19:25:22] [ 0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear) [2023-08-31 19:25:22] [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [2023-08-31 19:25:22] [ 0.000000] Memory: 1398792K/2097152K available (11200K kernel code, 1162K rwdata, 4308 K rodata, 1920K init, 431K bss, 174072K reserved, 524288K cma-reserved) [2023-08-31 19:25:22] [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 [2023-08-31 19:25:22] [ 0.000000] rcu: Preemptible hierarchical RCU implementation. [2023-08-31 19:25:22] [ 0.000000] rcu: RCU event tracing is enabled. [2023-08-31 19:25:22] [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=2. [2023-08-31 19:25:22] [ 0.000000] Trampoline variant of Tasks RCU enabled. [2023-08-31 19:25:22] [ 0.000000] Tracing variant of Tasks RCU enabled. [2023-08-31 19:25:22] [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies. [2023-08-31 19:25:22] [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2 [2023-08-31 19:25:22] [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 [2023-08-31 19:25:22] [ 0.000000] GICv3: GIC: Using split EOI/Deactivate mode [2023-08-31 19:25:22] [ 0.000000] GICv3: 256 SPIs implemented [2023-08-31 19:25:22] [ 0.000000] GICv3: 0 Extended SPIs implemented [2023-08-31 19:25:22] [ 0.000000] GICv3: Distributor has no Range Selector support [2023-08-31 19:25:22] [ 0.000000] GICv3: 16 PPIs implemented [2023-08-31 19:25:22] [ 0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001840000 [2023-08-31 19:25:22] [ 0.000000] ITS [mem 0x01820000-0x0182ffff] [2023-08-31 19:25:22] [ 0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS [2023-08-31 19:25:22] [ 0.000000] ITS@0x0000000001820000: Devices Table too large, reduce ids 20->19 [2023-08-31 19:25:22] [ 0.000000] ITS@0x0000000001820000: allocated 524288 Devices @80800000 (flat, esz 8, ps z 64K, shr 0) [2023-08-31 19:25:22] [ 0.000000] ITS: using cache flushing for cmd queue [2023-08-31 19:25:22] [ 0.000000] GICv3: using LPI property table @0x0000000080030000 [2023-08-31 19:25:22] [ 0.000000] GIC: using cache flushing for LPI property table [2023-08-31 19:25:22] [ 0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000080040000 [2023-08-31 19:25:22] [ 0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys). [2023-08-31 19:25:22] [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2e2049d 3e8, max_idle_ns: 440795210634 ns [2023-08-31 19:25:22] [ 0.000005] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns [2023-08-31 19:25:22] [ 0.008601] Console: colour dummy device 80x25 [2023-08-31 19:25:22] [ 0.013203] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000) [2023-08-31 19:25:22] [ 0.023880] pid_max: default: 32768 minimum: 301 [2023-08-31 19:25:22] [ 0.028708] LSM: Security Framework initializing [2023-08-31 19:25:22] [ 0.033501] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [2023-08-31 19:25:22] [ 0.041081] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [2023-08-31 19:25:22] [ 0.051179] rcu: Hierarchical SRCU implementation. [2023-08-31 19:25:22] [ 0.056475] Platform MSI: msi-controller@1820000 domain created [2023-08-31 19:25:22] [ 0.062894] PCI/MSI: /bus@f4000/interrupt-controller@1800000/msi-controller@1820000 dom ain created [2023-08-31 19:25:22] [ 0.072200] EFI services will not be available. [2023-08-31 19:25:22] [ 0.077147] smp: Bringing up secondary CPUs ... [2023-08-31 19:25:22] I/TC: Secondary CPU 1 initializing [2023-08-31 19:25:22] I/TC: Secondary CPU 1 switching to normal world boot [2023-08-31 19:25:23] [ 0.090784] Detected VIPT I-cache on CPU1 [2023-08-31 19:25:23] [ 0.090827] GICv3: CPU1: found redistributor 1 region 0:0x0000000001860000 [2023-08-31 19:25:23] [ 0.090843] GICv3: CPU1: using allocated LPI pending table @0x0000000080050000 [2023-08-31 19:25:23] [ 0.090913] CPU1: Booted secondary processor 0x0000000001 [0x410fd034] [2023-08-31 19:25:23] [ 0.091059] smp: Brought up 1 node, 2 CPUs [2023-08-31 19:25:23] [ 0.120452] SMP: Total of 2 processors activated. [2023-08-31 19:25:23] [ 0.125264] CPU features: detected: 32-bit EL0 Support [2023-08-31 19:25:23] [ 0.130537] CPU features: detected: CRC32 instructions [2023-08-31 19:25:23] [ 0.144306] CPU: All CPU(s) started at EL2 [2023-08-31 19:25:23] [ 0.148516] alternatives: patching kernel code [2023-08-31 19:25:23] [ 0.154394] devtmpfs: initialized [2023-08-31 19:25:23] [ 0.166521] KASLR disabled due to lack of seed [2023-08-31 19:25:23] [ 0.171346] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [2023-08-31 19:25:23] [ 0.181322] futex hash table entries: 512 (order: 3, 32768 bytes, linear) [2023-08-31 19:25:23] [ 0.207029] pinctrl core: initialized pinctrl subsystem [2023-08-31 19:25:23] [ 0.213155] DMI not present or invalid. [2023-08-31 19:25:23] [ 0.217930] NET: Registered protocol family 16 [2023-08-31 19:25:23] [ 0.224433] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations [2023-08-31 19:25:23] [ 0.231836] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations [2023-08-31 19:25:23] [ 0.239936] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations [2023-08-31 19:25:23] [ 0.248764] thermal_sys: Registered thermal governor 'step_wise' [2023-08-31 19:25:23] [ 0.248772] thermal_sys: Registered thermal governor 'power_allocator' [2023-08-31 19:25:23] [ 0.255418] cpuidle: using governor menu [2023-08-31 19:25:23] [ 0.266408] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [2023-08-31 19:25:23] [ 0.273430] ASID allocator initialised with 65536 entries [2023-08-31 19:25:23] [ 0.309644] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages [2023-08-31 19:25:23] [ 0.316537] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages [2023-08-31 19:25:23] [ 0.323387] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages [2023-08-31 19:25:23] [ 0.330236] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages [2023-08-31 19:25:23] [ 0.338553] cryptd: max_cpu_qlen set to 1000 [2023-08-31 19:25:23] [ 0.346686] k3-chipinfo 43000014.chipid: Family:AM64X rev:SR2.0 JTAGID[0x1bb3802f] Dete cted [2023-08-31 19:25:23] [ 0.355942] vsys_5v0: supplied by evm_12v0 [2023-08-31 19:25:23] [ 0.360736] vsys_3v3: supplied by evm_12v0 [2023-08-31 19:25:23] [ 0.365685] vddb_3v3_display: supplied by vsys_3v3 [2023-08-31 19:25:23] [ 0.372037] iommu: Default domain type: Translated [2023-08-31 19:25:23] [ 0.377499] SCSI subsystem initialized [2023-08-31 19:25:23] [ 0.382092] mc: Linux media interface: v0.10 [2023-08-31 19:25:23] [ 0.386494] videodev: Linux video capture interface: v2.00 [2023-08-31 19:25:23] [ 0.392201] pps_core: LinuxPPS API ver. 1 registered [2023-08-31 19:25:23] [ 0.397273] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giome tti@linux.it> [2023-08-31 19:25:23] [ 0.406625] PTP clock support registered [2023-08-31 19:25:23] [ 0.410666] EDAC MC: Ver: 3.0.0 [2023-08-31 19:25:23] [ 0.414901] omap-mailbox 29020000.mailbox: omap mailbox rev 0x66fc9100 [2023-08-31 19:25:23] [ 0.421832] omap-mailbox 29040000.mailbox: omap mailbox rev 0x66fc9100 [2023-08-31 19:25:23] [ 0.428669] omap-mailbox 29060000.mailbox: omap mailbox rev 0x66fc9100 [2023-08-31 19:25:23] [ 0.436292] FPGA manager framework [2023-08-31 19:25:23] [ 0.439899] Advanced Linux Sound Architecture Driver Initialized. [2023-08-31 19:25:23] [ 0.447388] clocksource: Switched to clocksource arch_sys_counter [2023-08-31 19:25:23] [ 0.454031] VFS: Disk quotas dquot_6.6.0 [2023-08-31 19:25:23] [ 0.458121] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [2023-08-31 19:25:23] [ 0.471776] NET: Registered protocol family 2 [2023-08-31 19:25:23] [ 0.476571] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear) [2023-08-31 19:25:23] [ 0.485665] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, l inear) [2023-08-31 19:25:23] [ 0.494480] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear) [2023-08-31 19:25:23] [ 0.502711] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear) [2023-08-31 19:25:23] [ 0.510518] TCP: Hash tables configured (established 16384 bind 16384) [2023-08-31 19:25:23] [ 0.517498] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear) [2023-08-31 19:25:23] [ 0.524403] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear) [2023-08-31 19:25:23] [ 0.531936] NET: Registered protocol family 1 [2023-08-31 19:25:23] [ 0.537089] RPC: Registered named UNIX socket transport module. [2023-08-31 19:25:23] [ 0.543173] RPC: Registered udp transport module. [2023-08-31 19:25:23] [ 0.547984] RPC: Registered tcp transport module. [2023-08-31 19:25:23] [ 0.552798] RPC: Registered tcp NFSv4.1 backchannel transport module. [2023-08-31 19:25:23] [ 0.559389] NET: Registered protocol family 44 [2023-08-31 19:25:23] [ 0.563947] PCI: CLS 0 bytes, default 64 [2023-08-31 19:25:23] [ 0.568826] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters availab le [2023-08-31 19:25:23] [ 0.582031] Initialise system trusted keyrings [2023-08-31 19:25:23] [ 0.586924] workingset: timestamp_bits=46 max_order=19 bucket_order=0 [2023-08-31 19:25:23] [ 0.598046] squashfs: version 4.0 (2009/01/31) Phillip Lougher [2023-08-31 19:25:23] [ 0.604898] NFS: Registering the id_resolver key type [2023-08-31 19:25:23] [ 0.610178] Key type id_resolver registered [2023-08-31 19:25:23] [ 0.614482] Key type id_legacy registered [2023-08-31 19:25:23] [ 0.618670] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [2023-08-31 19:25:23] [ 0.625525] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... [2023-08-31 19:25:23] [ 0.633338] 9p: Installing v9fs 9p2000 file system support [2023-08-31 19:25:23] [ 0.682086] Key type asymmetric registered [2023-08-31 19:25:23] [ 0.686299] Asymmetric key parser 'x509' registered [2023-08-31 19:25:23] [ 0.691351] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243) [2023-08-31 19:25:23] [ 0.698921] io scheduler mq-deadline registered [2023-08-31 19:25:23] [ 0.703555] io scheduler kyber registered [2023-08-31 19:25:23] [ 0.710323] pinctrl-single 4084000.pinctrl: 33 pins, size 132 [2023-08-31 19:25:23] [ 0.716840] pinctrl-single f4000.pinctrl: 180 pins, size 720 [2023-08-31 19:25:23] [ 0.723899] pinctrl-single a40000.timesync-router: 512 pins, size 2048 [2023-08-31 19:25:23] [ 0.741223] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled [2023-08-31 19:25:23] [ 0.765239] brd: module loaded [2023-08-31 19:25:23] [ 0.777410] loop: module loaded [2023-08-31 19:25:23] [ 0.781816] megasas: 07.714.04.00-rc1 [2023-08-31 19:25:23] [ 0.790523] tun: Universal TUN/TAP device driver, 1.6 [2023-08-31 19:25:23] [ 0.796556] igbvf: Intel(R) Gigabit Virtual Function Network Driver [2023-08-31 19:25:23] [ 0.802993] igbvf: Copyright (c) 2009 - 2012 Intel Corporation. [2023-08-31 19:25:23] [ 0.809138] sky2: driver version 1.30
Did you revised dts according to your board? especially need to remove I2C Io expander, mux from dts if your own board doesn't have it.
Hi Tony
yes i have removed IO expander and after we forwarded and got stucked again, i am attaching logs
one more thing we are not using mmc1(SD card),using mmc 0 (emmc) only
[2023-09-01 12:35:45] U-Boot SPL 2021.01-g2ee8efd654 (Aug 31 2023 - 10:16:26 +0000) [2023-09-01 12:35:45] EEPROM not available at 80, trying to read at 81 [2023-09-01 12:35:45] Reading on-board EEPROM at 0x51 failed 1 [2023-09-01 12:35:45] Resetting on cold boot to workaround ErrataID:i2331 [2023-09-01 12:35:45] resetting ... [2023-09-01 12:35:45] [2023-09-01 12:35:45] U-Boot SPL 2021.01-g2ee8efd654 (Aug 31 2023 - 10:16:26 +0000) [2023-09-01 12:35:45] EEPROM not available at 80, trying to read at 81 [2023-09-01 12:35:45] Reading on-board EEPROM at 0x51 failed 1 [2023-09-01 12:35:45] SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar') [2023-09-01 12:35:45] SPL initial stack usage: 13424 bytes [2023-09-01 12:35:45] Trying to boot from MMC1 [2023-09-01 12:35:45] Authentication passed [2023-09-01 12:35:45] Authentication passed [2023-09-01 12:35:45] Authentication passed [2023-09-01 12:35:45] Authentication passed [2023-09-01 12:35:46] init_env from device 9 not supported! [2023-09-01 12:35:46] Starting ATF on ARM64 core... [2023-09-01 12:35:46] [2023-09-01 12:35:46] NOTICE: BL31: v2.8(release):v2.8-226-g2fcd408bb3-dirty [2023-09-01 12:35:46] NOTICE: BL31: Built : 07:22:02, Aug 31 2023 [2023-09-01 12:35:46] I/TC: [2023-09-01 12:35:46] I/TC: OP-TEE version: 3.20.0 (gcc version 9.2.1 20191025 (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10))) #1 Thu Aug 31 07:22:07 UTC 2023 aarch64 [2023-09-01 12:35:46] I/TC: WARNING: This OP-TEE configuration might be insecure! [2023-09-01 12:35:46] I/TC: WARNING: Please check optee.readthedocs.io/.../porting_gu idelines.html [2023-09-01 12:35:46] I/TC: Primary CPU initializing [2023-09-01 12:35:46] I/TC: SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar') [2023-09-01 12:35:46] I/TC: HUK Initialized [2023-09-01 12:35:46] I/TC: Activated SA2UL device [2023-09-01 12:35:46] I/TC: Enabled firewalls for SA2UL TRNG device [2023-09-01 12:35:46] I/TC: SA2UL TRNG initialized [2023-09-01 12:35:46] I/TC: SA2UL Drivers initialized [2023-09-01 12:35:46] I/TC: Primary CPU switching to normal world boot [2023-09-01 12:35:46] [2023-09-01 12:35:46] U-Boot SPL 2021.01-g2ee8efd654 (Aug 31 2023 - 10:16:42 +0000) [2023-09-01 12:35:46] EEPROM not available at 80, trying to read at 81 [2023-09-01 12:35:46] Reading on-board EEPROM at 0x51 failed 1 [2023-09-01 12:35:46] SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar') [2023-09-01 12:35:46] Trying to boot from MMC1 [2023-09-01 12:35:46] Authentication passed [2023-09-01 12:35:46] Authentication passed [2023-09-01 12:35:47] [2023-09-01 12:35:47] [2023-09-01 12:35:47] U-Boot 2021.01-g2ee8efd654 (Aug 31 2023 - 10:16:42 +0000) [2023-09-01 12:35:47] [2023-09-01 12:35:47] SoC: AM64X SR2.0 HS-FS [2023-09-01 12:35:47] Model: Texas Instruments AM642 EVM [2023-09-01 12:35:47] EEPROM not available at 80, trying to read at 81 [2023-09-01 12:35:47] Reading on-board EEPROM at 0x51 failed 1 [2023-09-01 12:35:47] DRAM: 2 GiB [2023-09-01 12:35:47] NAND: 0 MiB [2023-09-01 12:35:47] MMC: mmc@fa10000: 0, mmc@fa00000: 1 [2023-09-01 12:35:47] Loading Environment from FAT... Unable to use mmc 0:1... In: serial@2800000 [2023-09-01 12:35:47] Out: serial@2800000 [2023-09-01 12:35:47] Err: serial@2800000 [2023-09-01 12:35:47] EEPROM not available at 80, trying to read at 81 [2023-09-01 12:35:47] Reading on-board EEPROM at 0x51 failed 1 [2023-09-01 12:35:47] Net: No ethernet found. [2023-09-01 12:35:47] Hit any key to stop autoboot: 0 [2023-09-01 12:35:47] => [2023-09-01 12:35:48] => setenv mmcdev 0 [2023-09-01 12:35:56] => setenv bootpart 0 [2023-09-01 12:35:59] => boot [2023-09-01 12:36:01] switch to partitions #0, OK [2023-09-01 12:36:01] mmc0(part 0) is current device [2023-09-01 12:36:01] SD/MMC found on device 0 [2023-09-01 12:36:01] Failed to load 'boot.scr' [2023-09-01 12:36:01] ** Unrecognized filesystem type ** [2023-09-01 12:36:01] 19147264 bytes read in 127 ms (143.8 MiB/s) [2023-09-01 12:36:01] 53990 bytes read in 2 ms (25.7 MiB/s) [2023-09-01 12:36:01] ## Flattened Device Tree blob at 88000000 [2023-09-01 12:36:01] Booting using the fdt blob at 0x88000000 [2023-09-01 12:36:01] Loading Device Tree to 000000008feef000, end 000000008fffffff ... OK [2023-09-01 12:36:01] [2023-09-01 12:36:01] Starting kernel ... [2023-09-01 12:36:01] [2023-09-01 12:36:01] [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034] [2023-09-01 12:36:01] [ 0.000000] Linux version 5.10.168-g2c23e6c538 (oe-user@oe-host) (aarch64-none-linux-gn u-gcc (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 9.2.1 20191025, GNU ld (GNU Toolchai n for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 2.33.1.20191209) #1 SMP PREEMPT Fri Sep 1 06:38:17 UTC 2023 [2023-09-01 12:36:01] [ 0.000000] Machine model: Texas Instruments AM642 EVM [2023-09-01 12:36:01] [ 0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '') [2023-09-01 12:36:01] [ 0.000000] printk: bootconsole [ns16550a0] enabled [2023-09-01 12:36:01] [ 0.000000] efi: UEFI not found. [2023-09-01 12:36:01] [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a0000000, size 1 MiB [2023-09-01 12:36:01] [ 0.000000] OF: reserved mem: initialized node r5f-dma-memory@a0000000, compatible id s hared-dma-pool [2023-09-01 12:36:01] [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a0100000, size 15 MiB [2023-09-01 12:36:01] [ 0.000000] OF: reserved mem: initialized node r5f-memory@a0100000, compatible id share d-dma-pool [2023-09-01 12:36:01] [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a1000000, size 1 MiB [2023-09-01 12:36:01] [ 0.000000] OF: reserved mem: initialized node r5f-dma-memory@a1000000, compatible id s hared-dma-pool [2023-09-01 12:36:01] [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a1100000, size 15 MiB [2023-09-01 12:36:01] [ 0.000000] OF: reserved mem: initialized node r5f-memory@a1100000, compatible id share d-dma-pool [2023-09-01 12:36:01] [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a2000000, size 1 MiB [2023-09-01 12:36:01] [ 0.000000] OF: reserved mem: initialized node r5f-dma-memory@a2000000, compatible id s hared-dma-pool [2023-09-01 12:36:01] [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a2100000, size 15 MiB [2023-09-01 12:36:01] [ 0.000000] OF: reserved mem: initialized node r5f-memory@a2100000, compatible id share d-dma-pool [2023-09-01 12:36:01] [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a3000000, size 1 MiB [2023-09-01 12:36:01] [ 0.000000] OF: reserved mem: initialized node r5f-dma-memory@a3000000, compatible id s hared-dma-pool [2023-09-01 12:36:02] [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a3100000, size 15 MiB [2023-09-01 12:36:02] [ 0.000000] OF: reserved mem: initialized node r5f-memory@a3100000, compatible id share d-dma-pool [2023-09-01 12:36:02] [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a4000000, size 1 MiB [2023-09-01 12:36:02] [ 0.000000] OF: reserved mem: initialized node m4f-dma-memory@a4000000, compatible id s hared-dma-pool [2023-09-01 12:36:02] [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a4100000, size 15 MiB [2023-09-01 12:36:02] [ 0.000000] OF: reserved mem: initialized node m4f-memory@a4100000, compatible id share d-dma-pool [2023-09-01 12:36:02] [ 0.000000] Zone ranges: [2023-09-01 12:36:02] [ 0.000000] DMA [mem 0x0000000080000000-0x00000000ffffffff] [2023-09-01 12:36:02] [ 0.000000] DMA32 empty [2023-09-01 12:36:02] [ 0.000000] Normal empty [2023-09-01 12:36:02] [ 0.000000] Movable zone start for each node [2023-09-01 12:36:02] [ 0.000000] Early memory node ranges [2023-09-01 12:36:02] [ 0.000000] node 0: [mem 0x0000000080000000-0x000000009e7fffff] [2023-09-01 12:36:02] [ 0.000000] node 0: [mem 0x000000009e800000-0x00000000a57fffff] [2023-09-01 12:36:02] [ 0.000000] node 0: [mem 0x00000000a5800000-0x00000000ffffffff] [2023-09-01 12:36:02] [ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000ffffffff] [2023-09-01 12:36:02] [ 0.000000] cma: Reserved 512 MiB at 0x00000000dd000000 [2023-09-01 12:36:02] [ 0.000000] psci: probing for conduit method from DT. [2023-09-01 12:36:02] [ 0.000000] psci: PSCIv1.1 detected in firmware. [2023-09-01 12:36:02] [ 0.000000] psci: Using standard PSCI v0.2 function IDs [2023-09-01 12:36:02] [ 0.000000] psci: Trusted OS migration not required [2023-09-01 12:36:02] [ 0.000000] psci: SMC Calling Convention v1.2 [2023-09-01 12:36:02] [ 0.000000] percpu: Embedded 22 pages/cpu s51288 r8192 d30632 u90112 [2023-09-01 12:36:02] [ 0.000000] Detected VIPT I-cache on CPU0 [2023-09-01 12:36:02] [ 0.000000] CPU features: detected: ARM erratum 845719 [2023-09-01 12:36:02] [ 0.000000] CPU features: detected: GIC system register CPU interface [2023-09-01 12:36:02] [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 516096 [2023-09-01 12:36:02] [ 0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x0280 0000 mtdparts=fc40000.spi.0:1m(ospi.tiboot3),2m(ospi.tispl),4m(ospi.u-boot),256k(ospi.env),256k(ospi.env.backup) ,57088k@8m(ospi.rootfs),256k(ospi.phypattern);omap2-nand.0:2m(NAND.tiboot3),2m(NAND.tispl),2m(NAND.tiboot3.backu p),4m(NAND.u-boot),256k(NAND.u-boot-env),256k(NAND.u-boot-env.backup),-(NAND.file-system) root=PARTUUID=5ca24813 -3ba3-4da8-999c-db9833cc368d rw rootfstype=ext4 rootwait [2023-09-01 12:36:02] [ 0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear) [2023-09-01 12:36:02] [ 0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear) [2023-09-01 12:36:02] [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [2023-09-01 12:36:02] [ 0.000000] Memory: 1398796K/2097152K available (11200K kernel code, 1162K rwdata, 4308 K rodata, 1920K init, 431K bss, 174068K reserved, 524288K cma-reserved) [2023-09-01 12:36:02] [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 [2023-09-01 12:36:02] [ 0.000000] rcu: Preemptible hierarchical RCU implementation. [2023-09-01 12:36:02] [ 0.000000] rcu: RCU event tracing is enabled. [2023-09-01 12:36:02] [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=2. [2023-09-01 12:36:02] [ 0.000000] Trampoline variant of Tasks RCU enabled. [2023-09-01 12:36:02] [ 0.000000] Tracing variant of Tasks RCU enabled. [2023-09-01 12:36:02] [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies. [2023-09-01 12:36:02] [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2 [2023-09-01 12:36:02] [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 [2023-09-01 12:36:02] [ 0.000000] GICv3: GIC: Using split EOI/Deactivate mode [2023-09-01 12:36:02] [ 0.000000] GICv3: 256 SPIs implemented [2023-09-01 12:36:02] [ 0.000000] GICv3: 0 Extended SPIs implemented [2023-09-01 12:36:02] [ 0.000000] GICv3: Distributor has no Range Selector support [2023-09-01 12:36:02] [ 0.000000] GICv3: 16 PPIs implemented [2023-09-01 12:36:02] [ 0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001840000 [2023-09-01 12:36:02] [ 0.000000] ITS [mem 0x01820000-0x0182ffff] [2023-09-01 12:36:02] [ 0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS [2023-09-01 12:36:02] [ 0.000000] ITS@0x0000000001820000: Devices Table too large, reduce ids 20->19 [2023-09-01 12:36:02] [ 0.000000] ITS@0x0000000001820000: allocated 524288 Devices @80800000 (flat, esz 8, ps z 64K, shr 0) [2023-09-01 12:36:02] [ 0.000000] ITS: using cache flushing for cmd queue [2023-09-01 12:36:02] [ 0.000000] GICv3: using LPI property table @0x0000000080030000 [2023-09-01 12:36:02] [ 0.000000] GIC: using cache flushing for LPI property table [2023-09-01 12:36:02] [ 0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000080040000 [2023-09-01 12:36:02] [ 0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys). [2023-09-01 12:36:02] [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2e2049d 3e8, max_idle_ns: 440795210634 ns [2023-09-01 12:36:02] [ 0.000005] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns [2023-09-01 12:36:02] [ 0.008590] Console: colour dummy device 80x25 [2023-09-01 12:36:02] [ 0.013192] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000) [2023-09-01 12:36:02] [ 0.023869] pid_max: default: 32768 minimum: 301 [2023-09-01 12:36:02] [ 0.028705] LSM: Security Framework initializing [2023-09-01 12:36:02] [ 0.033499] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [2023-09-01 12:36:02] [ 0.041080] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [2023-09-01 12:36:02] [ 0.051191] rcu: Hierarchical SRCU implementation. [2023-09-01 12:36:02] [ 0.056479] Platform MSI: msi-controller@1820000 domain created [2023-09-01 12:36:02] [ 0.062903] PCI/MSI: /bus@f4000/interrupt-controller@1800000/msi-controller@1820000 dom ain created [2023-09-01 12:36:02] [ 0.072219] EFI services will not be available. [2023-09-01 12:36:02] [ 0.077166] smp: Bringing up secondary CPUs ... [2023-09-01 12:36:02] I/TC: Secondary CPU 1 initializing [2023-09-01 12:36:02] I/TC: Secondary CPU 1 switching to normal world boot [2023-09-01 12:36:02] [ 0.090802] Detected VIPT I-cache on CPU1 [2023-09-01 12:36:02] [ 0.090847] GICv3: CPU1: found redistributor 1 region 0:0x0000000001860000 [2023-09-01 12:36:02] [ 0.090862] GICv3: CPU1: using allocated LPI pending table @0x0000000080050000 [2023-09-01 12:36:02] [ 0.090934] CPU1: Booted secondary processor 0x0000000001 [0x410fd034] [2023-09-01 12:36:02] [ 0.091076] smp: Brought up 1 node, 2 CPUs [2023-09-01 12:36:02] [ 0.120465] SMP: Total of 2 processors activated. [2023-09-01 12:36:02] [ 0.125278] CPU features: detected: 32-bit EL0 Support [2023-09-01 12:36:02] [ 0.130553] CPU features: detected: CRC32 instructions [2023-09-01 12:36:02] [ 0.144305] CPU: All CPU(s) started at EL2 [2023-09-01 12:36:02] [ 0.148514] alternatives: patching kernel code [2023-09-01 12:36:02] [ 0.154388] devtmpfs: initialized [2023-09-01 12:36:02] [ 0.166305] KASLR disabled due to lack of seed [2023-09-01 12:36:02] [ 0.171139] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [2023-09-01 12:36:02] [ 0.181119] futex hash table entries: 512 (order: 3, 32768 bytes, linear) [2023-09-01 12:36:02] [ 0.206855] pinctrl core: initialized pinctrl subsystem [2023-09-01 12:36:02] [ 0.212995] DMI not present or invalid. [2023-09-01 12:36:02] [ 0.217779] NET: Registered protocol family 16 [2023-09-01 12:36:02] [ 0.224295] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations [2023-09-01 12:36:02] [ 0.231696] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations [2023-09-01 12:36:02] [ 0.239798] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations [2023-09-01 12:36:02] [ 0.248617] thermal_sys: Registered thermal governor 'step_wise' [2023-09-01 12:36:02] [ 0.248626] thermal_sys: Registered thermal governor 'power_allocator' [2023-09-01 12:36:02] [ 0.255270] cpuidle: using governor menu [2023-09-01 12:36:02] [ 0.266268] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [2023-09-01 12:36:02] [ 0.273286] ASID allocator initialised with 65536 entries [2023-09-01 12:36:02] [ 0.308751] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages [2023-09-01 12:36:02] [ 0.315634] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages [2023-09-01 12:36:02] [ 0.322484] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages [2023-09-01 12:36:02] [ 0.329331] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages [2023-09-01 12:36:02] [ 0.337637] cryptd: max_cpu_qlen set to 1000 [2023-09-01 12:36:02] [ 0.345831] k3-chipinfo 43000014.chipid: Family:AM64X rev:SR2.0 JTAGID[0x1bb3802f] Dete cted [2023-09-01 12:36:02] [ 0.355161] vsys_5v0: supplied by evm_12v0 [2023-09-01 12:36:02] [ 0.360064] vsys_3v3: supplied by evm_12v0 [2023-09-01 12:36:02] [ 0.364906] vdd_mmc1: supplied by vsys_3v3 [2023-09-01 12:36:02] [ 0.369708] vddb_3v3_display: supplied by vsys_3v3 [2023-09-01 12:36:02] [ 0.376002] iommu: Default domain type: Translated [2023-09-01 12:36:02] [ 0.381477] SCSI subsystem initialized [2023-09-01 12:36:02] [ 0.386079] mc: Linux media interface: v0.10 [2023-09-01 12:36:02] [ 0.390484] videodev: Linux video capture interface: v2.00 [2023-09-01 12:36:02] [ 0.396205] pps_core: LinuxPPS API ver. 1 registered [2023-09-01 12:36:02] [ 0.401279] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giome tti@linux.it> [2023-09-01 12:36:02] [ 0.410626] PTP clock support registered [2023-09-01 12:36:02] [ 0.414668] EDAC MC: Ver: 3.0.0 [2023-09-01 12:36:02] [ 0.418847] omap-mailbox 29020000.mailbox: omap mailbox rev 0x66fc9100 [2023-09-01 12:36:02] [ 0.425791] omap-mailbox 29040000.mailbox: omap mailbox rev 0x66fc9100 [2023-09-01 12:36:02] [ 0.432621] omap-mailbox 29060000.mailbox: omap mailbox rev 0x66fc9100 [2023-09-01 12:36:02] [ 0.440278] FPGA manager framework [2023-09-01 12:36:02] [ 0.443895] Advanced Linux Sound Architecture Driver Initialized. [2023-09-01 12:36:02] [ 0.451411] clocksource: Switched to clocksource arch_sys_counter [2023-09-01 12:36:02] [ 0.457940] VFS: Disk quotas dquot_6.6.0 [2023-09-01 12:36:02] [ 0.462025] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [2023-09-01 12:36:03] [ 0.475726] NET: Registered protocol family 2 [2023-09-01 12:36:03] [ 0.480514] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear) [2023-09-01 12:36:03] [ 0.489639] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, l inear) [2023-09-01 12:36:03] [ 0.498451] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear) [2023-09-01 12:36:03] [ 0.506688] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear) [2023-09-01 12:36:03] [ 0.514494] TCP: Hash tables configured (established 16384 bind 16384) [2023-09-01 12:36:03] [ 0.521471] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear) [2023-09-01 12:36:03] [ 0.528385] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear) [2023-09-01 12:36:03] [ 0.535917] NET: Registered protocol family 1 [2023-09-01 12:36:03] [ 0.541063] RPC: Registered named UNIX socket transport module. [2023-09-01 12:36:03] [ 0.547150] RPC: Registered udp transport module. [2023-09-01 12:36:03] [ 0.551963] RPC: Registered tcp transport module. [2023-09-01 12:36:03] [ 0.556777] RPC: Registered tcp NFSv4.1 backchannel transport module. [2023-09-01 12:36:03] [ 0.563371] NET: Registered protocol family 44 [2023-09-01 12:36:03] [ 0.567930] PCI: CLS 0 bytes, default 64 [2023-09-01 12:36:03] [ 0.572830] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters availab le [2023-09-01 12:36:03] [ 0.586095] Initialise system trusted keyrings [2023-09-01 12:36:03] [ 0.591020] workingset: timestamp_bits=46 max_order=19 bucket_order=0 [2023-09-01 12:36:03] [ 0.602145] squashfs: version 4.0 (2009/01/31) Phillip Lougher [2023-09-01 12:36:03] [ 0.608978] NFS: Registering the id_resolver key type [2023-09-01 12:36:03] [ 0.614250] Key type id_resolver registered [2023-09-01 12:36:03] [ 0.618558] Key type id_legacy registered [2023-09-01 12:36:03] [ 0.622743] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [2023-09-01 12:36:03] [ 0.629595] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... [2023-09-01 12:36:03] [ 0.637427] 9p: Installing v9fs 9p2000 file system support [2023-09-01 12:36:03] [ 0.687535] Key type asymmetric registered [2023-09-01 12:36:03] [ 0.691749] Asymmetric key parser 'x509' registered [2023-09-01 12:36:03] [ 0.696803] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243) [2023-09-01 12:36:03] [ 0.704379] io scheduler mq-deadline registered [2023-09-01 12:36:03] [ 0.709009] io scheduler kyber registered [2023-09-01 12:36:03] [ 0.715922] pinctrl-single 4084000.pinctrl: 33 pins, size 132 [2023-09-01 12:36:03] [ 0.722398] pinctrl-single f4000.pinctrl: 180 pins, size 720 [2023-09-01 12:36:03] [ 0.729406] pinctrl-single a40000.timesync-router: 512 pins, size 2048 [2023-09-01 12:36:03] [ 0.746795] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled [2023-09-01 12:36:03] [ 0.771011] brd: module loaded [2023-09-01 12:36:03] [ 0.783137] loop: module loaded [2023-09-01 12:36:03] [ 0.787644] megasas: 07.714.04.00-rc1 [2023-09-01 12:36:03] [ 0.796549] tun: Universal TUN/TAP device driver, 1.6 [2023-09-01 12:36:03] [ 0.802585] igbvf: Intel(R) Gigabit Virtual Function Network Driver [2023-09-01 12:36:03] [ 0.809018] igbvf: Copyright (c) 2009 - 2012 Intel Corporation. [2023-09-01 12:36:03] [ 0.815138] sky2: driver version 1.30 [2023-09-01 12:36:03] [ 0.820288] VFIO - User Level meta-driver version: 0.3 [2023-09-01 12:36:03] [ 0.826989] i2c /dev entries driver [2023-09-01 12:36:03] [ 0.832414] sdhci: Secure Digital Host Controller Interface driver [2023-09-01 12:36:03] [ 0.838763] sdhci: Copyright(c) Pierre Ossman [2023-09-01 12:36:03] [ 0.844062] sdhci-pltfm: SDHCI platform and OF driver helper [2023-09-01 12:36:03] [ 0.851237] ledtrig-cpu: registered to indicate activity on CPUs [2023-09-01 12:36:03] [ 0.857934] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping .... [2023-09-01 12:36:03] [ 0.866523] optee: probing for conduit method. [2023-09-01 12:36:03] I/TC: Reserved shared memory is enabled [2023-09-01 12:36:03] I/TC: Dynamic shared memory is enabled [2023-09-01 12:36:03] I/TC: Normal World virtualization support is disabled [2023-09-01 12:36:03] I/TC: Asynchronous notifications are disabled [2023-09-01 12:36:03] [ 0.871183] optee: revision 3.20 (8e74d476) [2023-09-01 12:36:03] [ 0.887905] optee: dynamic shared memory is enabled [2023-09-01 12:36:03] [ 0.897671] optee: initialized driver [2023-09-01 12:36:03] [ 0.902070] gpio-mux: probe of mux-controller failed with error -2 [2023-09-01 12:36:03] [ 0.910877] NET: Registered protocol family 17 [2023-09-01 12:36:03] [ 0.915699] 9pnet: Installing 9P2000 support [2023-09-01 12:36:03] [ 0.920180] Key type dns_resolver registered [2023-09-01 12:36:03] [ 0.925084] Loading compiled-in X.509 certificates [2023-09-01 12:36:03] [ 0.948724] ti-sci 44043000.dmsc: lpm region is required for suspend but not provided. [2023-09-01 12:36:03] [ 0.956960] ti-sci 44043000.dmsc: ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chil l Capybar') [2023-09-01 12:36:03] [ 1.016959] omap-gpmc 3b000000.memory-controller: GPMC revision 6.0 [2023-09-01 12:36:03] [ 1.023454] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000 [2023-09-01 12:36:03] [ 1.031568] omap_i2c 4900000.i2c: bus 0 rev0.12 at 100 kHz [2023-09-01 12:36:03] [ 1.038571] omap_i2c 20000000.i2c: bus 1 rev0.12 at 100 kHz [2023-09-01 12:36:03] [ 1.045746] omap_i2c 20010000.i2c: bus 2 rev0.12 at 400 kHz [2023-09-01 12:36:03] [ 1.052915] omap_i2c 20020000.i2c: bus 3 rev0.12 at 100 kHz [2023-09-01 12:36:03] [ 1.060115] omap_i2c 20030000.i2c: bus 4 rev0.12 at 100 kHz [2023-09-01 12:36:03] [ 1.066369] ti-sci-intr bus@f4000:bus@4000000:interrupt-controller1: Interrupt Router 5 domain created [2023-09-01 12:36:03] [ 1.076167] ti-sci-intr bus@f4000:interrupt-controller0: Interrupt Router 3 domain crea ted [2023-09-01 12:36:03] [ 1.085002] ti-sci-inta 48000000.interrupt-controller: Interrupt Aggregator domain 28 c reated [2023-09-01 12:36:03] [ 1.108875] j721e-pcie f102000.pcie: host bridge /bus@f4000/pcie@f102000 ranges: [2023-09-01 12:36:03] [ 1.116514] j721e-pcie f102000.pcie: IO 0x0068001000..0x0068010fff -> 0x006800100 0 [2023-09-01 12:36:03] [ 1.124805] j721e-pcie f102000.pcie: MEM 0x0068011000..0x006fffffff -> 0x006801100 0 [2023-09-01 12:36:03] [ 1.133094] j721e-pcie f102000.pcie: IB MEM 0x0000000000..0x0fffffffff -> 0x000000000 0 [2023-09-01 12:36:04] [ 2.145024] j721e-pcie f102000.pcie: PCI host bridge to bus 0000:00 [2023-09-01 12:36:04] [ 2.151496] pci_bus 0000:00: root bus resource [bus 00-ff] [2023-09-01 12:36:04] [ 2.157112] pci_bus 0000:00: root bus resource [io 0x0000-0xffff] (bus address [0x6800 1000-0x68010fff]) [2023-09-01 12:36:04] [ 2.166803] pci_bus 0000:00: root bus resource [mem 0x68011000-0x6fffffff] [2023-09-01 12:36:04] [ 2.173879] pci 0000:00:00.0: [104c:b010] type 01 class 0x060400 [2023-09-01 12:36:04] [ 2.180035] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0xfffffffff 64bit pref] [2023-09-01 12:36:04] [ 2.187592] pci 0000:00:00.0: supports D1 [2023-09-01 12:36:04] [ 2.191692] pci 0000:00:00.0: PME# supported from D0 D1 D3hot [2023-09-01 12:36:04] [ 2.200345] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring [2023-09-01 12:36:04] [ 2.210933] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01 [2023-09-01 12:36:04] [ 2.217776] pci 0000:00:00.0: BAR 0: no space for [mem size 0x1000000000 64bit pref] [2023-09-01 12:36:04] [ 2.225695] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x1000000000 64bit pref ] [2023-09-01 12:36:04] [ 2.233972] pci 0000:00:00.0: PCI bridge to [bus 01] [2023-09-01 12:36:04] [ 2.239673] pcieport 0000:00:00.0: PME: Signaling with IRQ 45 [2023-09-01 12:36:04] [ 2.246426] ti-udma 485c0100.dma-controller: Number of rings: 68 [2023-09-01 12:36:04] [ 2.253995] ti-udma 485c0100.dma-controller: Channels: 24 (bchan: 12, tchan: 6, rchan: 6) [2023-09-01 12:36:04] [ 2.264375] ti-udma 485c0000.dma-controller: Number of rings: 288 [2023-09-01 12:36:04] [ 2.279264] ti-udma 485c0000.dma-controller: Channels: 44 (tchan: 29, rchan: 15) [2023-09-01 12:36:04] [ 2.290585] printk: console [ttyS2] disabled [2023-09-01 12:36:04] [ 2.295068] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 17, base_baud = 3000000) is a 8250 [2023-09-01 12:36:04] [ 2.303839] printk: console [ttyS2] enabled [2023-09-01 12:36:04] [ 2.303839] printk: console [ttyS2] enabled [2023-09-01 12:36:04] [ 2.312282] printk: bootconsole [ns16550a0] disabled [2023-09-01 12:36:04] [ 2.312282] printk: bootconsole [ns16550a0] disabled [2023-09-01 12:36:04] [ 2.326927] spi-nor spi0.0: unrecognized JEDEC id bytes: 00 00 00 00 00 00 [2023-09-01 12:36:04] [ 2.333880] spi-nor: probe of spi0.0 failed with error -2 [2023-09-01 12:36:04] [ 2.352485] davinci_mdio 8000f00.mdio: Configuring MDIO in manual mode [2023-09-01 12:36:04] [ 2.399413] davinci_mdio 8000f00.mdio: davinci mdio revision 9.7, bus freq 1000000 [2023-09-01 12:36:04] [ 2.408505] davinci_mdio 8000f00.mdio: phy[0]: device 8000f00.mdio:00, driver unknown [2023-09-01 12:36:04] [ 2.416514] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw nuss version 0x6BA0 0903, cpsw version 0x6BA80903 Ports: 3 quirks:00000006 [2023-09-01 12:36:04] [ 2.429591] am65-cpsw-nuss 8000000.ethernet: Use random MAC address [2023-09-01 12:36:04] [ 2.435868] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.4 [2023-09-01 12:36:04] [ 2.442995] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512 [2023-09-01 12:36:04] [ 2.449721] pps pps0: new PPS source ptp0 [2023-09-01 12:36:04] [ 2.454242] am65-cpsw-nuss 8000000.ethernet: CPTS ver 0x4e8a010c, freq:500000000, add_v al:1 pps:1 [2023-09-01 12:36:04] [ 2.465061] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 16 [2023-09-01 12:36:05] [ 2.476194] am65-cpts 39000000.cpts: CPTS ver 0x4e8a010c, freq:500000000, add_val:1 pps :0 [2023-09-01 12:36:05] [ 2.485455] k3-j72xx-soc-thermal b00000.temperature-sensor: invalid resource [2023-09-01 12:36:05] [ 2.492602] k3-j72xx-soc-thermal: probe of b00000.temperature-sensor failed with error -22 [2023-09-01 12:36:05] [ 2.503200] mmc0: CQHCI version 5.10 [2023-09-01 12:36:05] [ 2.507855] mmc1: CQHCI version 5.10 [2023-09-01 12:36:05] [ 2.521778] debugfs: Directory 'pd:114' with parent 'pm_genpd' already present! [2023-09-01 12:36:05] [ 2.541569] ALSA device list: [2023-09-01 12:36:05] [ 2.544567] No soundcards found. [2023-09-01 12:36:05] [ 2.551437] mmc0: SDHCI controller on fa10000.mmc [fa10000.mmc] using ADMA 64-bit [2023-09-01 12:36:05] [ 2.633029] mmc0: mmc_select_hs200 failed, error -110 [2023-09-01 12:36:05] [ 2.638118] mmc0: error -110 whilst initialising MMC card [2023-09-01 12:36:05] [ 2.765549] mmc0: mmc_select_hs200 failed, error -110 [2023-09-01 12:36:05] [ 2.770606] mmc0: error -110 whilst initialising MMC card [2023-09-01 12:36:05] [ 2.911908] mmc0: mmc_select_hs200 failed, error -110 [2023-09-01 12:36:05] [ 2.916962] mmc0: error -110 whilst initialising MMC card [2023-09-01 12:36:05] [ 3.100780] mmc0: mmc_select_hs200 failed, error -110 [2023-09-01 12:36:05] [ 3.105841] mmc0: error -110 whilst initialising MMC card [2023-09-01 12:36:06] [ 4.025978] sdhci-am654 fa00000.mmc: Power on failed [2023-09-01 12:36:06] [ 4.061609] mmc1: SDHCI controller on fa00000.mmc [fa00000.mmc] using ADMA 64-bit [2023-09-01 12:36:06] [ 4.070323] Waiting for root device PARTUUID=5ca24813-3ba3-4da8-999c-db9833cc368d...
mmc0: mmc_select_hs200 failed, error -110
should be eMMC issue now.
refer this post to keep eMMC work in legacy mode.
From b59867885d6b75a5ac29b767df424bd40cc0f731 Mon Sep 17 00:00:00 2001
From: Judith Mendez <jm@ti.com>
Date: Wed, 24 May 2023 11:20:21 -0500
Subject: [PATCH] Remove HS200 mode for eMMC.
Signed-off-by: Judith Mendez <jm@ti.com>
---
arch/arm/dts/k3-am62-main.dtsi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/dts/k3-am62-main.dtsi b/arch/arm/dts/k3-am62-main.dtsi
index f3296f2671b..78ca7c34066 100644
--- a/arch/arm/dts/k3-am62-main.dtsi
+++ b/arch/arm/dts/k3-am62-main.dtsi
@@ -349,10 +349,10 @@
ti,clkbuf-sel = <0x7>;
ti,otap-del-sel-legacy = <0x0>;
ti,otap-del-sel-mmc-hs = <0x0>;
- ti,otap-del-sel-ddr52 = <0x5>;
- ti,otap-del-sel-hs200 = <0x5>;
ti,itap-del-sel-legacy = <0xa>;
ti,itap-del-sel-mmc-hs = <0x1>;
+ /delete-property/mmc-ddr-1_8v;
+ /delete-property/mmc-hs200-1_8v;
};
sdhci1: mmc@fa00000 {
--
Hi Tony
After applying the patch,now i am able to boot my custom board,Thanks for the help
one more thing when we are creating partition for rootfs from u-boot it occupies whole user partition of emmc,how can we modify the space for rootfs ?
Hi,
Do mean how to modify size of partition in UDA for rootfs? If so, from Linux kernel you can use fdisk command: https://man7.org/linux/man-pages/man8/fdisk.8.html.
~ Judith
Hi Judith
i am asking like to modify rootfs partition from u-boot,for raw write the rootfs to emmc,now i changed the size from u-boot that issue now resolved.
now i am trying to save uboot.env file in ext4 partition,i have changed configurations in am64x_evm_a53_defconfig, the changes are
but i am having some issues in this, i am attaching
my partitions type
how can i resolve this issue,can you suggest some points
Hi,
Please use menuconfig to change environment to ext4. If it does not work, I will try on my end tomorrow.
~ Judith
Hi Judith
i have tired to change using make menuconfig,it does not works for me,can you try at your end ?
Hi Uthaya,
It seems like this support is not enabled nor tested on our SDK. I have enabled in u-boot and run into build errors.
If you did in fact add this support by modifying u-boot .config, please check that .config and find these config options set to 'y'. Please show proof of this.
~ Judith
Hi Judith
I have changed in u-boot config and save the configurations as defconfig file and I have added that as patch,it will not affect in u-boot images,so that I asked to try in your end.
Hi Uthaya,
Do you get any build errors when you add to the defconfig?
When you use "make defconfig" command, it generates a .config, please parse that .config to make sure the configs are being added. Would you like to see an example of this?
I need to make sure you are enabling correctly, because in my end I see build errors when I enable. So perhaps you are not enabling correctly?
Also what is this usecase? Why not simply leave the default?
~ Judith
Hi Judith
I am enabled and added as patch under recipes- bsp and taking build,at that time no error occurs but the config change is not reflected in images.
I will try to add as .config and take build.
In our custom board only emmc and usb flash methods available,is the case so i have booted my board using emmc raw flash,it created partition type gpt type,so fat32 type is not available in partition type change,so i need to save in ext4 partition
Hi,
Ok, I think I know what you are trying to say, is this the error you see:
=> saveenv Saving Environment to FAT... MMC: no card present Failed (1) =>
diff --git a/configs/am64x_evm_a53_defconfig b/configs/am64x_evm_a53_defconfig index dc9daa61bb..24a2aaacf4 100644 --- a/configs/am64x_evm_a53_defconfig +++ b/configs/am64x_evm_a53_defconfig @@ -84,9 +84,8 @@ CONFIG_OF_LIST="k3-am642-evm k3-am642-sk" CONFIG_MULTI_DTB_FIT=y CONFIG_SPL_MULTI_DTB_FIT=y CONFIG_SPL_MULTI_DTB_FIT_NO_COMPRESSION=y -CONFIG_ENV_IS_IN_FAT=y -CONFIG_ENV_FAT_DEVICE_AND_PART="1:1" -CONFIG_SPL_ENV_IS_NOWHERE=y +CONFIG_ENV_IS_IN_MMC=y +CONFIG_SYS_MMC_ENV_PART=1 CONFIG_NET_RANDOM_ETHADDR=y CONFIG_DM=y CONFIG_SPL_DM=y
=> setenv test1 test => saveenv Saving Environment to MMC... Writing to MMC(0)... OK =>
Hi,
Ok, building Yocto can be tricky.
Please try:
1. MACHINE=<machine> bitbake <target> -c cleanall
2. Build ( make sure build without patch works)
3. MACHINE=<machine> bitbake <target> -c cleanall
4. Apply patch
5. re-build
Not sure if you yocto requires the patch or if can use the diff, so i can provide the patch. But first, which Yocto version are you using?
~ Judith
Hi Judith
Thanks for the suggestions,i have changed my parition table to DOS,where i can find the vfat32 partition type,now i am able to use saveenv and uboot.env file also generated.
Thank you