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.

AM625: about am62 wkup_uart0

Part Number: AM625
Other Parts Discussed in Thread: SK-AM62B

Tool/software:

hi

 when I use the wkup_uart of AM62, I find that I cannot ech0 and cat /dev/ttyS9. Does the use of wkup_uart in uboot have any impact?

If I don’t want to use WKUP in the uboot stage, how can I turn it off? wkup_UART0 is used for DM firmware logs

  • Hi,

    Please provide the console log showing how did you tested the wkup_uart, also the kernel device tree change which enables the wkup_uart.

    Which Processor SDK version do you use?

    The Processor SDK by default has the wkup_uart disabled for DM firmware logs.

  • Please provide the console log showing how did you tested the wkup_uart, also the kernel device tree change which enables the wkup_uart.

    Which Processor SDK version do you use?

    I am using SDk8.6-rt-linux.I sent data via echo 11 > /dev/ttyS9 and received data via PC serial port assistant. I received data via cat /dev/ttyS9 and sent data via PC.

    I tried it on a third-party board, and they concluded that wkup_uart0 was occupied in r5 and needed to be released before replacing tispl.bin. I tried to modify the device tree in u-boot, but it didn work.

    I still saw the following in k3-am62x-r5-sk-common.

    /* WKUP UART0 is used for DM firmware logs */
    &wkup_uart0 {
    pinctrl-names = "default";
    pinctrl-0 = <&wkup_uart0_pins_default>;
    status = "okay";
    u-boot,dm-spl;
    };

    2、In my kernal device tree

    aliases {
    rtc0 = &ds1340;
    rtc1 = &wkup_rtc0;
    serial3 = &main_uart1;
    serial4 = &main_uart2;
    serial5 = &main_uart4;
    serial6 = &main_uart5;
    serial7 = &main_uart6;
    serial8 = &mcu_uart0;
    serial9 = &wkup_uart0;
    };


    &mcu_pmx0 {
    wkup_uart0_pins_default: wkup-uart0-pins-default {
    pinctrl-single,pins = <
    AM62X_MCU_IOPAD(0x0024, PIN_INPUT, 0) /* (B4) WKUP_UART0_RXD */
    AM62X_MCU_IOPAD(0x0028, PIN_OUTPUT, 0) /* (C5) WKUP_UART0_TXD */
    >;
    };
    };

    &wkup_uart0 {
    status = "okay";
    pinctrl-names = "default";
    pinctrl-0 = <&wkup_uart0_pins_default>;
    };

  • Please attach the console boot log.

  • This is the complete startup log. The picture below is the output of wkup_uart0. Do I need to download the MCU SDK to change the default program?

    U-Boot SPL 2021.01-g73113bd (Mar 15 2023 - 13:59:45 +0800)
    SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar')
    SPL initial stack usage: 13424 bytes
    Trying to boot from MMC1
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Loading Environment from MMC... MMC: block number 0x3500 exceeds max(0x2000)
    *** Warning - !read failed, using default environment
    
    init_env from device 9 not supported!
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.8(release):v2.8-226-g2fcd408bb3-dirty
    NOTICE:  BL31: Built : 05:33:19, Feb 24 2023
    
    U-Boot SPL 2021.01-g73113bd (Mar 15 2023 - 14:00:08 +0800)
    SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar')
    Trying to boot from MMC1
    
    
    U-Boot 2021.01-g73113bd (Mar 15 2023 - 14:00:08 +0800)
    
    SoC:   AM62X SR1.0 GP
    Model: Texas Instruments AM625 SK
    DRAM:  2 GiB
    MMC:   mmc@fa10000: 0, mmc@fa00000: 1, mmc@fa20000: 2
    Loading Environment from MMC... *** Warning - bad CRC, using default environment
    
    In:    serial@2800000
    Out:   serial@2800000
    Err:   serial@2800000
    Net:   eth0: ethernet@8000000port@1
    Hit any key to stop autoboot:  0
    switch to partitions #0, OK
    mmc0(part 0) is current device
    SD/MMC found on device 0
    Failed to load 'boot.scr'
    Failed to load 'uEnv.txt'
    18764288 bytes read in 107 ms (167.2 MiB/s)
    47676 bytes read in 4 ms (11.4 MiB/s)
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 000000008fef1000, end 000000008fffffff ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
    [    0.000000] Linux version 5.10.168-rt83-g72bcb6b0e493 (chenyu@llr-Virtual-Machine) (aarch64-none-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 9.2.1 20191025, GNU ld (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 2.33.1.20191209) #1 SMP PREEMPT Fri Apr 21 08:48:25 CST 2023
    [    0.000000] Machine model: TL62x-EVM
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
    [    0.000000] printk: bootconsole [ns16550a0] enabled
    [    0.000000] efi: UEFI not found.
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009c800000, size 3 MiB
    [    0.000000] OF: reserved mem: initialized node ipc-memories@9c800000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009cb00000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node m4f-dma-memory@9cb00000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009cc00000, size 14 MiB
    [    0.000000] OF: reserved mem: initialized node m4f-memory@9cc00000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009da00000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@9da00000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009db00000, size 12 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@9db00000, compatible id shared-dma-pool
    [    0.000000] Zone ranges:
    [    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000]   DMA32    empty
    [    0.000000]   Normal   empty
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x0000000080000000-0x000000009c7fffff]
    [    0.000000]   node   0: [mem 0x000000009c800000-0x000000009e6fffff]
    [    0.000000]   node   0: [mem 0x000000009e700000-0x000000009e77ffff]
    [    0.000000]   node   0: [mem 0x000000009e780000-0x000000009fffffff]
    [    0.000000]   node   0: [mem 0x00000000a0000000-0x00000000ffffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000] On node 0 totalpages: 524288
    [    0.000000]   DMA zone: 8192 pages used for memmap
    [    0.000000]   DMA zone: 0 pages reserved
    [    0.000000]   DMA zone: 524288 pages, LIFO batch:63
    [    0.000000] cma: Reserved 144 MiB at 0x00000000f4000000
    [    0.000000] psci: probing for conduit method from DT.
    [    0.000000] psci: PSCIv1.1 detected in firmware.
    [    0.000000] psci: Using standard PSCI v0.2 function IDs
    [    0.000000] psci: Trusted OS migration not required
    [    0.000000] psci: SMC Calling Convention v1.2
    [    0.000000] percpu: Embedded 18 pages/cpu s33496 r8192 d32040 u73728
    [    0.000000] pcpu-alloc: s33496 r8192 d32040 u73728 alloc=18*4096
    [    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
    [    0.000000] Detected VIPT I-cache on CPU0
    [    0.000000] CPU features: detected: ARM erratum 845719
    [    0.000000] CPU features: detected: GIC system register CPU interface
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 516096
    [    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 root=PARTUUID=df7cda6d-02 rw rootfstype=ext4 rootwait
    [    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
    [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [    0.000000] Memory: 1833128K/2097152K available (11008K kernel code, 1172K rwdata, 4260K rodata, 1792K init, 421K bss, 116568K reserved, 147456K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000] rcu:     RCU event tracing is enabled.
    [    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
    [    0.000000]  Trampoline variant of Tasks RCU enabled.
    [    0.000000]  Tracing variant of Tasks RCU enabled.
    [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
    [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
    [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
    [    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
    [    0.000000] GICv3: 256 SPIs implemented
    [    0.000000] GICv3: 0 Extended SPIs implemented
    [    0.000000] GICv3: Distributor has no Range Selector support
    [    0.000000] GICv3: 16 PPIs implemented
    [    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001880000
    [    0.000000] ITS [mem 0x01820000-0x0182ffff]
    [    0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS
    [    0.000000] ITS@0x0000000001820000: Devices Table too large, reduce ids 20->19
    [    0.000000] ITS@0x0000000001820000: allocated 524288 Devices @80800000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GICv3: using LPI property table @0x0000000080030000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000080040000
    [    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
    [    0.000000] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.008528] Console: colour dummy device 80x25
    [    0.013122] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.023803] pid_max: default: 32768 minimum: 301
    [    0.028608] LSM: Security Framework initializing
    [    0.033391] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
    [    0.040972] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
    [    0.050780] rcu: Hierarchical SRCU implementation.
    [    0.055975] Platform MSI: msi-controller@1820000 domain created
    [    0.062289] PCI/MSI: /bus@f0000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.071550] EFI services will not be available.
    [    0.076462] smp: Bringing up secondary CPUs ...
    [    0.081716] Detected VIPT I-cache on CPU1
    [    0.085848] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000
    [    0.092884] GICv3: CPU1: using allocated LPI pending table @0x0000000080050000
    [    0.100317] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
    [    0.107634] Detected VIPT I-cache on CPU2
    [    0.111752] GICv3: CPU2: found redistributor 2 region 0:0x00000000018c0000
    [    0.118786] GICv3: CPU2: using allocated LPI pending table @0x0000000080060000
    [    0.126200] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
    [    0.133519] Detected VIPT I-cache on CPU3
    [    0.137639] GICv3: CPU3: found redistributor 3 region 0:0x00000000018e0000
    [    0.144672] GICv3: CPU3: using allocated LPI pending table @0x0000000080070000
    [    0.152085] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
    [    0.158838] smp: Brought up 1 node, 4 CPUs
    [    0.163042] SMP: Total of 4 processors activated.
    [    0.167856] CPU features: detected: 32-bit EL0 Support
    [    0.173121] CPU features: detected: CRC32 instructions
    [    0.185577] CPU: All CPU(s) started at EL2
    [    0.189787] alternatives: patching kernel code
    [    0.195492] devtmpfs: initialized
    [    0.205751] KASLR disabled due to lack of seed
    [    0.210460] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.220439] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
    [    0.231694] pinctrl core: initialized pinctrl subsystem
    [    0.237666] DMI not present or invalid.
    [    0.242267] NET: Registered protocol family 16
    [    0.248465] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations
    [    0.255825] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.263896] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.272599] thermal_sys: Registered thermal governor 'step_wise'
    [    0.273196] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.286395] ASID allocator initialised with 65536 entries
    [    0.319087] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.325973] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.332830] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.339713] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.347461] cryptd: max_cpu_qlen set to 1000
    [    0.354729] k3-chipinfo 43000014.chipid: Family:AM62X rev:SR1.0 JTAGID[0x0bb7e02f] Detected
    [    0.363819] vcc_5v0: supplied by vmain_pd
    [    0.368317] vcc_3v3_sys: supplied by vmain_pd
    [    0.373131] vdd_mmc1: supplied by vcc_3v3_sys
    [    0.377895] vcc_1v8: supplied by vcc_3v3_sys
    [    0.383306] iommu: Default domain type: Translated
    [    0.388636] SCSI subsystem initialized
    [    0.392900] mc: Linux media interface: v0.10
    [    0.397292] videodev: Linux video capture interface: v2.00
    [    0.402979] pps_core: LinuxPPS API ver. 1 registered
    [    0.408056] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.417411] PTP clock support registered
    [    0.421449] EDAC MC: Ver: 3.0.0
    [    0.425336] omap-mailbox 29000000.mailbox: omap mailbox rev 0x66fc9100
    [    0.432478] FPGA manager framework
    [    0.436047] Advanced Linux Sound Architecture Driver Initialized.
    [    0.443160] clocksource: Switched to clocksource arch_sys_counter
    [    0.449647] VFS: Disk quotas dquot_6.6.0
    [    0.453718] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    0.465992] NET: Registered protocol family 2
    [    0.470738] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.479510] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
    [    0.488298] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
    [    0.496504] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear)
    [    0.504232] TCP: Hash tables configured (established 16384 bind 16384)
    [    0.511129] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
    [    0.518029] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
    [    0.525537] NET: Registered protocol family 1
    [    0.530519] RPC: Registered named UNIX socket transport module.
    [    0.536592] RPC: Registered udp transport module.
    [    0.541401] RPC: Registered tcp transport module.
    [    0.546209] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.552798] NET: Registered protocol family 44
    [    0.557354] PCI: CLS 0 bytes, default 64
    [    0.562172] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
    [    0.574188] Initialise system trusted keyrings
    [    0.578955] workingset: timestamp_bits=46 max_order=19 bucket_order=0
    [    0.589274] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.595807] NFS: Registering the id_resolver key type
    [    0.601039] Key type id_resolver registered
    [    0.605319] Key type id_legacy registered
    [    0.609486] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.616351] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    0.624124] 9p: Installing v9fs 9p2000 file system support
    [    0.665408] Key type asymmetric registered
    [    0.669607] Asymmetric key parser 'x509' registered
    [    0.674632] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
    [    0.682200] io scheduler mq-deadline registered
    [    0.686832] io scheduler kyber registered
    [    0.693136] pinctrl-single 4084000.pinctrl: 34 pins, size 136
    [    0.699578] pinctrl-single f4000.pinctrl: 171 pins, size 684
    [    0.706430] pinctrl-single a40000.timesync-router: 512 pins, size 2048
    [    0.715911] pwm-backlight backlight: supply power not found, using dummy regulator
    [    0.729265] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [    0.742183] panel-simple display: supply power not found, using dummy regulator
    [    0.749891] ------------[ cut here ]------------
    [    0.754610] WARNING: CPU: 1 PID: 1 at drivers/gpu/drm/panel/panel-simple.c:467 panel_simple_parse_panel_timing_node+0x1d4/0x1e8
    [    0.766365] Modules linked in:
    [    0.769488] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 5.10.168-rt83-g72bcb6b0e493 #1
    [    0.777403] Hardware name: TL62x-EVM (DT)
    [    0.781495] pstate: 20000005 (nzCv daif -PAN -UAO -TCO BTYPE=--)
    [    0.787633] pc : panel_simple_parse_panel_timing_node+0x1d4/0x1e8
    [    0.793862] lr : panel_simple_probe+0x2ac/0x3d8
    [    0.798491] sp : ffff80001128ba60
    [    0.801871] x29: ffff80001128ba60 x28: 0000000000000000
    [    0.807298] x27: ffff800010f71078 x26: ffff800010f004c0
    [    0.812727] x25: ffff800011197218 x24: 0000000000000000
    [    0.818153] x23: ffff800010b90680 x22: ffff0000000e8000
    [    0.823580] x21: ffff00000038f010 x20: ffff0000000e8000
    [    0.829007] x19: ffff000001122080 x18: 0000000000000000
    [    0.834434] x17: 0000000000000000 x16: 0000000035a48f18
    [    0.839861] x15: ffffffffffffffff x14: ffffffff00000000
    [    0.845288] x13: ffffffffffffffff x12: 0000000000000020
    [    0.850715] x11: 0000000000000004 x10: 0101010101010101
    [    0.856142] x9 : fffffffffffffffc x8 : 7f7f7f7f7f7f7f7f
    [    0.861569] x7 : fefefeff646c606d x6 : 0a0e1807ece5e3ec
    [    0.866996] x5 : ffff00007fc17c50 x4 : 0000000000000000
    [    0.872423] x3 : ffff800010b90680 x2 : ffff80001128bb18
    [    0.877850] x1 : 0000000000000001 x0 : ffff00000038f010
    [    0.883277] Call trace:
    [    0.885770]  panel_simple_parse_panel_timing_node+0x1d4/0x1e8
    [    0.891644]  panel_simple_probe+0x2ac/0x3d8
    [    0.895917]  panel_simple_platform_probe+0x34/0x50
    [    0.900813]  platform_drv_probe+0x54/0xa8
    [    0.904911]  really_probe+0xec/0x400
    [    0.908561]  driver_probe_device+0x58/0xb8
    [    0.912745]  device_driver_attach+0x74/0x80
    [    0.917017]  __driver_attach+0x68/0xf8
    [    0.920845]  bus_for_each_dev+0x70/0xc0
    [    0.924762]  driver_attach+0x24/0x30
    [    0.928412]  bus_add_driver+0x150/0x200
    [    0.932328]  driver_register+0x64/0x120
    [    0.936245]  __platform_driver_register+0x48/0x58
    [    0.941052]  panel_simple_init+0x24/0x4c
    [    0.945062]  do_one_initcall+0x54/0x1b8
    [    0.948981]  kernel_init_freeable+0x230/0x298
    [    0.953432]  kernel_init+0x14/0x114
    [    0.956995]  ret_from_fork+0x10/0x30
    [    0.960670] ---[ end trace 2ade68ed9eccc51b ]---
    [    0.965479] panel-simple display: Reject override mode: panel has a fixed mode
    [    0.980889] brd: module loaded
    [    0.990954] loop: module loaded
    [    0.995211] megasas: 07.714.04.00-rc1
    [    1.002867] tun: Universal TUN/TAP device driver, 1.6
    [    1.008685] igbvf: Intel(R) Gigabit Virtual Function Network Driver
    [    1.015116] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
    [    1.021227] sky2: driver version 1.30
    [    1.025998] VFIO - User Level meta-driver version: 0.3
    [    1.032315] i2c /dev entries driver
    [    1.037697] sdhci: Secure Digital Host Controller Interface driver
    [    1.044043] sdhci: Copyright(c) Pierre Ossman
    [    1.048852] sdhci-pltfm: SDHCI platform and OF driver helper
    [    1.056093] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    1.064317] optee: probing for conduit method.
    [    1.068925] optee: revision 3.20 (8e74d476)
    [    1.069190] optee: dynamic shared memory is enabled
    [    1.078684] optee: initialized driver
    [    1.084546] NET: Registered protocol family 17
    [    1.089265] 9pnet: Installing 9P2000 support
    [    1.093711] Key type dns_resolver registered
    [    1.098457] printk: bootconsole [ns16550a0]: printing thread started
    [    1.098499] Loading compiled-in X.509 certificates
    [    1.103485] pwm-backlight backlight: supply power not found, using dummy regulator
    [    1.111526] ti-sci 44043000.system-controller: lpm region is required for suspend but not provided.
    [    1.111582] ti-sci 44043000.system-controller: ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar')
    [    1.169119] davinci-mcasp 2b00000.mcasp: IRQ common not found
    [    1.171587] omap-gpmc 3b000000.memory-controller: GPMC revision 6.0
    [    1.171605] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
    [    1.174238] om0i2c 20000000.i2c: bus 0 rev0.12 at 400 kHz
    [    1.175972] omap_i2c 20020000.i2c: bus 1 rev0.12 at 400 kHz
    [    1.195449] printk: console [ttyS2]: printing thread started
    [    1.176553] ti-sci-intr 4210000.interrupt-controller: Interrupt Router 5 domain created
    [    1.195464] printk: console [ttyS2] enabled
    [    1.195468] printk: bootconsole [ns16550a0] disabled
    [    1.215014] printk: bootconsole [ns16550a0]: printing thread stopped
    [    1.216351] 2810000.serial: ttyS3 at MMIO 0x2810000 (irq = 30, base_baud = 3000000) is a 8250
    [    1.217347] 2820000.serial: ttyS4 at MMIO 0x2820000 (irq = 31, base_baud = 3000000) is a 8250
    [    1.218259] 2840000.serial: ttyS5 at MMIO 0x2840000 (irq = 32, base_baud = 3000000) is a 8250
    [    1.219181] 2850000.serial: ttyS6 at MMIO 0x2850000 (irq = 33, base_baud = 3000000) is a 8250
    [    1.220118] 2860000.serial: ttyS7 at MMIO 0x2860000 (irq = 34, base_baud = 3000000) is a 8250
    [    1.222384] [drm] Initialized tidss 1.0.0 20180215 for 30200000.dss on minor 0
    [    1.253643] Console: switching to colour frame buffer device 100x30
    [    1.270057] tidss 30200000.dss: [drm] fb0: tidssdrmfb frame buffer device
    [    1.281348] spi spi0.0: setup: ignoring unsupported mode bits 200
    [    1.281949] spi-nor spi0.0: gd25lq128d (16384 Kbytes)
    [    1.281995] 6 fixed-partitions partitions found on MTD device fc40000.spi.0
    [    1.282002] Creating 6 MTD partitions on "fc40000.spi.0":
    [    1.282008] 0x000000000000-0x000000080000 : "ospi.tiboot3"
    [    1.283302] 0x000000080000-0x000000180000 : "ospi.tispl"
    [    1.284358] 0x000000180000-0x000000380000 : "ospi.u-boot"
    [    1.285356] 0x000000380000-0x0000003c0000 : "ospi.env"
    [    1.286350] 0x0000003c0000-0x000000400000 : "ospi.env.backup"
    [    1.287422] 0x000000400000-0x000001000000 : "ospi.rootfs"
    [    1.295629] davinci_mdio 8000f00.mdio: Configuring MDIO in manual mode
    [    1.295961] mdio_bus 8000f00.mdio: mii_bus 8000f00.mdio couldn't get reset GPIO
    [    1.296334] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw nuss version 0x6BA01103, cpsw version 0x6BA81103 Ports: 3 quirks:00000006
    [    1.296587] am65-cpsw-nuss 8000000.ethernet: Use random MAC address
    [    1.296598] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.5
    [    1.296604] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512
    [    1.297162] pps pps0: new PPS source ptp0
    [    1.297418] am65-cpsw-nuss 8000000.ethernet: CPTS ver 0x4e8a010c, freq:500000000, add_val:1 pps:1
    [    1.298872] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 19
    [    1.302683] rtc-ti-k3 2b1f0000.rtc: registered as rtc1
    [    1.407269] mmc0: CQHCI version 5.10
    [    1.407362] davinci-mcasp 2b00000.mcasp: IRQ common not found
    [    1.407408] mmc1: CQHCI version 5.10
    [    1.437320] ads7846 spi3.0: supply vcc not found, using dummy regulator
    [    1.437883] ads7846 spi3.0: touchscreen, irq 427
    [    1.438252] input: ADS7846 Touchscreen as /devices/platform/bus@f0000/20100000.spi/spi_master/spi3/spi3.0/input/input0
    [    1.439017] davinci_mdio 8000f00.mdio: Configuring MDIO in manual mode
    [    1.455743] mmc0: SDHCI controller on fa10000.mmc [fa10000.mmc] using ADMA 64-bit
    [    1.458694] mmc1: SDHCI controller on fa00000.mmc [fa00000.mmc] using ADMA 64-bit
    [    1.479166] davinci_mdio 8000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.481101] davinci_mdio 8000f00.mdio: phy[0]: device 8000f00.mdio:00, driver YT8521SH Gigabit Ethernet
    [    1.481117] davinci_mdio 8000f00.mdio: phy[1]: device 8000f00.mdio:01, driver TI DP83867
    [    1.482814] debugfs: Directory 'pd:53' with parent 'pm_genpd' already present!
    [    1.482858] debugfs: Directory 'pd:52' with parent 'pm_genpd' already present!
    [    1.482887] debugfs: Directory 'pd:51' with parent 'pm_genpd' already present!
    [    1.483237] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present!
    [    1.485881] input: gpio-keys as /devices/platform/gpio-keys/input/input1
    [    1.495782] ALSA device list:
    [    1.495794]   No soundcards found.
    [    1.532351] Waiting for root device PARTUUID=df7cda6d-02...
    [    1.550197] mmc0: Command Queue Engine enabled
    [    1.550217] mmc0: new HS200 MMC card at address 0001
    [    1.550966] mmcblk0: mmc0:0001 88A398 7.28 GiB
    [    1.551192] mmcblk0boot0: mmc0:0001 88A398 partition 1 4.00 MiB
    [    1.551369] mmcblk0boot1: mmc0:0001 88A398 partition 2 4.00 MiB
    [    1.551544] mmcblk0rpmb: mmc0:0001 88A398 partition 3 4.00 MiB, chardev (237:0)
    [    1.552796]  mmcblk0: p1 p2
    [    1.593632] EXT4-fs (mmcblk0p2): recovery complete
    [    1.593868] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [    1.593956] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    1.596186] devtmpfs: mounted
    [    1.597441] Freeing unused kernel memory: 1792K
    [    1.674363] mmc1: new high speed SDHC card at address aaaa
    [    1.675224] mmcblk1: mmc1:aaaa SK32G 29.7 GiB
    [    1.677217]  mmcblk1: p1 p2 p3
    [    1.679264] Run /sbin/init as init process
    [    1.749589] systemd[1]: System time before build time, advancing clock.
    [    1.943669] NET: Registered protocol family 10
    [    1.944808] Segment Routing with IPv6
    [    1.961098] systemd[1]: systemd 244.5+ running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR -SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN -PCRE2 default-hierarchy=hybrid)
    [    1.961557] systemd[1]: Detected architecture arm64.
    
    Welcome to Arago 2021.09!
    
    [    2.015735] systemd[1]: Set hostname to <AM62x-Tronlong>.
    [    2.214534] systemd[1]: /lib/systemd/system/startwlansta.service:7: Unknown key name 'After' in section 'Service', ignoring.
    [    2.215324] systemd[1]: /lib/systemd/system/startwlanap.service:7: Unknown key name 'After' in section 'Service', ignoring.
    [    2.224956] systemd[1]: /lib/systemd/system/irqbalanced.service:6: Unknown key name 'ConditionCPUs' in section 'Unit', ignoring.
    [    2.239059] systemd[1]: /lib/systemd/system/docker.socket:6: ListenStream= references a path below legacy directory /var/run/, updating /var/run/docker.sock → /run/docker.sock; please update the unit file accordingly.
    [    2.308684] random: systemd: uninitialized urandom read (16 bytes read)
    [    2.312644] systemd[1]: Created slice system-getty.slice.
    [  OK  ] Created slice system-getty.slice.
    [  OK  ] Created slice system-serial\x2dgett[    2.339442] random: systemd: uninitialized urandom read (16 bytes read)
    y.slice.
    [    2.341234] systemd[1]: Created slice system-serial\x2dgetty.slice.
    [  OK  ] Created slice User and Session Slic[    2.361244] random: systemd: uninitialized urandom read (16 bytes read)
    e.
    [    2.362746] systemd[1]: Created slice User and Session Slice.
    [  OK  ] Started Dispatch Password …ts to [    2.382019] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    Console Directory Watch.
    [  OK  ] Started Forward Password R…uests [    2.407502] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    to Wall Directory Watch.
    [  OK  ] Reached target Paths.
    [    2.431466] systemd[1]: Reached target Paths.
    [  OK  ] Reached target Remote File Systems systemd[1]: Reached target Remote File Systems.
    [0m.
    [  OK  ] Reached target Slices.
    [    2.463319] systemd[1]: Reached target Slices.
    [  OK  ] Reached target Swap.
    [    2.475285] systemd[1]: Reached target Swap.
    [  OK  ] Listening on RPCbind Server Activat[    2.504642] systemd[1]: Listening on RPCbind Server Activation Socket.
    ion Socket.
    [  OK  ] Reached target RPC Port Mapper.[    2.527538] systemd[1]: Reached target RPC Port Mapper.
    
    [  OK  ] Listening on Process Core Dump Sock[    2.551903] systemd[1]: Listening on Process Core Dump Socket.
    et.
    [  OK  ] Listening on initctl Compatibility [    2.575702] systemd[1]: Listening on initctl Compatibility Named Pipe.
    Named Pipe.
    [    2.602743] systemd[1]: Condition check resulted in Journal Audit Socket being skipped.
    [    2.603636] systemd[1]: Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket.[    2.632003] systemd[1]: Listening on Journal Socket.
    
    [  OK  ] Listening on Network Service Netlin[    2.652100] systemd[1]: Listening on Network Service Netlink Socket.
    k Socket.
    [  OK  ] Listening on udev Control Socket    2.675912] systemd[1]: Listening on udev Control Socket.
    m.
    [  OK  ] Listening on udev Kernel Socket[    2.695696] systemd[1]: Listening on udev Kernel Socket.
    .
             Mounting Huge Pages File System...[    2.720243] systemd[1]: Mounting Huge Pages File System...
    
             Mounting POSIX Message Queue File System..[    2.744103] systemd[1]: Mounting POSIX Message Queue File System...
    .
             Mounting Kernel Debug File System...
    [    2.772158] systemd[1]: Mounting Kernel Debug File System...
             Mounting Temporary Directory (/tmp)...
    [    2.788518] systemd[1]: Mounting Temporary Directory (/tmp)...
             Starting Create list of st…odes for the curr[    2.805436] systemd[1]: Starting Create list of static device nodes for the current kernel...
    ent kernel...
             Starting Start psplash boot splash screen.[    2.845831] systemd[1]: Starting Start psplash boot splash screen...
    ..
    [    2.872680] systemd[1]: Starting RPC Bind...
             Starting RPC Bind...
    [    2.895603] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
    [    2.910934] systemd[1]: Starting Journal Service...
             Starting Journal Service...
             Starting Load Kernel Modules...
    [    2.933488] systemd[1]: Starting Load Kernel Modules...
             Starting Remount Root and Kernel File Systems systemd[1]: Starting Remount Root and Kernel File Systems...
    [0m...
    [    2.959250] cryptodev: loading out-of-tree module taints kernel.
    [    2.963543] cryptodev: driver 1.10 loaded.
    [    2.971522] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    [    2.979475] systemd[1]: Starting udev Coldplug all Devices...
             Starting udev Coldplug all Devices...
    [  OK  ] Started Start psplash boot splash s[    3.005764] systemd[1]: Started Start psplash boot splash screen.
    creen.
    [  OK  ] Started RPC Bind.
    [    3.028047] systemd[1]: Started RPC Bind.
    [  OK  ] Started Journal Service.
    [    3.040108] systemd[1]: Started Journal Service.
    [  OK  ] Mounted Huge Pages File System.
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Mounted Kernel Debug File System.
    [  OK  ] Mounted Temporary Directory (/tmp).
    [  OK  ] Started Create list of sta… nodes for the current kernel.
    [  OK  ] Started Load Kernel Modules.
    [  OK  ] Started Remount Root and Kernel File Systems.
             Mounting Kernel Configuration File System...
    [  OK  ] Started Start psplash-syst…progress communication helper.
             Starting Flush Journal to Persistent Storage...
    [    3.248423] systemd-journald[198]: Received client request to flush runtime journal.
             Starting Apply Kernel Variables...
             Starting Create Static Device Nodes in /dev...
    [  OK  ] Mounted Kernel Configuration File System.
    [  OK  ] Started Flush Journal to Persistent Storage.
    [  OK  ] Started Apply Kernel Variables.
    [  OK  ] Started Create Static Device Nodes in /dev.
    [  OK  ] Reached target Local File Systems ([    3.376477] random: systemd: uninitialized urandom read (16 bytes read)
    Pre).
    [    3.400335] random: systemd: uninitialized urandom read (16 bytes read)
    [    3.407257] random: systemd-journal: uninitialized urandom read (16 bytes read)
             Mounting /media/ram...
             Mounting /var/volatile...
             Starting udev Kernel Device Manager...
    [  OK  ] Started udev Coldplug all Devices.
    [  OK  ] Mounted /media/ram.
    [  OK  ] Mounted /var/volatile.
    [  OK  ] Started udev Kernel Device Manager.
             Starting udev Wait for Complete Device Initialization...
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
             Starting Create Volatile Files and Directories...
    [  OK  ] Started Create Volatile Files and Directories.
             Starting Network Time Synchronization...
             Starting Update UTMP about System Boot/Shutdown...
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Created slice system-systemd\x2dbacklight.slice.
             Starting Load/Save Screen …ness of backlight:backlight...
    [  OK  ] Started Load/Save Screen B…htness of backlight:backlight.
    [  OK  ] Started Network Time Synchronization.
    [    3.918525] CAN device driver interface
    [  OK  ] Reached target System Time Set.
    [    3.928145] rtc-ds1307 0-0068: registered as rtc0
    [    3.929589] rtc-ds1307 0-0068: hctosys: unable to read the hardware clock
    [  OK  ] Reached target System Time Synchronized.
    [    3.974273] m_can_platform 4e00000.can: IRQ int0 not found
    [    3.974297] m_can_platform 4e00000.can: Unable to get irq by int0 name
    [    3.977704] m_can_platform 4e00000.can: IRQ int0 not found
    [    3.977724] m_can_platform 4e00000.can: Unable to get irq by int0 name
    [    3.979834] m_can_platform 4e10000.can: IRQ int0 not found
    [    3.979854] m_can_platform 4e10000.can: Unable to get irq by int0 name
    [    3.995857] m_can_platform 20701000.can: m_can device registered (irq=48, version=32)
    [    4.016446] m_can_platform 4e00000.can: IRQ int0 not found
    [    4.016468] m_can_platform 4e00000.can: Unable to get irq by int0 name
    [    4.017409] m_can_platform 4e10000.can: IRQ int0 not found
    [    4.017425] m_can_platform 4e10000.can: Unable to get irq by int0 name
    [    4.141902] k3-m4-rproc 5000000.m4fss: assigned reserved memory node m4f-dma-memory@9cb00000
    [    4.143324] k3-m4-rproc 5000000.m4fss: configured M4 for remoteproc mode
    [    4.144972] k3-m4-rproc 5000000.m4fss: local reset is deasserted for device
    [    4.145723] remoteproc remoteproc0: 5000000.m4fss is available
    [    4.148210] m_can_platform 4e00000.can: IRQ int0 not found
    [    4.148232] m_can_platform 4e00000.can: Unable to get irq by int0 name
    [    4.149567] m_can_platform 4e10000.can: IRQ int0 not found
    [    4.149585] m_can_platform 4e10000.can: Unable to get irq by int0 name
    [    4.151762] remoteproc remoteproc0: powering up 5000000.m4fss
    [    4.151792] remoteproc remoteproc0: Booting fw image am62-mcu-m4f0_0-fw, size 105960
    [    4.152613]  remoteproc0#vdev0buffer: assigned reserved memory node m4f-dma-memory@9cb00000
    [    4.152785]  remoteproc0#vdev0buffer: registered virtio0 (type 7)
    [    4.152796] remoteproc remoteproc0: remote processor 5000000.m4fss is now up
    [    4.227719] virtio_rpmsg_bus virtio0: rpmsg host is online
    [    4.228854] virtio_rpmsg_bus virtio0: creating channel ti.ipc4.ping-pong addr 0xd
    [    4.229111] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xe
    [    4.229452] m_can_platform 4e00000.can: IRQ int0 not found
    [    4.229465] m_can_platform 4e00000.can: Unable to get irq by int0 name
    [    4.230958] m_can_platform 4e10000.can: IRQ int0 not found
    [    4.231000] m_can_platform 4e10000.can: Unable to get irq by int0 name
    [    4.257028] m_can_platform 4e00000.can: IRQ int0 not found
    [    4.257048] m_can_platform 4e00000.can: Unable to get irq by int0 name
    [    4.257993] m_can_platform 4e10000.can: IRQ int0 not found
    [    4.258012] m_can_platform 4e10000.can: Unable to get irq by int0 name
    [    4.266894] platform 78000000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)
    [    4.269029] platform 78000000.r5f: configured R5F for IPC-only mode
    [    4.269150] platform 78000000.r5f: assigned reserved memory node r5f-dma-memory@9da00000
    [    4.269619] remoteproc remoteproc1: 78000000.r5f is available
    [    4.269715] remoteproc remoteproc1: attaching to 78000000.r5f
    [    4.269917] platform 78000000.r5f: R5F core initialized in IPC-only mode
    [    4.269934]  remoteproc1#vdev0buffer: assigned reserved memory node r5f-dma-memory@9da00000
    [    4.270483] virtio_rpmsg_bus virtio1: rpmsg host is online
    [    4.271519] virtio_rpmsg_bus virtio1: creating channel ti.ipc4.ping-pong addr 0xd
    [    4.271711] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0xe
    [    4.286974] m_can_platform 4e00000.can: IRQ int0 not found
    [    4.286996] m_can_platform 4e00000.can: Unable to get irq by int0 name
    [    4.288278] m_can_platform 4e10000.can: IRQ int0 not found
    [    4.288297] m_can_platform 4e10000.can: Unable to get irq by int0 name
    [    4.293533]  remoteproc1#vdev0buffer: registered virtio1 (type 7)
    [    4.293555] remoteproc remoteproc1: remote processor 78000000.r5f is now attached
    [    4.296292] m_can_platform 4e00000.can: IRQ int0 not found
    [    4.296315] m_can_platform 4e00000.can: Unable to get irq by int0 name
    [    4.297262] m_can_platform 4e10000.can: IRQ int0 not found
    [    4.297277] m_can_platform 4e10000.can: Unable to get irq by int0 name
    [    4.321142] m_can_platform 4e00000.can: IRQ int0 not found
    [    4.321163] m_can_platform 4e00000.can: Unable to get irq by int0 name
    [    4.322222] m_can_platform 4e10000.can: IRQ int0 not found
    [    4.322241] m_can_platform 4e10000.can: Unable to get irq by int0 name
    [    4.351047] m_can_platform 4e00000.can: IRQ int0 not found
    [    4.351067] m_can_platform 4e00000.can: Unable to get irq by int0 name
    [    4.353135] m_can_platform 4e00000.can: m_can device registered (irq=-6, version=32)
    [    4.354694] m_can_platform 4e10000.can: IRQ int0 not found
    [    4.354709] m_can_platform 4e10000.can: Unable to get irq by int0 name
    [    4.358451] m_can_platform 4e10000.can: IRQ int0 not found
    [    4.358471] m_can_platform 4e10000.can: Unable to get irq by int0 name
    [    4.360681] m_can_platform 4e10000.can: m_can device registered (irq=-6, version=32)
    [    4.472248] random: systemd: uninitialized urandom read (16 bytes read)
    [    4.509938] PVR_K:  261: Read BVNC 33.15.11.3 from HW device registers
    [    4.510111] PVR_K:  261: RGX Device registered with BVNC 33.15.11.3
    [    4.539450] [drm] Initialized pvr 1.15.6133109 20170530 for fd00000.gpu on minor 1
    [    4.571563] random: systemd: uninitialized urandom read (16 bytes read)
    [    4.571672] random: systemd: uninitialized urandom read (16 bytes read)
    [    5.371236] random: crng init done
    [    5.371258] random: 133 urandom warning(s) missed due to ratelimiting
    [  OK  ] Started Load/Save Random Seed.
    [  OK  ] Created slice system-systemd\x2dfsck.slice.
    [    6.001620] cdns-csi2rx 30101000.csi-bridge: Probed CSI2RX with 4/4 lanes, 4 streams, external D-PHY
    [    6.125448] usbcore: registered new interface driver usbfs
    [    6.125542] usbcore: registered new interface driver hub
    [    6.125623] usbcore: registered new device driver usb
    [    6.183384] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
    [    6.183444] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 1
    [    6.183709] xhci-hcd xhci-hcd.2.auto: hcc params 0x0258fe6d hci version 0x110 quirks 0x0000000000010010
    [    6.183782] xhci-hcd xhci-hcd.2.auto: irq 532, io mem 0x31000000
    [    6.183965] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
    [    6.183982] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 2
    [  OK  ] Found device /dev/mmcblk0p1.
    [    6.184002] xhci-hcd xhci-hcd.2.auto: Host supports USB 3.0 SuperSpeed
    [    6.184209] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
    [    6.184218] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    6.184223] usb usb1: Product: xHCI Host Controller
             Starting File System Check on /dev/mmcblk0p1    6.184227] usb usb1: Manufacturer: Linux 5.10.168-rt83-g72bcb6b0e493 xhci-hcd
    0m...
    [    6.184232] usb usb1: SerialNumber: xhci-hcd.2.auto
    [    6.185125] hub 1-0:1.0: USB hub found
    [    6.185203] hub 1-0:1.0: 1 port detected
    [    6.188370] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [    6.188488] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10
    [    6.188496] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    6.188501] usb usb2: Product: xHCI Host Controller
    [    6.188505] usb usb2: Manufacturer: Linux 5.10.168-rt83-g72bcb6b0e493 xhci-hcd
    [    6.188509] usb usb2: SerialNumber: xhci-hcd.2.auto
    [    6.189223] hub 2-0:1.0: USB hub found
    [    6.189271] hub 2-0:1.0: config failed, hub doesn't have any ports! (err -19)
    [    6.189736] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
    [    6.189772] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 3
    [    6.189961] xhci-hcd xhci-hcd.3.auto: hcc params 0x0258fe6d hci version 0x110 quirks 0x0000000000010010
    [    6.190045] xhci-hcd xhci-hcd.3.auto: irq 533, io mem 0x31100000
    [    6.190224] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
    [    6.190243] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 4
    [    6.190264] xhci-hcd xhci-hcd.3.auto: Host supports USB 3.0 SuperSpeed
    [    6.190469] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
    [    6.190479] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    6.190485] usb usb3: Product: xHCI Host Controller
    [    6.190489] usb usb3: Manufacturer: Linux 5.10.168-rt83-g72bcb6b0e493 xhci-hcd
    [    6.190494] usb usb3: SerialNumber: xhci-hcd.3.auto
    [    6.191219] hub 3-0:1.0: USB hub found
    [    6.191272] hub 3-0:1.0: 1 port detected
    [    6.191727] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
    [    6.191842] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10
    [    6.191850] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [  OK  ] Found device /dev/mmcblk1p2.
    [    6.191855] usb usb4: Product: xHCI Host Controller
    [    6.191859] usb usb4: Manufacturer: Linux 5.10.168-rt83-g72bcb6b0e493 xhci-hcd
    [    6.191864] usb usb4: SerialNumber: xhci-hcd.3.auto
    [    6.192430] hub 4-0:1.0: USB hub found
    [  OK  ] Found device /dev/mmcblk1p1.
    [    6.192468] hub 4-0:1.0: config failed, hub doesn't have any ports! (err -19)
    [    6.451189] usb 3-1: new high-speed USB device number 2 using xhci-hcd
    [  OK  ] Started udev Wait for Complete Device Initialization.
    [  OK  ] Found device /dev/mmcblk1p3.
    [  OK  ] Started Hardware RNG Entropy Gatherer Daemon.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Started Daily rotation of log files.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target Timers.
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
             Starting Docker Socket for the API.
    [    6.608570] usb 3-1: New USB device found, idVendor=05e3, idProduct=0610, bcdDevice=32.98
    [    6.608595] usb 3-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
    [    6.608601] usb 3-1: Product: USB2.0 Hub
    [  OK  ] Listening on dropbear.socket.
             Starting Reboot and dump vmcore via kexec...
    [    6.671030] hub 3-1:1.0: USB hub found
    [    6.675066] hub 3-1:1.0: 4 ports detected
             Starting File System Check on /dev/mmcblk1p1...
             Starting File System Check on /dev/mmcblk1p2...
             Starting File System Check on /dev/mmcblk1p3...
    [  OK  ] Started File System Check on /dev/mmcblk0p1.
    [  OK  ] Listening on Docker Socket for the API.
    [  OK  ] Started Reboot and dump vmcore via kexec.
    [  OK  ] Reached target Sockets.
    [  OK  ] Reached target Basic System.
             Mounting /run/media/mmcblk0p1...
             Starting Save/Restore Sound Card State...
    [  OK  ] Started Job spooling tools.
    [  OK  ] Started Periodic Command Scheduler.
    [  OK  ] Started D-Bus System Message Bus.
    [  OK  ] Started GENIVI DLT logging daemon.
             Starting Print notice about GPLv3 packages...
             Starting IPv6 Packet Filtering Framework...
             Starting IPv4 Packet Filtering Framework...
    [  OK  ] Started irqbalance daemon.
             Starting rc.pvr.service...
             Starting startwlanap...
             Starting startwlansta...
             Starting Login Service...
    [  OK  ] Started TEE Supplicant.
    [  OK  ] Mounted /run/media/mmcblk0p1.
    [  OK  ] Started Save/Restore Sound Card State.
    [  OK  ] Started IPv6 Packet Filtering Framework.
    [  OK  ] Started IPv4 Packet Filtering Framework.
    [  OK  ] Started startwlanap.
    [  OK  ] Started startwlansta.
    [  OK  ] Reached target Network (Pre).
    [  OK  ] Reached target Sound Card.
             Starting Network Service...
    [    7.023258] usb 3-1.2: new high-speed USB device number 3 using xhci-hcd
    [    7.123746] usb 3-1.2: New USB device found, idVendor=0424, idProduct=9e00, bcdDevice= 3.00
    [    7.123777] usb 3-1.2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    [  OK  ] Started File System Check on /dev/mmcblk1p2.
    [  OK  ] Started Network Service.
             Mounting /run/media/mmcblk1p2...
             Starting Wait for Network to be Configured...
             Starting Network Name Resolution...
    [    7.267332] usb 3-1.4: new high-speed USB device number 4 using xhci-hcd
    [    7.329648] am65-cpsw-nuss 8000000.ethernet eth1: PHY [8000f00.mdio:01] driver [TI DP83867] (irq=POLL)
    [    7.329686] am65-cpsw-nuss 8000000.ethernet eth1: configuring for phy/rgmii-rxid link mode
    [  OK  ] Started File System Check on /dev/m[    7.373292] usb 3-1.4: New USB device found, idVendor=0bda, idProduct=8179, bcdDevice= 0.00
    mcblk1p3.
    [    7.373318] usb 3-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [    7.373324] usb 3-1.4: Product: 802.11n NIC
    [    7.373328] usb 3-1.4: Manufacturer: Realtek
             Mounting /run/media/mmcblk1p3...
    [    7.482498] smsc95xx v2.0.0
    [  OK  ] Listening on Load/Save RF …itch Status /dev/rfkill Watch.
    [    7.705141] SMSC LAN8710/LAN8720 usb-003:003:01: attached PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=usb-003:003:01, irq=POLL)
    [    7.717945] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
    [    7.738758] EXT4-fs (mmcblk1p3): mounted filesystem with ordered data mode. Opts: (null)
    [  OK  ] Mounted /run/media/mmcblk1p2.
    [  OK  ] Mounted /run/media/mmcblk1p3.
    [    7.899753] am65-cpsw-nuss 8000000.ethernet eth0: PHY [8000f00.mdio:00] driver [YT8521SH Gigabit Ethernet] (irq=POLL)
    [  OK  ] Started Login Service.
    [    7.899821] am65-cpsw-nuss 8000000.ethernet eth0: configuring for phy/rgmii-rxid link mode
    [    7.924682] smsc95xx 3-1.2:1.0 eth2: register 'smsc95xx' at usb-xhci-hcd.3.auto-1.2, smsc95xx USB 2.0 Ethernet, 7a:fd:47:11:72:4b
    [    7.925528] cfg80211: Loading compiled-in X.509 certificates for regulatory database
    [    7.925733] usbcore: registered new interface driver smsc95xx
    [    7.960142] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
    [  OK  ] Started Network Name Resolution.
    [  OK  ] Reached target Network.
    [  OK  ] Reached target Host and Network Name Lookups.
             Starting Avahi mDNS/DNS-SD Stack...
             Starting Enable and configure wl18xx bluetooth stack...
             Starting Mosquitto MQTT v3.1/v3.1.1 Broker...
    [  OK  ] Started NFS status monitor for NFSv2/3 locking..
    [    8.156164] smsc95xx 3-1.2:1.0 eth2: Link is Down
             Starting Simple Network Ma…ent Protocol (SNMP) Daemon....
             Starting Permit User Sessions...
    [  OK  ] Started Vsftpd ftp daemon.
    [  OK  ] Started Permit User Sessions.
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Serial Getty on ttyS2.
    [  OK  ] Reached target Login Prompts.
             Starting Synchronize System and HW clocks...
    [  OK  ] Started Enable and configure wl18xx bluetooth stack.
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
    [FAILED] Failed to start Wait for Network to be Configured.
    See 'systemctl status systemd-networkd-wait-online.service' for details.
    [  OK  ] Reached target Network is Online.
             Starting Docker Application Container Engine...
             Starting Lighttpd Daemon...
    [  OK  ] Started strongSwan IPsec I…IKEv2 daemon using ipsec.conf.
    [  OK  ] Started rc.pvr.service.
             Starting weston.service...
    [  OK  ] Started Lighttpd Daemon.
    [  OK  ] Started Synchronize System and HW clocks.
    [  OK  ] Started File System Check on /dev/mmcblk1p1.
             Mounting /run/media/mmcblk1p1...
    [  OK  ] Mounted /run/media/mmcblk1p1.
    [  OK  ] Started Mosquitto MQTT v3.1/v3.1.1 Broker.
    [  OK  ] Started Simple Network Man…ement Protocol (SNMP) Daemon..
    [    9.314897] PVR_K:  981: RGX Firmware image 'rgx.fw.33.15.11.3' loaded
    [    9.337422] PVR_K:  981: Shader binary image 'rgx.sh.33.15.11.3' loaded
    [    9.442111] Initializing XFRM netlink socket
    [  OK  ] Started weston.service.
             Starting telnetd.service...
    [  OK  ] Started telnetd.service.
             Starting LSB: start and stop docker...
             Starting hmi_demo.service...
             Starting LSB: network benchmark...
             Starting LSB: Expand Rootfs of boot device...
    [  OK  ] Started LSB: network benchmark.
    [  OK  ] Started hmi_demo.service.
    [  OK  ] Started LSB: start and stop docker.
    [    9.791385] startwlansta.sh[820]: Wi-Fi user configuration file missing, exit
    [    9.943924] am65-cpsw-nuss 8000000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [    9.944018] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [  OK  ] Started LSB: Expand Rootfs of boot device.
             Starting thermal-zone-init.service...
    [  OK  ] Started thermal-zone-init.service.
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPLv3 packages:
            autoconf
            bash-dev
            bash
            bc
            binutils
            cifs-utils
            coreutils-stdbuf
            coreutils
            cpio
            cpp-symlinks
            cpp
            dosfstools
            elfutils
            g++-symlinks
            g++
            gawk
            gcc-symlinks
            gcc
            gdb
            gdbserver
            gettext
            glmark2
            gstreamer1.0-libav
            gzip
            hidapi
            less
            libasm1
            libbfd
            libdw1
            libelf1
            libgdbm-compat4
            libgdbm-dev
            libgdbm6
            libgettextlib
            libgettextsrc
            libgmp10
            libidn2-0
            libmpc3
            libmpfr6
            libreadline-dev
            libreadline8
            libunistring2
            m4-dev
            m4
            make
            nettle
            parted
            tar
            which
    
    If you do not wish to distribute GPLv3 components please remove
    the above packages prior to distribution.  This can be done using
    the opkg remove command.  i.e.:
        opkg remove <package>
    Where <package> is the name printed in the list above
    
    NOTE: If the package is a dependency of another package you
          will be notified of the dependent packages.  You should
          use the --force-removal-of-dependent-packages option to
          also remove the dependent packages as well
    ***************************************************************
    ***************************************************************
    [  OK  ] Started Print notice about GPLv3 packages.
    [   11.023329] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
    [   11.041665] Bridge firewalling registered
    [   12.945814] process 'docker/tmp/qemu-check736689518/check' started with executable stack
    [  OK  ] Started Docker Application Container Engine.
    [  OK  ] Reached target Multi-User System.
             Starting Update UTMP about System Runlevel Changes...
    [  OK  ] Started Update UTMP about System Runlevel Changes.
      |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|
                  |___|                    |___|
    
    Arago Project AM62x-Tronlong ttyS2
    
    Arago 2021.09 AM62x-Tronlong ttyS2
    
    AM62x-Tronlong login: root (automatic login)
    
    root@AM62x-Tronlong:~#
    

  • Hi Zekun, Hao,

    The first problem is that the kernel boot log doesn't show the wkup uart is enabled.

    $ grep ttyS 3175.boot.log.txt 
    [    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 root=PARTUUID=df7cda6d-02 rw rootfstype=ext4 rootwait
    [    1.195449] printk: console [ttyS2]: printing thread started
    [    1.195464] printk: console [ttyS2] enabled
    [    1.216351] 2810000.serial: ttyS3 at MMIO 0x2810000 (irq = 30, base_baud = 3000000) is a 8250
    [    1.217347] 2820000.serial: ttyS4 at MMIO 0x2820000 (irq = 31, base_baud = 3000000) is a 8250
    [    1.218259] 2840000.serial: ttyS5 at MMIO 0x2840000 (irq = 32, base_baud = 3000000) is a 8250
    [    1.219181] 2850000.serial: ttyS6 at MMIO 0x2850000 (irq = 33, base_baud = 3000000) is a 8250
    [    1.220118] 2860000.serial: ttyS7 at MMIO 0x2860000 (irq = 34, base_baud = 3000000) is a 8250
    [  OK  ] Started Serial Getty on ttyS2.
    Arago Project AM62x-Tronlong ttyS2
    Arago 2021.09 AM62x-Tronlong ttyS2

    If the wkup uart was enabled, the kernel log should have the following message.

    2b300000.serial: ttyS9 at MMIO 0x2b300000 (irq = 17, base_baud = 3000000) is a 8250

    Hao, what is the output of the following command on your board?

    # cat /sys/firmware/devicetree/base/bus@f0000/bus@b00000/serial@2b300000/status

  • Hello, bin,

    I know that wkup_uart0 is executing the default output of r5, because I haven‘t released it yet. I am a little confused. If I want to control the wkup serial port in linux, do I need to re-download the mcu and r5 programs? Can I disable the wkup serial port in r5 by modifying the uboot source code?

  • hi bin

    I tried to recompile the project using the following method, replaced /lib/firmware/am62-main-r5f0_0-fw and turned into the following state, can it be said that it has been handed over to Linux control. But it seems that the output of echo /dev/ttyS9 is still problematic.

    Sorry, I know very little about r5 and m4.

  • Hi Hao,

    First of all, originally 'dmesg|grep ttyS' doesn't show the wkup uart is NOT initialized. The sysfw in mcu sdk has nothing to do this with problem.

    But now, you latest log shows that 'dmesg|grep ttyS' tells the wkup uart is now initialized. What change have you made?

    The process of "Disabling the WKUP_UART access from DM firmware" mentioned in the referred documentation rebuilds the DM firmware, which is not 'lib/firmware/am62-main-r5f0_0_fw', rather ipc_echo_testb_mcu1_0_release_strip.xer5f in the SDK board-support/prebuilt-images/ directory. This file will be included when compile U-Boot from the SDK.

  • But now, you latest log shows that 'dmesg|grep ttyS' tells the wkup uart is now initialized. What change have you made?

    I disabled uart0 in the ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang project in ccs and built it. I replaced the am62-wkup-r5f0_0-fw generated in debug with /lib/firmware. But the serial port still outputs some test stuff.

    The process of "Disabling the WKUP_UART access from DM firmware" mentioned in the referred documentation rebuilds the DM firmware, which is not 'lib/firmware/am62-main-r5f0_0_fw', rather ipc_echo_testb_mcu1_0_release_strip.xer5f in the SDK board-support/prebuilt-images/ directory. This file will be included when compile U-Boot from the SDK.

    I learned that when compiling tispl.bin, the DM path configuration points to prebuilt-images. How can I compile and generate my modified xer5f file through ccs and replace it in the prebuilt-images path? I tried to modify the ccs software output file .out to xer5f and makefile, and successfully compiled it into xer5f, but the file format is not a bin file. After replacing it with prebuilt-images to compile uboot, it cannot start. I feel that I did it wrong.

  • Hi Hao,

    When you compiled the MCU+ SDK examples/drivers/ipc/ipc_rpmsg_echo_linux/am62x-sk/r5fss0-0_freertos/ti-arm-clang project, you should have the following generated file, this is the DM firmware, which will be compiled in tispl.bin.

    ipc_rpmsg_echo_linux.wkup-r5f0_0.release.strip.out

    Please replace this file to Linux SDK board-support/prebuilt-images/am62xx-evm/ti-dm/am62xx/ipc_echo_testb_mcu1_0_release_strip.xer5f.

  • hi bin

    I am based on sdk8.6. After compiling, I generated the ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang.out file under debug. I put it in sdk8.6/board-support/prebuilt-images and used make ARCH=arm CROSS_COMPILE=aarch64-none-linux-gnu- \ ATF=$tisdk_path/prebuilt-images/bl31.bin \ TEE=$tisdk_path/prebuilt-images/bl32.bin \ DM=$tisdk_path/prebuilt-images/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang.out \ O=$output_image_path/a53 Compile, the whole process has no error, but uboot did not start successfully, stop and load uboot, I use gp, the following is my log of compiling r5.

    **** Build of configuration Debug for project ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang ****
    
    "D:\\CCS\\ccs\\utils\\bin\\gmake" -k -j 16 all -O 
     
    Building file: "../example.syscfg"
    Invoking: SysConfig
    "D:/CCS/ccs/utils/sysconfig_1.15.0/sysconfig_cli.bat" -s "D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/.metadata/product.json" --script "D:/CCS/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang/example.syscfg" --context "r5fss0-0" -o "syscfg" --part Default --package ALW --compiler ticlang
    Running script...
    Validating...
    Generating Code (example.syscfg)...
    Writing D:\CCS\ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_dpl_config.c...
    Writing D:\CCS\ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_dpl_config.h...
    Writing D:\CCS\ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_drivers_config.c...
    Writing D:\CCS\ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_drivers_config.h...
    Writing D:\CCS\ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_drivers_open_close.c...
    Writing D:\CCS\ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_drivers_open_close.h...
    Writing D:\CCS\ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_pinmux_config.c...
    Writing D:\CCS\ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_power_clock_config.c...
    Writing D:\CCS\ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_board_config.c...
    Writing D:\CCS\ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_board_config.h...
    Writing D:\CCS\ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_board_open_close.c...
    Writing D:\CCS\ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_board_open_close.h...
    Finished building: "../example.syscfg"
     
    Building file: "syscfg/ti_dpl_config.c"
    Invoking: Arm Compiler
    "D:/CCS/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -I"D:/CCS/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/include/c" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source/kernel/freertos/FreeRTOS-Kernel/include" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source/kernel/freertos/portable/TI_ARM_CLANG/ARM_CR5F" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source/kernel/freertos/config/am62x/r5f" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/examples/drivers/ipc/ipc_rpmsg_echo_linux" -DSOC_AM62X -D_DEBUG_=1 -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_dpl_config.d_raw" -MT"syscfg/ti_dpl_config.o" -I"D:/CCS/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang/Debug/syscfg"   -o"syscfg/ti_dpl_config.o" "syscfg/ti_dpl_config.c"
    Finished building: "syscfg/ti_dpl_config.c"
     
    Building file: "syscfg/ti_drivers_config.c"
    Invoking: Arm Compiler
    "D:/CCS/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -I"D:/CCS/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/include/c" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source/kernel/freertos/FreeRTOS-Kernel/include" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source/kernel/freertos/portable/TI_ARM_CLANG/ARM_CR5F" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source/kernel/freertos/config/am62x/r5f" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/examples/drivers/ipc/ipc_rpmsg_echo_linux" -DSOC_AM62X -D_DEBUG_=1 -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_drivers_config.d_raw" -MT"syscfg/ti_drivers_config.o" -I"D:/CCS/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang/Debug/syscfg"   -o"syscfg/ti_drivers_config.o" "syscfg/ti_drivers_config.c"
    Finished building: "syscfg/ti_drivers_config.c"
     
    Building file: "syscfg/ti_drivers_open_close.c"
    Invoking: Arm Compiler
    "D:/CCS/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -I"D:/CCS/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/include/c" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source/kernel/freertos/FreeRTOS-Kernel/include" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source/kernel/freertos/portable/TI_ARM_CLANG/ARM_CR5F" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source/kernel/freertos/config/am62x/r5f" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/examples/drivers/ipc/ipc_rpmsg_echo_linux" -DSOC_AM62X -D_DEBUG_=1 -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_drivers_open_close.d_raw" -MT"syscfg/ti_drivers_open_close.o" -I"D:/CCS/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang/Debug/syscfg"   -o"syscfg/ti_drivers_open_close.o" "syscfg/ti_drivers_open_close.c"
    Finished building: "syscfg/ti_drivers_open_close.c"
     
    Building file: "syscfg/ti_pinmux_config.c"
    Invoking: Arm Compiler
    "D:/CCS/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -I"D:/CCS/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/include/c" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source/kernel/freertos/FreeRTOS-Kernel/include" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source/kernel/freertos/portable/TI_ARM_CLANG/ARM_CR5F" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source/kernel/freertos/config/am62x/r5f" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/examples/drivers/ipc/ipc_rpmsg_echo_linux" -DSOC_AM62X -D_DEBUG_=1 -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_pinmux_config.d_raw" -MT"syscfg/ti_pinmux_config.o" -I"D:/CCS/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang/Debug/syscfg"   -o"syscfg/ti_pinmux_config.o" "syscfg/ti_pinmux_config.c"
    Finished building: "syscfg/ti_pinmux_config.c"
     
    Building file: "syscfg/ti_power_clock_config.c"
    Invoking: Arm Compiler
    "D:/CCS/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -I"D:/CCS/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/include/c" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source/kernel/freertos/FreeRTOS-Kernel/include" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source/kernel/freertos/portable/TI_ARM_CLANG/ARM_CR5F" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source/kernel/freertos/config/am62x/r5f" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/examples/drivers/ipc/ipc_rpmsg_echo_linux" -DSOC_AM62X -D_DEBUG_=1 -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_power_clock_config.d_raw" -MT"syscfg/ti_power_clock_config.o" -I"D:/CCS/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang/Debug/syscfg"   -o"syscfg/ti_power_clock_config.o" "syscfg/ti_power_clock_config.c"
    Finished building: "syscfg/ti_power_clock_config.c"
     
    Building file: "syscfg/ti_board_config.c"
    Invoking: Arm Compiler
    "D:/CCS/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -I"D:/CCS/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/include/c" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source/kernel/freertos/FreeRTOS-Kernel/include" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source/kernel/freertos/portable/TI_ARM_CLANG/ARM_CR5F" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source/kernel/freertos/config/am62x/r5f" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/examples/drivers/ipc/ipc_rpmsg_echo_linux" -DSOC_AM62X -D_DEBUG_=1 -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_board_config.d_raw" -MT"syscfg/ti_board_config.o" -I"D:/CCS/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang/Debug/syscfg"   -o"syscfg/ti_board_config.o" "syscfg/ti_board_config.c"
    Finished building: "syscfg/ti_board_config.c"
     
    Building file: "syscfg/ti_board_open_close.c"
    Invoking: Arm Compiler
    "D:/CCS/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -I"D:/CCS/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/include/c" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source/kernel/freertos/FreeRTOS-Kernel/include" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source/kernel/freertos/portable/TI_ARM_CLANG/ARM_CR5F" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source/kernel/freertos/config/am62x/r5f" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/examples/drivers/ipc/ipc_rpmsg_echo_linux" -DSOC_AM62X -D_DEBUG_=1 -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_board_open_close.d_raw" -MT"syscfg/ti_board_open_close.o" -I"D:/CCS/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang/Debug/syscfg"   -o"syscfg/ti_board_open_close.o" "syscfg/ti_board_open_close.c"
    Finished building: "syscfg/ti_board_open_close.c"
     
    Building file: "../main.c"
    Invoking: Arm Compiler
    "D:/CCS/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -I"D:/CCS/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/include/c" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source/kernel/freertos/FreeRTOS-Kernel/include" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source/kernel/freertos/portable/TI_ARM_CLANG/ARM_CR5F" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source/kernel/freertos/config/am62x/r5f" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/examples/drivers/ipc/ipc_rpmsg_echo_linux" -DSOC_AM62X -D_DEBUG_=1 -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"main.d_raw" -MT"main.o" -I"D:/CCS/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang/Debug/syscfg"   -o"main.o" "../main.c"
    Finished building: "../main.c"
     
    Building file: "../ipc_rpmsg_echo.c"
    Invoking: Arm Compiler
    "D:/CCS/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -I"D:/CCS/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/include/c" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source/kernel/freertos/FreeRTOS-Kernel/include" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source/kernel/freertos/portable/TI_ARM_CLANG/ARM_CR5F" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source/kernel/freertos/config/am62x/r5f" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/examples/drivers/ipc/ipc_rpmsg_echo_linux" -DSOC_AM62X -D_DEBUG_=1 -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"ipc_rpmsg_echo.d_raw" -MT"ipc_rpmsg_echo.o" -I"D:/CCS/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang/Debug/syscfg"   -o"ipc_rpmsg_echo.o" "../ipc_rpmsg_echo.c"
    Finished building: "../ipc_rpmsg_echo.c"
     
    Building target: "ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang.out"
    Invoking: Arm Linker
    "D:/CCS/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/bin/tiarmclang.exe" -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -DSOC_AM62X -D_DEBUG_=1 -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -Wl,-m"ipc_rpmsg_echo_linux.Debug.map" -Wl,-i"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source/drivers/device_manager/dm_stub/lib" -Wl,-i"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source/drivers/device_manager/rm_pm_hal/lib" -Wl,-i"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source/drivers/device_manager/sciclient_direct/lib" -Wl,-i"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source/drivers/device_manager/self_reset/lib" -Wl,-i"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source/kernel/freertos/lib" -Wl,-i"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source/drivers/lib" -Wl,-i"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source/board/lib" -Wl,-i"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source/drivers/device_manager/sciserver/lib" -Wl,-i"D:/CCS/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/lib" -Wl,--reread_libs -Wl,--diag_suppress=10063 -Wl,--diag_wrap=off -Wl,--display_error_number -Wl,--warn_sections -Wl,--xml_link_info="ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang_linkInfo.xml" -Wl,--ram_model -o "ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang.out" "./syscfg/ti_dpl_config.o" "./syscfg/ti_drivers_config.o" "./syscfg/ti_drivers_open_close.o" "./syscfg/ti_pinmux_config.o" "./syscfg/ti_power_clock_config.o" "./syscfg/ti_board_config.o" "./syscfg/ti_board_open_close.o" "./ipc_rpmsg_echo.o" "./main.o" "../linker.cmd"  -Wl,-lfreertos.am62x.r5f.ti-arm-clang.debug.lib -Wl,-ldrivers.am62x.r5f.ti-arm-clang.debug.lib -Wl,-lboard.am62x.r5f.ti-arm-clang.debug.lib -Wl,-lsciserver.am62x.r5f.ti-arm-clang.debug.lib -Wl,-llibc.a -Wl,-llibsysbm.a -Wl,-ldm_stub.am62x.r5f.ti-arm-clang.debug.lib -Wl,-lrm_pm_hal.am62x.r5f.ti-arm-clang.debug.lib -Wl,-lsciclient_direct.am62x.r5f.ti-arm-clang.debug.lib -Wl,-lself_reset.am62x.r5f.ti-arm-clang.debug.lib 
    Finished building target: "ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang.out"
     
    D:/CCS/ccs/utils/bin/gmake -C D:\CCS\ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang -f makefile_ccs_bootimage_gen OUTNAME=ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang PROFILE=Debug MCU_PLUS_SDK_PATH=D:/CCS/mcu_plus_sdk_am62x_08_06_00_18 CG_TOOL_ROOT=D:/CCS/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS CCS_INSTALL_DIR=D:\CCS\ccs CCS_IDE_MODE=desktop
     Boot image: am62x:r5fss0-0:freertos:ti-arm-clang D:/CCS/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang/Debug/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang.appimage  ...
    D:\CCS\ccs/tools/node/node D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/tools/boot/out2rprc/elf2rprc.js Debug/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang.out >> Debug/temp_stdout_Debug.txt
    D:\CCS\ccs/utils/cygwin/cp ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang.rprc D:/CCS/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang/Debug/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang.rprc
    D:\CCS\ccs/utils/cygwin/cp D:/CCS/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang/Debug/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang.rprc D:/CCS/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang/Debug/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang.rprc_tmp
    D:\CCS\ccs/utils/cygwin/rm -f D:/CCS/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang/Debug/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang.rprc
    D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/tools/boot/xipGen/xipGen.exe -i D:/CCS/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang/Debug/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang.rprc_tmp -o D:/CCS/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang/Debug/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang.rprc -x D:/CCS/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang/Debug/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang.rprc_xip --flash-start-addr 0x60000000 -v > Debug/temp_stdout_Debug.txt
    D:\CCS\ccs/tools/node/node D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/tools/boot/multicoreImageGen/multicoreImageGen.js --devID 55 --out D:/CCS/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang/Debug/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang.appimage D:/CCS/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang/Debug/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang.rprc@4  >> Debug/temp_stdout_Debug.txt
    D:\CCS\ccs/tools/node/node D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/tools/boot/multicoreImageGen/multicoreImageGen.js --devID 55 --out D:/CCS/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang/Debug/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang.appimage_xip D:/CCS/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang/Debug/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang.rprc_xip@4  >> Debug/temp_stdout_Debug.txt
    python D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/tools/boot/signing/appimage_x509_cert_gen.py --bin D:/CCS/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang/Debug/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang.appimage --authtype 1 --key D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/tools/boot/signing/rom_degenerateKey.pem --output D:/CCS/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang/Debug/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang.appimage.hs_fs
    Generating certificate for D:/CCS/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang/Debug/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang.appimage ...
    D:\CCS\ccs/utils/cygwin/rm -f D:/CCS/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang/Debug/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang.rprc_tmp
    D:\CCS\ccs/utils/cygwin/rm -f Debug/am62-wkup-r5f0_0-fw
    D:/CCS/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/bin/tiarmstrip -o=Debug/am62-wkup-r5f0_0-fw Debug/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang.out
     Boot image: am62x:r5fss0-0:freertos:ti-arm-clang D:/CCS/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang/Debug/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang.appimage Done !!!
     .
     Boot image: am62x:r5fss0-0:freertos:ti-arm-clang D:/CCS/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang/Debug/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang.appimage.hs_fs Done !!!
     .
     
    
    **** Build Finished ****
    

  • DM=$tisdk_path/prebuilt-images/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang.out

    I believe you have to rename the file to ipc_echo_testb_mcu1_0_release_strip.xer5f, and overwrite the same filename in the SDK board-support/prebuilt-images/ directory.

    ATF=$tisdk_path/prebuilt-images/bl31.bin \ TEE=$tisdk_path/prebuilt-images/bl32.bin \ DM=$tisdk_path/prebuilt-images/

    it seems you also miss "board-support/" in the path.

  • Instead of the line command line to build u-boot, there is another simple way to build u-boot in at the SDK8.6 top level directory:

    $ make u-boot sysfw-image

  • hi bin

    I tried to rename my generated ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang.out to ipc_echo_testb_mcu1_0_release_strip.xer5f, but it still can‘t start uboot

  • I configured the next level directory in the path. When compiling the default file, it can be started normally, but it cannot be started after compiling and replacing.

    In my Ubuntu, the newly generated file is not recognized as a bin file. I don‘t know if this will have any impact.

    #!/bin/sh
    boot_path=$(cd "$(dirname "$0")";pwd)
    output_image_path=/home/linux/TL62x-EVM_V1.2/U-Boot/src/output_image
    tisdk_path=/home/linux/ti-processor-sdk-linux-rt-am62xx-evm-08.06.00.42/board-support
    
    soc_type=gp
    #soc_type=hs-fs
    echo -e "\033[47;32m `date` \033[0m"
    
    
    echo -e "\033[5;47;32m Add Ti-sdk TI_SECURE_DEV_PKG \033[0m"
    export TI_SECURE_DEV_PKG=$tisdk_path/core-secdev-k3
    echo $TI_SECURE_DEV_PKG
    
    
    echo -e "\033[5;47;32m Add Ti-sdk toolchain to path environment \033[0m"
    #########Add Ti-sdk toolchain to path environment
    export PATH=/home/linux/ti-processor-sdk-linux-rt-am62xx-evm-08.06.00.42/linux-devkit/sysroots/x86_64-arago-linux/usr/bin:$PATH
    ##add sudo error: sudo:export commond not found
    ##need use source .shell
    echo $PATH
    
    echo -e "\033[5;47;32m Make distclean \033[0m"
    make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabihf- distclean
    
    echo -e "\033[5;47;32m Make am62x_evm_a53_defconfig \033[0m"
    make ARCH=arm CROSS_COMPILE=aarch64-none-linux-gnu- am62x_evm_a53_defconfig \
        O=$output_image_path/a53
    
    echo -e "\033[5;47;32m Make am62x_evm_r5_defconfig \033[0m"
    make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabihf- am62x_evm_r5_defconfig \
        O=$output_image_path/r5
    
    
    echo -e "\033[5;47;32m Make menuconfig \033[0m"
    ##make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabihf- menuconfig
    ##make ARCH=arm CROSS_COMPILE=aarch64-none-linux-gnu- menuconfig
    echo "\033[5;47;32m Make R5 \033[0m"
    make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabihf- \
        O=$output_image_path/r5
    
    echo -e "\033[5;47;32m Make A53 \033[0m"
    make ARCH=arm CROSS_COMPILE=aarch64-none-linux-gnu- \
        ATF=$tisdk_path/prebuilt-images/bl31.bin \
        TEE=$tisdk_path/prebuilt-images/bl32.bin \
        DM=$tisdk_path/prebuilt-images/ipc_echo_testb_mcu1_0_release_strip.xer5f \
        O=$output_image_path/a53
    
    echo -e "\033[5;47;32m cd k3-image-gen-2022.01 \033[0m"
    cd $tisdk_path/k3-image-gen-2022.01/
    # 检查soc_type的值
    if [ "$soc_type" = "gp" ]; then
        # 如果soc_type等于gp,则执行这些操作
    echo -e "\033[5;47;32m make  $soc_type \033[0m"
    make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabihf- \
        SOC=am62x SOC_TYPE=$soc_type \
        SBL=$output_image_path/r5/spl/u-boot-spl.bin \
        SYSFW_PATH=$tisdk_path/prebuilt-images/ti-fs-firmware-am62x-gp.bin
    fi
    if [ "$soc_type" = "hs-fs" ]; then
        # 如果soc_type等于gp,则执行这些操作
    echo -e "\033[5;47;32m make  $soc_type \033[0m"
    make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabihf- \
        SOC=am62x SOC_TYPE=$soc_type \
        SBL=$output_image_path/r5/spl/u-boot-spl.bin \
        SYSFW_PATH=$tisdk_path/prebuilt-images/ti-fs-firmware-am62x-hs-fs-cert.bin \
        SYSFW_PATH=$tisdk_path/prebuilt-images/ti-fs-firmware-am62x-hs-fs-enc.bin
    fi
    
    echo -e "\033[5;47;32m CP tiboot3+tispl+uboot to  update-file \033[0m"
    #sudo cp $output_image_path/a53/tispl.bin /home/ubuntu/Desktop/update-file
    #sudo cp $output_image_path/a53/u-boot.img /home/ubuntu/Desktop/update-file
    #sudo cp -p $tisdk_path/k3-image-gen-2022.01/tiboot3.bin /home/ubuntu/Desktop/update-file
    
    echo -e "\033[5;47;32m CP tiboot3+tispl+uboot to tftpboot  \033[0m"
    sudo cp $output_image_path/a53/tispl.bin /home/linux/tftpboot
    sudo cp $output_image_path/a53/u-boot.img /home/linux/tftpboot
    sudo cp -p $tisdk_path/k3-image-gen-2022.01/tiboot3.bin /home/linux/tftpboot
    

    ...

  • but it cannot be started after compiling and replacing.

    Please provide the exact commands/log to show how you compile and replace the file.

    When it fails to start, does the board UART console print any message by the U-Boot?

  • I tried to rename my generated ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang.out to

    It seems you copied the wrong file to Linux SDK. Please try to use file "ipc_rpmsg_echo_linux.release.appimage". The DM firmware file size should be about 150KB, not 1.2MB.

  • hi bin

    1、Based on linux-rt-SDK8.6.0042/mcu-sdk8.6.0018, I used ccs12.2 for uboot-gp. The following is the compilation log.

    The following is the log compiled using ccs.

    **** Build of configuration Debug for project ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang ****
    
    "D:\\CCS\\ccs\\utils\\bin\\gmake" -k -j 16 all -O 
     
    Building file: "../example.syscfg"
    Invoking: SysConfig
    "D:/CCS/ccs/utils/sysconfig_1.15.0/sysconfig_cli.bat" -s "D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/.metadata/product.json" --script "D:/CCS/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang/example.syscfg" --context "r5fss0-0" -o "syscfg" --part Default --package ALW --compiler ticlang
    Running script...
    Validating...
    Generating Code (example.syscfg)...
    Writing D:\CCS\ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_dpl_config.c...
    Writing D:\CCS\ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_dpl_config.h...
    Writing D:\CCS\ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_drivers_config.c...
    Writing D:\CCS\ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_drivers_config.h...
    Writing D:\CCS\ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_drivers_open_close.c...
    Writing D:\CCS\ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_drivers_open_close.h...
    Writing D:\CCS\ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_pinmux_config.c...
    Writing D:\CCS\ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_power_clock_config.c...
    Writing D:\CCS\ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_board_config.c...
    Writing D:\CCS\ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_board_config.h...
    Writing D:\CCS\ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_board_open_close.c...
    Writing D:\CCS\ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang\Debug\syscfg\ti_board_open_close.h...
    Finished building: "../example.syscfg"
     
    Building file: "syscfg/ti_drivers_open_close.c"
    Invoking: Arm Compiler
    "D:/CCS/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -I"D:/CCS/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/include/c" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source/kernel/freertos/FreeRTOS-Kernel/include" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source/kernel/freertos/portable/TI_ARM_CLANG/ARM_CR5F" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source/kernel/freertos/config/am62x/r5f" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/examples/drivers/ipc/ipc_rpmsg_echo_linux" -DSOC_AM62X -D_DEBUG_=1 -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_drivers_open_close.d_raw" -MT"syscfg/ti_drivers_open_close.o" -I"D:/CCS/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang/Debug/syscfg"   -o"syscfg/ti_drivers_open_close.o" "syscfg/ti_drivers_open_close.c"
    Finished building: "syscfg/ti_drivers_open_close.c"
     
    Building file: "syscfg/ti_pinmux_config.c"
    Invoking: Arm Compiler
    "D:/CCS/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -I"D:/CCS/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/include/c" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source/kernel/freertos/FreeRTOS-Kernel/include" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source/kernel/freertos/portable/TI_ARM_CLANG/ARM_CR5F" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source/kernel/freertos/config/am62x/r5f" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/examples/drivers/ipc/ipc_rpmsg_echo_linux" -DSOC_AM62X -D_DEBUG_=1 -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_pinmux_config.d_raw" -MT"syscfg/ti_pinmux_config.o" -I"D:/CCS/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang/Debug/syscfg"   -o"syscfg/ti_pinmux_config.o" "syscfg/ti_pinmux_config.c"
    Finished building: "syscfg/ti_pinmux_config.c"
     
    Building file: "syscfg/ti_board_config.c"
    Invoking: Arm Compiler
    "D:/CCS/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -I"D:/CCS/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/include/c" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source/kernel/freertos/FreeRTOS-Kernel/include" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source/kernel/freertos/portable/TI_ARM_CLANG/ARM_CR5F" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source/kernel/freertos/config/am62x/r5f" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/examples/drivers/ipc/ipc_rpmsg_echo_linux" -DSOC_AM62X -D_DEBUG_=1 -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_board_config.d_raw" -MT"syscfg/ti_board_config.o" -I"D:/CCS/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang/Debug/syscfg"   -o"syscfg/ti_board_config.o" "syscfg/ti_board_config.c"
    Finished building: "syscfg/ti_board_config.c"
     
    Building file: "syscfg/ti_dpl_config.c"
    Invoking: Arm Compiler
    "D:/CCS/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -I"D:/CCS/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/include/c" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source/kernel/freertos/FreeRTOS-Kernel/include" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source/kernel/freertos/portable/TI_ARM_CLANG/ARM_CR5F" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source/kernel/freertos/config/am62x/r5f" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/examples/drivers/ipc/ipc_rpmsg_echo_linux" -DSOC_AM62X -D_DEBUG_=1 -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_dpl_config.d_raw" -MT"syscfg/ti_dpl_config.o" -I"D:/CCS/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang/Debug/syscfg"   -o"syscfg/ti_dpl_config.o" "syscfg/ti_dpl_config.c"
    Finished building: "syscfg/ti_dpl_config.c"
     
    Building file: "syscfg/ti_drivers_config.c"
    Invoking: Arm Compiler
    "D:/CCS/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -I"D:/CCS/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/include/c" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source/kernel/freertos/FreeRTOS-Kernel/include" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source/kernel/freertos/portable/TI_ARM_CLANG/ARM_CR5F" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source/kernel/freertos/config/am62x/r5f" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/examples/drivers/ipc/ipc_rpmsg_echo_linux" -DSOC_AM62X -D_DEBUG_=1 -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_drivers_config.d_raw" -MT"syscfg/ti_drivers_config.o" -I"D:/CCS/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang/Debug/syscfg"   -o"syscfg/ti_drivers_config.o" "syscfg/ti_drivers_config.c"
    Finished building: "syscfg/ti_drivers_config.c"
     
    Building file: "syscfg/ti_power_clock_config.c"
    Invoking: Arm Compiler
    "D:/CCS/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -I"D:/CCS/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/include/c" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source/kernel/freertos/FreeRTOS-Kernel/include" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source/kernel/freertos/portable/TI_ARM_CLANG/ARM_CR5F" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source/kernel/freertos/config/am62x/r5f" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/examples/drivers/ipc/ipc_rpmsg_echo_linux" -DSOC_AM62X -D_DEBUG_=1 -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_power_clock_config.d_raw" -MT"syscfg/ti_power_clock_config.o" -I"D:/CCS/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang/Debug/syscfg"   -o"syscfg/ti_power_clock_config.o" "syscfg/ti_power_clock_config.c"
    Finished building: "syscfg/ti_power_clock_config.c"
     
    Building file: "syscfg/ti_board_open_close.c"
    Invoking: Arm Compiler
    "D:/CCS/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -I"D:/CCS/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/include/c" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source/kernel/freertos/FreeRTOS-Kernel/include" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source/kernel/freertos/portable/TI_ARM_CLANG/ARM_CR5F" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source/kernel/freertos/config/am62x/r5f" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/examples/drivers/ipc/ipc_rpmsg_echo_linux" -DSOC_AM62X -D_DEBUG_=1 -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_board_open_close.d_raw" -MT"syscfg/ti_board_open_close.o" -I"D:/CCS/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang/Debug/syscfg"   -o"syscfg/ti_board_open_close.o" "syscfg/ti_board_open_close.c"
    Finished building: "syscfg/ti_board_open_close.c"
     
    Building file: "../ipc_rpmsg_echo.c"
    Invoking: Arm Compiler
    "D:/CCS/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -I"D:/CCS/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/include/c" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source/kernel/freertos/FreeRTOS-Kernel/include" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source/kernel/freertos/portable/TI_ARM_CLANG/ARM_CR5F" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source/kernel/freertos/config/am62x/r5f" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/examples/drivers/ipc/ipc_rpmsg_echo_linux" -DSOC_AM62X -D_DEBUG_=1 -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"ipc_rpmsg_echo.d_raw" -MT"ipc_rpmsg_echo.o" -I"D:/CCS/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang/Debug/syscfg"   -o"ipc_rpmsg_echo.o" "../ipc_rpmsg_echo.c"
    Finished building: "../ipc_rpmsg_echo.c"
     
    Building file: "../main.c"
    Invoking: Arm Compiler
    "D:/CCS/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -I"D:/CCS/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/include/c" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source/kernel/freertos/FreeRTOS-Kernel/include" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source/kernel/freertos/portable/TI_ARM_CLANG/ARM_CR5F" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source/kernel/freertos/config/am62x/r5f" -I"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/examples/drivers/ipc/ipc_rpmsg_echo_linux" -DSOC_AM62X -D_DEBUG_=1 -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"main.d_raw" -MT"main.o" -I"D:/CCS/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang/Debug/syscfg"   -o"main.o" "../main.c"
    Finished building: "../main.c"
     
    Building target: "ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang.out"
    Invoking: Arm Linker
    "D:/CCS/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/bin/tiarmclang.exe" -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -DSOC_AM62X -D_DEBUG_=1 -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -Wl,-m"ipc_rpmsg_echo_linux.Debug.map" -Wl,-i"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source/drivers/device_manager/dm_stub/lib" -Wl,-i"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source/drivers/device_manager/rm_pm_hal/lib" -Wl,-i"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source/drivers/device_manager/sciclient_direct/lib" -Wl,-i"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source/drivers/device_manager/self_reset/lib" -Wl,-i"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source/kernel/freertos/lib" -Wl,-i"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source/drivers/lib" -Wl,-i"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source/board/lib" -Wl,-i"D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/source/drivers/device_manager/sciserver/lib" -Wl,-i"D:/CCS/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/lib" -Wl,--reread_libs -Wl,--diag_suppress=10063 -Wl,--diag_wrap=off -Wl,--display_error_number -Wl,--warn_sections -Wl,--xml_link_info="ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang_linkInfo.xml" -Wl,--ram_model -o "ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang.out" "./syscfg/ti_dpl_config.o" "./syscfg/ti_drivers_config.o" "./syscfg/ti_drivers_open_close.o" "./syscfg/ti_pinmux_config.o" "./syscfg/ti_power_clock_config.o" "./syscfg/ti_board_config.o" "./syscfg/ti_board_open_close.o" "./ipc_rpmsg_echo.o" "./main.o" "../linker.cmd"  -Wl,-lfreertos.am62x.r5f.ti-arm-clang.debug.lib -Wl,-ldrivers.am62x.r5f.ti-arm-clang.debug.lib -Wl,-lboard.am62x.r5f.ti-arm-clang.debug.lib -Wl,-lsciserver.am62x.r5f.ti-arm-clang.debug.lib -Wl,-llibc.a -Wl,-llibsysbm.a -Wl,-ldm_stub.am62x.r5f.ti-arm-clang.debug.lib -Wl,-lrm_pm_hal.am62x.r5f.ti-arm-clang.debug.lib -Wl,-lsciclient_direct.am62x.r5f.ti-arm-clang.debug.lib -Wl,-lself_reset.am62x.r5f.ti-arm-clang.debug.lib 
    Finished building target: "ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang.out"
     
    D:/CCS/ccs/utils/bin/gmake -C D:\CCS\ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang -f makefile_ccs_bootimage_gen OUTNAME=ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang PROFILE=Debug MCU_PLUS_SDK_PATH=D:/CCS/mcu_plus_sdk_am62x_08_06_00_18 CG_TOOL_ROOT=D:/CCS/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS CCS_INSTALL_DIR=D:\CCS\ccs CCS_IDE_MODE=desktop
     Boot image: am62x:r5fss0-0:freertos:ti-arm-clang D:/CCS/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang/Debug/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang.appimage  ...
    D:\CCS\ccs/tools/node/node D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/tools/boot/out2rprc/elf2rprc.js Debug/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang.out >> Debug/temp_stdout_Debug.txt
    D:\CCS\ccs/utils/cygwin/cp ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang.rprc D:/CCS/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang/Debug/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang.rprc
    D:\CCS\ccs/utils/cygwin/cp D:/CCS/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang/Debug/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang.rprc D:/CCS/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang/Debug/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang.rprc_tmp
    D:\CCS\ccs/utils/cygwin/rm -f D:/CCS/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang/Debug/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang.rprc
    D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/tools/boot/xipGen/xipGen.exe -i D:/CCS/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang/Debug/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang.rprc_tmp -o D:/CCS/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang/Debug/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang.rprc -x D:/CCS/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang/Debug/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang.rprc_xip --flash-start-addr 0x60000000 -v > Debug/temp_stdout_Debug.txt
    D:\CCS\ccs/tools/node/node D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/tools/boot/multicoreImageGen/multicoreImageGen.js --devID 55 --out D:/CCS/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang/Debug/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang.appimage D:/CCS/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang/Debug/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang.rprc@4  >> Debug/temp_stdout_Debug.txt
    D:\CCS\ccs/tools/node/node D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/tools/boot/multicoreImageGen/multicoreImageGen.js --devID 55 --out D:/CCS/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang/Debug/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang.appimage_xip D:/CCS/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang/Debug/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang.rprc_xip@4  >> Debug/temp_stdout_Debug.txt
    python D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/tools/boot/signing/appimage_x509_cert_gen.py --bin D:/CCS/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang/Debug/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang.appimage --authtype 1 --key D:/CCS/mcu_plus_sdk_am62x_08_06_00_18/tools/boot/signing/rom_degenerateKey.pem --output D:/CCS/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang/Debug/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang.appimage.hs_fs
    Generating certificate for D:/CCS/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang/Debug/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang.appimage ...
    D:\CCS\ccs/utils/cygwin/rm -f D:/CCS/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang/Debug/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang.rprc_tmp
    D:\CCS\ccs/utils/cygwin/rm -f Debug/am62-wkup-r5f0_0-fw
    D:/CCS/ccs/tools/compiler/ti-cgt-armllvm_2.1.2.LTS/bin/tiarmstrip -o=Debug/am62-wkup-r5f0_0-fw Debug/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang.out
     Boot image: am62x:r5fss0-0:freertos:ti-arm-clang D:/CCS/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang/Debug/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang.appimage Done !!!
     .
     Boot image: am62x:r5fss0-0:freertos:ti-arm-clang D:/CCS/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang/Debug/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang.appimage.hs_fs Done !!!
     .
     
    
    **** Build Finished ****
    

    2、The following files, such as .out and .appimage, are generated in the debug folder under the project file, as shown below

    3、I copied the generated .out file to the /board-support/prebuilt-image file of ubuntu‘s linux-rt-sdk8.6 (appimage was also tested).ipc_echo_testb_mcu1_0_release_strip.xer5f file in the prebuilt-images folder. I am not sure whether the .out/.appimage file I copied needs to be renamed to ipc_echo_testb_mcu1_0_release_strip.xer5f? If not, use DM= to specify the new file in subsequent compilations.

    4、Use the command to compile uboot. The main related commands are as follows:

    make ARCH=arm CROSS_COMPILE=aarch64-none-linux-gnu- \
    ATF=$tisdk_path/prebuilt-images/bl31.bin \
    TEE=$tisdk_path/prebuilt-images/bl32.bin \
    DM=$tisdk_path/prebuilt-images/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang.appimage \
    O=$output_image_path/a53

    The complete compilation command is as follows

    #!/bin/sh
    boot_path=$(cd "$(dirname "$0")";pwd)
    output_image_path=/home/linux/TL62x-EVM_V1.2/U-Boot/src/output_image
    tisdk_path=/home/linux/ti-processor-sdk-linux-rt-am62xx-evm-08.06.00.42/board-support
    
    soc_type=gp
    #soc_type=hs-fs
    echo -e "\033[47;32m `date` \033[0m"
    
    
    echo -e "\033[5;47;32m Add Ti-sdk TI_SECURE_DEV_PKG \033[0m"
    export TI_SECURE_DEV_PKG=$tisdk_path/core-secdev-k3
    echo $TI_SECURE_DEV_PKG
    
    
    echo -e "\033[5;47;32m Add Ti-sdk toolchain to path environment \033[0m"
    #########Add Ti-sdk toolchain to path environment
    export PATH=/home/linux/ti-processor-sdk-linux-rt-am62xx-evm-08.06.00.42/linux-devkit/sysroots/x86_64-arago-linux/usr/bin:$PATH
    ##add sudo error: sudo:export commond not found
    ##need use source .shell
    echo $PATH
    
    echo -e "\033[5;47;32m Make distclean \033[0m"
    make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabihf- distclean
    
    echo -e "\033[5;47;32m Make am62x_evm_a53_defconfig \033[0m"
    make ARCH=arm CROSS_COMPILE=aarch64-none-linux-gnu- am62x_evm_a53_defconfig \
        O=$output_image_path/a53
    
    echo -e "\033[5;47;32m Make am62x_evm_r5_defconfig \033[0m"
    make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabihf- am62x_evm_r5_defconfig \
        O=$output_image_path/r5
    
    
    echo -e "\033[5;47;32m Make menuconfig \033[0m"
    ##make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabihf- menuconfig
    ##make ARCH=arm CROSS_COMPILE=aarch64-none-linux-gnu- menuconfig
    echo "\033[5;47;32m Make R5 \033[0m"
    make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabihf- \
        O=$output_image_path/r5
    
    echo -e "\033[5;47;32m Make A53 \033[0m"
    make ARCH=arm CROSS_COMPILE=aarch64-none-linux-gnu- \
        ATF=$tisdk_path/prebuilt-images/bl31.bin \
        TEE=$tisdk_path/prebuilt-images/bl32.bin \
        DM=$tisdk_path/prebuilt-images/ipc_rpmsg_echo_linux_am62x-sk_r5fss0-0_freertos_ti-arm-clang.appimage \
        O=$output_image_path/a53
    
    echo -e "\033[5;47;32m cd k3-image-gen-2022.01 \033[0m"
    cd $tisdk_path/k3-image-gen-2022.01/
    # 检查soc_type的值
    if [ "$soc_type" = "gp" ]; then
        # 如果soc_type等于gp,则执行这些操作
    echo -e "\033[5;47;32m make  $soc_type \033[0m"
    make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabihf- \
        SOC=am62x SOC_TYPE=$soc_type \
        SBL=$output_image_path/r5/spl/u-boot-spl.bin \
        SYSFW_PATH=$tisdk_path/prebuilt-images/ti-fs-firmware-am62x-gp.bin
    fi
    if [ "$soc_type" = "hs-fs" ]; then
        # 如果soc_type等于gp,则执行这些操作
    echo -e "\033[5;47;32m make  $soc_type \033[0m"
    make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabihf- \
        SOC=am62x SOC_TYPE=$soc_type \
        SBL=$output_image_path/r5/spl/u-boot-spl.bin \
        SYSFW_PATH=$tisdk_path/prebuilt-images/ti-fs-firmware-am62x-hs-fs-cert.bin \
        SYSFW_PATH=$tisdk_path/prebuilt-images/ti-fs-firmware-am62x-hs-fs-enc.bin
    fi
    
    echo -e "\033[5;47;32m CP tiboot3+tispl+uboot to  update-file \033[0m"
    #sudo cp $output_image_path/a53/tispl.bin /home/ubuntu/Desktop/update-file
    #sudo cp $output_image_path/a53/u-boot.img /home/ubuntu/Desktop/update-file
    #sudo cp -p $tisdk_path/k3-image-gen-2022.01/tiboot3.bin /home/ubuntu/Desktop/update-file
    
    echo -e "\033[5;47;32m CP tiboot3+tispl+uboot to tftpboot  \033[0m"
    sudo cp $output_image_path/a53/tispl.bin /home/linux/tftpboot
    sudo cp $output_image_path/a53/u-boot.img /home/linux/tftpboot
    sudo cp -p $tisdk_path/k3-image-gen-2022.01/tiboot3.bin /home/linux/tftpboot
    

    make-uboot-log

    linux@ubuntu:~/TL62x-EVM_V1.2/U-Boot/src/u-boot-2021.01-v1.0-g73113bd$ sudo ./make-uboot-V2.1.sh 
    -e  Wed Sep 18 09:01:35 CST 2024 
    -e  Add Ti-sdk TI_SECURE_DEV_PKG 
    /home/linux/ti-processor-sdk-linux-rt-am62xx-evm-08.06.00.42/board-support/core-secdev-k3
    -e  Add Ti-sdk toolchain to path environment 
    /home/linux/ti-processor-sdk-linux-rt-am62xx-evm-08.06.00.42/linux-devkit/sysroots/x86_64-arago-linux/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
    -e  Make distclean 
    -e  Make am62x_evm_a53_defconfig 
    make[1]: Entering directory '/home/linux/TL62x-EVM_V1.2/U-Boot/src/output_image/a53'
      GEN     ./Makefile
    #
    # configuration written to .config
    #
    make[1]: Leaving directory '/home/linux/TL62x-EVM_V1.2/U-Boot/src/output_image/a53'
    -e  Make am62x_evm_r5_defconfig 
    make[1]: Entering directory '/home/linux/TL62x-EVM_V1.2/U-Boot/src/output_image/r5'
      GEN     ./Makefile
    #
    # configuration written to .config
    #
    make[1]: Leaving directory '/home/linux/TL62x-EVM_V1.2/U-Boot/src/output_image/r5'
    -e  Make menuconfig 
     Make R5 
    make[1]: Entering directory '/home/linux/TL62x-EVM_V1.2/U-Boot/src/output_image/r5'
      GEN     ./Makefile
    scripts/kconfig/conf  --syncconfig Kconfig
      CFG     u-boot.cfg
      GEN     include/autoconf.mk
      GEN     include/autoconf.mk.dep
      CFG     spl/u-boot.cfg
      GEN     spl/include/autoconf.mk
    ===================== WARNING ======================
    This board does not use CONFIG_DM_ETH (Driver Model
    for Ethernet drivers). Please update the board to use
    CONFIG_DM_ETH before the v2020.07 release. Failure to
    update by the deadline may result in board removal.
    See doc/driver-model/migration.rst for more info.
    ====================================================
    ===================== WARNING ======================
    This board uses CONFIG_SPL_FIT_GENERATOR. Please migrate
    to binman instead, to avoid the proliferation of
    arch-specific scripts with no tests.
    ====================================================
      CFGCHK  u-boot.cfg
      Using /home/linux/TL62x-EVM_V1.2/U-Boot/src/u-boot-2021.01-v1.0-g73113bd as source for U-Boot
      GEN     ./Makefile
      UPD     include/generated/timestamp_autogenerated.h
      HOSTCC  tools/mkenvimage.o
      HOSTLD  tools/mkenvimage
      HOSTCC  tools/fit_image.o
      HOSTCC  tools/image-host.o
      HOSTCC  tools/dumpimage.o
      HOSTLD  tools/dumpimage
      HOSTCC  tools/mkimage.o
      HOSTLD  tools/mkimage
      CC      cmd/version.o
      LD      cmd/built-in.o
      CC      common/main.o
      LD      common/built-in.o
      CC      lib/smbios.o
      CC      lib/display_options.o
      LD      lib/built-in.o
      LD      u-boot
      OBJCOPY u-boot-nodtb.bin
      SECURE  u-boot-nodtb.bin_HS
      DTC     arch/arm/dts/k3-am625-sk.dtb
      DTC     arch/arm/dts/k3-am625-r5-sk.dtb
      DTC     arch/arm/dts/k3-am62x-lp-sk.dtb
      DTC     arch/arm/dts/k3-am62x-r5-lp-sk.dtb
      SHIPPED dts/dt.dtb
      FDTGREP dts/dt-spl.dtb
      MKIMAGE u-boot.img
      SECURE  arch/arm/dts/k3-am625-r5-sk.dtb_HS
      MKIMAGE u-boot.img_HS
      OBJCOPY u-boot.srec
      CAT     u-boot-dtb.bin
      COPY    u-boot.bin
      SYM     u-boot.sym
      CC      spl/common/spl/spl.o
      LD      spl/common/spl/built-in.o
      CC      spl/lib/display_options.o
      LD      spl/lib/built-in.o
      LD      spl/u-boot-spl
      OBJCOPY spl/u-boot-spl-nodtb.bin
      DTC     arch/arm/dts/k3-am625-sk.dtb
      DTC     arch/arm/dts/k3-am625-r5-sk.dtb
      DTC     arch/arm/dts/k3-am62x-lp-sk.dtb
      DTC     arch/arm/dts/k3-am62x-r5-lp-sk.dtb
      SHIPPED dts/dt.dtb
      FDTGREP dts/dt-spl.dtb
      FDTGREP spl/dts/k3-am625-r5-sk.dtb
      MKIMAGE spl/u-boot-spl.multidtb.fit
      CAT     spl/u-boot-spl-dtb.bin
      COPY    spl/u-boot-spl.bin
    /home/linux/TL62x-EVM_V1.2/U-Boot/src/u-boot-2021.01-v1.0-g73113bd/tools/k3_gen_x509_cert.sh -c 16 -b spl/u-boot-spl.bin \
    			-o tiboot3.bin -l 0x43c00000 -r 1 -k /home/linux/ti-processor-sdk-linux-rt-am62xx-evm-08.06.00.42/board-support/core-secdev-k3/keys/custMpk.pem
     SWRV = 1
      SYM     spl/u-boot-spl.sym
      COPY    u-boot.dtb
      MKIMAGE u-boot-dtb.img
    make[1]: Leaving directory '/home/linux/TL62x-EVM_V1.2/U-Boot/src/output_image/r5'
    -e  Make A53 
    make[1]: Entering directory '/home/linux/TL62x-EVM_V1.2/U-Boot/src/output_image/a53'
      GEN     ./Makefile
    scripts/kconfig/conf  --syncconfig Kconfig
      CFG     u-boot.cfg
      GEN     include/autoconf.mk
      GEN     include/autoconf.mk.dep
      CFG     spl/u-boot.cfg
      GEN     spl/include/autoconf.mk
    ===================== WARNING ======================
    This board uses CONFIG_SPL_FIT_GENERATOR. Please migrate
    to binman instead, to avoid the proliferation of
    arch-specific scripts with no tests.
    ====================================================
      CFGCHK  u-boot.cfg
      Using /home/linux/TL62x-EVM_V1.2/U-Boot/src/u-boot-2021.01-v1.0-g73113bd as source for U-Boot
      GEN     ./Makefile
      UPD     include/generated/timestamp_autogenerated.h
      HOSTCC  tools/mkenvimage.o
      HOSTLD  tools/mkenvimage
      HOSTCC  tools/fit_image.o
      HOSTCC  tools/image-host.o
      HOSTCC  tools/dumpimage.o
      HOSTLD  tools/dumpimage
      HOSTCC  tools/mkimage.o
      HOSTLD  tools/mkimage
      CC      arch/arm/cpu/armv8/fwcall.o
      LD      arch/arm/cpu/armv8/built-in.o
      CC      cmd/version.o
      LD      cmd/built-in.o
      CC      common/main.o
      LD      common/built-in.o
      CC      drivers/fastboot/fb_getvar.o
      LD      drivers/fastboot/built-in.o
      LD      drivers/built-in.o
      CC      lib/smbios.o
      CC      lib/display_options.o
      LD      lib/built-in.o
      LD      u-boot
      OBJCOPY u-boot-nodtb.bin
      RELOC   u-boot-nodtb.bin
      SECURE  u-boot-nodtb.bin_HS
      DTC     arch/arm/dts/k3-am625-sk.dtb
      DTC     arch/arm/dts/k3-am625-r5-sk.dtb
      DTC     arch/arm/dts/k3-am62x-lp-sk.dtb
      DTC     arch/arm/dts/k3-am62x-r5-lp-sk.dtb
      SHIPPED dts/dt.dtb
      FDTGREP dts/dt-spl.dtb
      MKIMAGE u-boot.img
      SECURE  arch/arm/dts/k3-am625-sk.dtb_HS
      MKIMAGE u-boot.img_HS
      OBJCOPY u-boot.srec
      MKIMAGE fit-dtb.blob
      CAT     u-boot-fit-dtb.bin
      COPY    u-boot.bin
      SYM     u-boot.sym
      CC      spl/arch/arm/cpu/armv8/fwcall.o
      LD      spl/arch/arm/cpu/armv8/built-in.o
      CC      spl/common/spl/spl.o
      LD      spl/common/spl/built-in.o
      CC      spl/lib/display_options.o
      LD      spl/lib/built-in.o
      LD      spl/u-boot-spl
      OBJCOPY spl/u-boot-spl-nodtb.bin
      SECURE  spl/u-boot-spl-nodtb.bin_HS
      DTC     arch/arm/dts/k3-am625-sk.dtb
      DTC     arch/arm/dts/k3-am625-r5-sk.dtb
      DTC     arch/arm/dts/k3-am62x-lp-sk.dtb
      DTC     arch/arm/dts/k3-am62x-r5-lp-sk.dtb
      SHIPPED dts/dt.dtb
      FDTGREP dts/dt-spl.dtb
      FDTGREP spl/dts/k3-am625-sk.dtb
      SECURE  spl/dts/k3-am625-sk.dtb_HS
      MKITS   u-boot-spl-k3_HS.its
      MKIMAGE tispl.bin_HS
    FIT description: Configuration to load ATF and SPL
    Created:         Wed Sep 18 09:01:42 2024
     Image 0 (atf)
      Description:  ARM Trusted Firmware
      Created:      Wed Sep 18 09:01:42 2024
      Type:         Firmware
      Compression:  uncompressed
      Data Size:    45801 Bytes = 44.73 KiB = 0.04 MiB
      Architecture: AArch64
      OS:           ARM Trusted Firmware
      Load Address: 0x9e780000
     Image 1 (tee)
      Description:  OPTEE
      Created:      Wed Sep 18 09:01:42 2024
      Type:         Trusted Execution Environment Image
      Compression:  uncompressed
      Data Size:    421601 Bytes = 411.72 KiB = 0.40 MiB
     Image 2 (dm)
      Description:  DM binary
      Created:      Wed Sep 18 09:01:42 2024
      Type:         Firmware
      Compression:  uncompressed
      Data Size:    182750 Bytes = 178.47 KiB = 0.17 MiB
      Architecture: Unknown Architecture
      OS:           Unknown OS
      Load Address: 0x89000000
     Image 3 (spl)
      Description:  SPL (64-bit)
      Created:      Wed Sep 18 09:01:42 2024
      Type:         Standalone Program
      Compression:  uncompressed
      Data Size:    312305 Bytes = 304.99 KiB = 0.30 MiB
      Architecture: AArch64
      Load Address: 0x80080000
      Entry Point:  0x80080000
     Image 4 (k3-am625-sk.dtb)
      Description:  k3-am625-sk
      Created:      Wed Sep 18 09:01:42 2024
      Type:         Flat Device Tree
      Compression:  uncompressed
      Data Size:    20817 Bytes = 20.33 KiB = 0.02 MiB
      Architecture: ARM
     Default Configuration: 'k3-am625-sk.dtb'
     Configuration 0 (k3-am625-sk.dtb)
      Description:  k3-am625-sk
      Kernel:       unavailable
      Firmware:     atf
      FDT:          k3-am625-sk.dtb
      Loadables:    tee
                    dm
                    spl
      MKIMAGE tispl.bin
    FIT description: Configuration to load ATF and SPL
    Created:         Wed Sep 18 09:01:42 2024
     Image 0 (atf)
      Description:  ARM Trusted Firmware
      Created:      Wed Sep 18 09:01:42 2024
      Type:         Firmware
      Compression:  uncompressed
      Data Size:    45801 Bytes = 44.73 KiB = 0.04 MiB
      Architecture: AArch64
      OS:           ARM Trusted Firmware
      Load Address: 0x9e780000
     Image 1 (tee)
      Description:  OPTEE
      Created:      Wed Sep 18 09:01:42 2024
      Type:         Trusted Execution Environment Image
      Compression:  uncompressed
      Data Size:    421601 Bytes = 411.72 KiB = 0.40 MiB
     Image 2 (dm)
      Description:  DM binary
      Created:      Wed Sep 18 09:01:42 2024
      Type:         Firmware
      Compression:  uncompressed
      Data Size:    182750 Bytes = 178.47 KiB = 0.17 MiB
      Architecture: Unknown Architecture
      OS:           Unknown OS
      Load Address: 0x89000000
     Image 3 (spl)
      Description:  SPL (64-bit)
      Created:      Wed Sep 18 09:01:42 2024
      Type:         Standalone Program
      Compression:  uncompressed
      Data Size:    312305 Bytes = 304.99 KiB = 0.30 MiB
      Architecture: AArch64
      Load Address: 0x80080000
      Entry Point:  0x80080000
     Image 4 (k3-am625-sk.dtb)
      Description:  k3-am625-sk
      Created:      Wed Sep 18 09:01:42 2024
      Type:         Flat Device Tree
      Compression:  uncompressed
      Data Size:    20817 Bytes = 20.33 KiB = 0.02 MiB
      Architecture: ARM
     Default Configuration: 'k3-am625-sk.dtb'
     Configuration 0 (k3-am625-sk.dtb)
      Description:  k3-am625-sk
      Kernel:       unavailable
      Firmware:     atf
      FDT:          k3-am625-sk.dtb
      Loadables:    tee
                    dm
                    spl
      MKIMAGE spl/u-boot-spl.multidtb.fit
      CAT     spl/u-boot-spl-dtb.bin
      COPY    spl/u-boot-spl.bin
      SYM     spl/u-boot-spl.sym
      COPY    u-boot.dtb
      MKIMAGE u-boot-dtb.img
    make[1]: Leaving directory '/home/linux/TL62x-EVM_V1.2/U-Boot/src/output_image/a53'
    -e  cd k3-image-gen-2022.01 
    -e  make  gp 
    ./scripts/gen_x509_combined_cert.sh -b /home/linux/TL62x-EVM_V1.2/U-Boot/src/output_image/r5/spl/u-boot-spl.bin -l 0x43c00000 -s /home/linux/ti-processor-sdk-linux-rt-am62xx-evm-08.06.00.42/board-support/prebuilt-images/ti-fs-firmware-am62x-gp.bin -m 0x40000 -c "" -d out/soc/am62x/evm/combined-tifs-cfg.bin -n 0x67000 -t out/soc/am62x/evm/combined-dm-cfg.bin -y 0x43c3a800 -k ti-degenerate-key.pem -r 1 -o tiboot3-am62x-gp-evm.bin
    Certificate being generated :
    SUCCESS: Image tiboot3-am62x-gp-evm.bin generated.
    -e  CP tiboot3+tispl+uboot to  update-file 
    -e  CP tiboot3+tispl+uboot to tftpboot  
    

    5、Ported to sdk and started, then failed to start a53

    If the .out file is transplanted, the following is executed after uboot starts:

  • Hi Hao,

    I am not sure whether the .out/.appimage file I copied needs to be renamed to ipc_echo_testb_mcu1_0_release_strip.xer5f?

    I don't think anyone tried to use a different filename other than the default.

    What is the file size of the binary you copied from the MCU+ SDK? It should be some where around 100K+, not 1MB.

  • I don't think anyone tried to use a different filename other than the default.

    Then I changed the copied file to the default file name during the test.

    What is the file size of the binary you copied from the MCU+ SDK? It should be some where around 100K+, not 1MB.

    However, the out files generated by the project compiled with ccs are all around 1M, and the generated appimage files are around 100k, but after porting, no elf image will appear, as shown in the previous picture.

    I used ccs to select the project in the examples in mcu-sdk, and then clicked build, and out, appimage and other files were generated under debug.

  • Hi Hao,

    Sorry for my mistake, the DM firmware binary from the MCU+ SDK 8.6 is "am62-wkup-r5f0_0-fw". Please copy it over to the Linux SDK prebuilt-images directory to replace ipc_echo_testb_mcu1_0_release_strip.xer5f, and rebuild U-Boot using command "make u-boot sysfw-image" in the Linux SDK top directory. I tested this process on my SK-AM62B and can boot to Linux.

  • hi bin

    Thank you very much for your reply. I understand that the am62-wkup-r5f0_0-fw file needs to be transplanted, but the am62-wkup-r5f0_0-fw compiled by me did not start Linux normally.

    I tested both the third-party am62-wkup-r5f0_0-fw and the am62-wkup-r5f0_0-fw compiled by me, and I ruled out the problem of my uboot-makeshell, but there was no error in the log during the generation of the am62-wkup-r5f0_0-fw file, so I have no direction to troubleshoot.

  • Hi Hao,

    I don't use CSS. Can you please try what I did that compiles the MCU SDK from the Linux command line?

    $ cd <processor-sdk-8.6>/board-support/prebuilt-images/
    $ mv ipc_echo_testb_mcu1_0_release_strip.xer5f ipc_echo_testb_mcu1_0_release_strip.xer5f.orig
    $ cd <mcu+ sdk 8.6>
    $ make -s -C examples/drivers/ipc/ipc_rpmsg_echo_linux/am62x-sk/r5fss0-0_freertos/ti-arm-clang all
    $ cp examples/drivers/ipc/ipc_rpmsg_echo_linux/am62x-sk/r5fss0-0_freertos/ti-arm-clang/am62-wkup-r5f0_0-fw <processor-sdk-8.6>/board-support/prebuilt-images/ipc_echo_testb_mcu1_0_release_strip.xer5f
    $ cd <processor-sdk-8.6>
    $ make u-boot sysfw-image

    Please provide the u-boot boot log if it fails.

  • Thank you very much for your help. After I compiled it in Ubuntu, the am62-wkup-r5f0_0-fw file was 147K, and uboot started normally.