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.

AM62A7: Problems with following Linux Board Port guide for custom board

Part Number: AM62A7


Hello, 
I am trying to follow the guide on porting linux, Linux Board Port (ti.com)

But I have problems when following the guide. 

I get these errors after adding hello-world.dts and updating the Makefile:

  DTC     arch/arm64/boot/dts/ti/k3-am62a7-hello-world.dtb
arch/arm64/boot/dts/ti/k3-am62a-main.dtsi:203.35-226.4: ERROR (phandle_references): /bus@f0000/system-controller@44043000: Reference to non-existent node or label "mcu_mcan0"

  also defined at arch/arm64/boot/dts/ti/k3-am62a.dtsi:129.7-131.3
arch/arm64/boot/dts/ti/k3-am62a-main.dtsi:203.35-226.4: ERROR (phandle_references): /bus@f0000/system-controller@44043000: Reference to non-existent node or label "mcu_mcan1"

  also defined at arch/arm64/boot/dts/ti/k3-am62a.dtsi:129.7-131.3
arch/arm64/boot/dts/ti/k3-am62a-main.dtsi:203.35-226.4: ERROR (phandle_references): /bus@f0000/system-controller@44043000: Reference to non-existent node or label "mcu_uart0"

  also defined at arch/arm64/boot/dts/ti/k3-am62a.dtsi:129.7-131.3
arch/arm64/boot/dts/ti/k3-am62a-main.dtsi:203.35-226.4: ERROR (phandle_references): /bus@f0000/system-controller@44043000: Reference to non-existent node or label "wkup_uart0"

  also defined at arch/arm64/boot/dts/ti/k3-am62a.dtsi:129.7-131.3
arch/arm64/boot/dts/ti/k3-am62a7.dtsi:104.27-145.4: ERROR (phandle_references): /opp-table: Reference to non-existent node or label "wkup_conf"

ERROR: Input tree has errors, aborting (use -f to force output)
make[2]: *** [scripts/Makefile.lib:424: arch/arm64/boot/dts/ti/k3-am62a7-hello-world.dtb] Error 2
make[1]: *** [scripts/Makefile.build:502: arch/arm64/boot/dts/ti] Error 2
make: *** [Makefile:1478: dtbs] Error 2

I need help how to solve the errors.  
I am using SDK 09_01_00_07.

  • Hi Gustav,

    The follow kernel patch should fix the build errors in kernel v6.1.

    diff --git a/arch/arm64/boot/dts/ti/k3-am62a7-hello-world.dts b/arch/arm64/boot/dts/ti/k3-am62a7-hello-world.dts
    index 3d3a23cdea0d..7ad40e19bb8f 100644
    --- a/arch/arm64/boot/dts/ti/k3-am62a7-hello-world.dts
    +++ b/arch/arm64/boot/dts/ti/k3-am62a7-hello-world.dts
    @@ -65,6 +65,30 @@ AM62AX_IOPAD(0x1cc, PIN_OUTPUT, 0) /* (E14) UART0_TXD */
            };
     };
     
    +/ {
    +       cpus {
    +               cpu-map {
    +                       cluster0 {
    +                               /delete-node/ core1;
    +                               /delete-node/ core2;
    +                               /delete-node/ core3;
    +                       };
    +               };
    +               cpu@0 {
    +                       /delete-property/ operating-points-v2;
    +               };
    +               /delete-node/ cpu@1;
    +               /delete-node/ cpu@2;
    +               /delete-node/ cpu@3;
    +       };
    +};
    +
    +/delete-node/ &a53_opp_table;
    +
    +&dmsc {
    +       /delete-property/ ti,partial-io-wakeup-sources;
    +};
    +
     /delete-node/ &mcu_uart0;
     /delete-node/ &mcu_i2c0;
     /delete-node/ &mcu_r5fss0_core0;
    @@ -96,7 +120,6 @@ AM62AX_IOPAD(0x1cc, PIN_OUTPUT, 0) /* (E14) UART0_TXD */
     
     /delete-node/ &sdhci0;
     /delete-node/ &sdhci1;
    -/delete-node/ &sdhci2;
     /delete-node/ &main_gpio0;
     /delete-node/ &main_gpio1;

    The complete k3-am62a7-hello-world.dts is attached below for your reference.

    https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/791/k3_2D00_am62a7_2D00_hello_2D00_world.dts

  • Hello,

    It now builds! And the "Machine model: " Prints (and can be changed). 

    But I do not get to the Linux login prompt, I get this log after 'boot' in u-boot:

    => boot
    switch to partitions #0, OK
    mmc1 is current device
    SD/MMC found on device 1
    Failed to load 'boot.scr'
    639 bytes read in 18 ms (34.2 KiB/s)
    Loaded env from uEnv.txt
    Importing environment from mmc1 ...
    ## Error: "main_cpsw0_qsgmii_phyinit" not defined
    20302336 bytes read in 859 ms (22.5 MiB/s)
    9417 bytes read in 20 ms (459 KiB/s)
    Working FDT set to 88000000
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
    Working FDT set to 88000000
       Loading Device Tree to 000000008fefa000, end 000000008fffffff ... OK
    Working FDT set to 8fefa000
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
    [    0.000000] Linux version 6.1.46-g247b2535b2 (oe-user@oe-host) (aarch64-oe-linux-gcc (GCC) 11.4.0, GNU ld (GNU Binutils) 2.38.20220708) #1 SMP PREEMPT Wed Dec  6 17:54:04 UTC 2023
    [    0.000000] Machine model: Texas Instruments AM62A7
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
    [    0.000000] printk: bootconsole [ns16550a0] enabled
    [    0.000000] efi: UEFI not found.
    [    0.000000] Zone ranges:
    [    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000]   DMA32    empty
    [    0.000000]   Normal   [mem 0x0000000100000000-0x00000008ffffffff]
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x0000000080000000-0x000000009e77ffff]
    [    0.000000]   node   0: [mem 0x000000009e780000-0x000000009fffffff]
    [    0.000000]   node   0: [mem 0x00000000a0000000-0x00000000ffffffff]
    [    0.000000]   node   0: [mem 0x0000000880000000-0x00000008ffffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000008ffffffff]
    [    0.000000] cma: Reserved 32 MiB at 0x00000000fe000000
    [    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.4
    [    0.000000] percpu: Embedded 19 pages/cpu s37992 r8192 d31640 u77824
    [    0.000000] Detected VIPT I-cache on CPU0
    [    0.000000] CPU features: detected: GIC system register CPU interface
    [    0.000000] CPU features: detected: ARM erratum 845719
    [    0.000000] alternatives: applying boot alternatives
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1032192
    [    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 mtdparts=spi-nand0:512k(ospi_nand.tiboot3),2m(ospi_nand.tispl),4m(ospi_nand.u-boot),256k(ospi_nand.env),256k(ospi_nand.env.backup),98048k@32m(ospi_nand.rootfs),256k@130816k(ospi_nand.phypattern) root=PARTUUID=260440ee-02 rw rootfstype=ext4 rootwait
    [    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
    [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [    0.000000] software IO TLB: area num 1.
    [    0.000000] software IO TLB: mapped [mem 0x00000000fa000000-0x00000000fe000000] (64MB)
    [    0.000000] BUG: Bad page state in process swapper  pfn:80001
    [    0.000000] page:(____ptrval____) refcount:0 mapcount:1 mapping:0000000000000000 index:0x0 pfn:0x80001
    [    0.000000] flags: 0x0(zone=0)
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] page dumped because: nonzero mapcount
    [    0.000000] Modules linked in:
    [    0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 6.1.46-g247b2535b2 #1
    [    0.000000] Hardware name: Texas Instruments AM62A7 (DT)
    [    0.000000] Call trace:
    [    0.000000]  dump_backtrace.part.0+0xdc/0xf0
    [    0.000000]  show_stack+0x18/0x30
    [    0.000000]  dump_stack_lvl+0x68/0x84
    [    0.000000]  dump_stack+0x18/0x34
    [    0.000000]  bad_page+0xe8/0x110
    [    0.000000]  free_page_is_bad_report+0x7c/0x90
    [    0.000000]  __free_pages_ok+0x404/0x450
    [    0.000000]  __free_pages_core+0xbc/0xd0
    [    0.000000]  memblock_free_pages+0x14/0x20
    [    0.000000]  memblock_free_all+0x1a4/0x258
    [    0.000000]  mem_init+0x30/0x3c
    [    0.000000]  start_kernel+0x42c/0x694
    [    0.000000]  __primary_switched+0xbc/0xc4
    [    0.000000] Disabling lock debugging due to kernel taint
    [    0.000000] BUG: Bad page state in process swapper  pfn:80002
    [    0.000000] page:(____ptrval____) refcount:0 mapcount:1 mapping:0000000000000000 index:0x0 pfn:0x80002
    [    0.000000] flags: 0x0(zone=0)
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] page dumped because: nonzero mapcount
    [    0.000000] Modules linked in:
    [    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B              6.1.46-g247b2535b2 #1
    [    0.000000] Hardware name: Texas Instruments AM62A7 (DT)
    [    0.000000] Call trace:
    [    0.000000]  dump_backtrace.part.0+0xdc/0xf0
    [    0.000000]  show_stack+0x18/0x30
    [    0.000000]  dump_stack_lvl+0x68/0x84
    [    0.000000]  dump_stack+0x18/0x34
    [    0.000000]  bad_page+0xe8/0x110
    [    0.000000]  free_page_is_bad_report+0x7c/0x90
    [    0.000000]  __free_pages_ok+0x404/0x450
    [    0.000000]  __free_pages_core+0xbc/0xd0
    [    0.000000]  memblock_free_pages+0x14/0x20
    [    0.000000]  memblock_free_all+0x1a4/0x258
    [    0.000000]  mem_init+0x30/0x3c
    [    0.000000]  start_kernel+0x42c/0x694
    [    0.000000]  __primary_switched+0xbc/0xc4
    [    0.000000] BUG: Bad page state in process swapper  pfn:80003
    [    0.000000] page:(____ptrval____) refcount:0 mapcount:1 mapping:0000000000000000 index:0x0 pfn:0x80003
    [    0.000000] flags: 0x0(zone=0)
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] page dumped because: nonzero mapcount
    [    0.000000] Modules linked in:
    [    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B              6.1.46-g247b2535b2 #1
    [    0.000000] Hardware name: Texas Instruments AM62A7 (DT)
    [    0.000000] Call trace:
    [    0.000000]  dump_backtrace.part.0+0xdc/0xf0
    [    0.000000]  show_stack+0x18/0x30
    [    0.000000]  dump_stack_lvl+0x68/0x84
    [    0.000000]  dump_stack+0x18/0x34
    [    0.000000]  bad_page+0xe8/0x110
    [    0.000000]  free_page_is_bad_report+0x7c/0x90
    [    0.000000]  __free_pages_ok+0x404/0x450
    [    0.000000]  __free_pages_core+0xbc/0xd0
    [    0.000000]  memblock_free_pages+0x14/0x20
    [    0.000000]  memblock_free_all+0x1a4/0x258
    [    0.000000]  mem_init+0x30/0x3c
    [    0.000000]  start_kernel+0x42c/0x694
    [    0.000000]  __primary_switched+0xbc/0xc4
    [    0.000000] BUG: Bad page state in process swapper  pfn:80004
    [    0.000000] page:(____ptrval____) refcount:0 mapcount:1 mapping:0000000000000000 index:0x0 pfn:0x80004
    [    0.000000] flags: 0x0(zone=0)
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] page dumped because: nonzero mapcount
    [    0.000000] Modules linked in:
    [    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B              6.1.46-g247b2535b2 #1
    [    0.000000] Hardware name: Texas Instruments AM62A7 (DT)
    [    0.000000] Call trace:
    [    0.000000]  dump_backtrace.part.0+0xdc/0xf0
    [    0.000000]  show_stack+0x18/0x30
    [    0.000000]  dump_stack_lvl+0x68/0x84
    [    0.000000]  dump_stack+0x18/0x34
    [    0.000000]  bad_page+0xe8/0x110
    [    0.000000]  free_page_is_bad_report+0x7c/0x90
    [    0.000000]  __free_pages_ok+0x404/0x450
    [    0.000000]  __free_pages_core+0xbc/0xd0
    [    0.000000]  memblock_free_pages+0x14/0x20
    [    0.000000]  memblock_free_all+0x1a4/0x258
    [    0.000000]  mem_init+0x30/0x3c
    [    0.000000]  start_kernel+0x42c/0x694
    [    0.000000]  __primary_switched+0xbc/0xc4
    [    0.000000] BUG: Bad page state in process swapper  pfn:80005
    [    0.000000] page:(____ptrval____) refcount:0 mapcount:1 mapping:0000000000000000 index:0x0 pfn:0x80005
    [    0.000000] flags: 0x0(zone=0)
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] page dumped because: nonzero mapcount
    [    0.000000] Modules linked in:
    [    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B              6.1.46-g247b2535b2 #1
    [    0.000000] Hardware name: Texas Instruments AM62A7 (DT)
    [    0.000000] Call trace:
    [    0.000000]  dump_backtrace.part.0+0xdc/0xf0
    [    0.000000]  show_stack+0x18/0x30
    [    0.000000]  dump_stack_lvl+0x68/0x84
    [    0.000000]  dump_stack+0x18/0x34
    [    0.000000]  bad_page+0xe8/0x110
    [    0.000000]  free_page_is_bad_report+0x7c/0x90
    [    0.000000]  __free_pages_ok+0x404/0x450
    [    0.000000]  __free_pages_core+0xbc/0xd0
    [    0.000000]  memblock_free_pages+0x14/0x20
    [    0.000000]  memblock_free_all+0x1a4/0x258
    [    0.000000]  mem_init+0x30/0x3c
    [    0.000000]  start_kernel+0x42c/0x694
    [    0.000000]  __primary_switched+0xbc/0xc4
    [    0.000000] BUG: Bad page state in process swapper  pfn:80006
    [    0.000000] page:(____ptrval____) refcount:0 mapcount:1 mapping:0000000000000000 index:0x0 pfn:0x80006
    [    0.000000] flags: 0x0(zone=0)
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] page dumped because: nonzero mapcount
    [    0.000000] Modules linked in:
    [    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B              6.1.46-g247b2535b2 #1
    [    0.000000] Hardware name: Texas Instruments AM62A7 (DT)
    [    0.000000] Call trace:
    [    0.000000]  dump_backtrace.part.0+0xdc/0xf0
    [    0.000000]  show_stack+0x18/0x30
    [    0.000000]  dump_stack_lvl+0x68/0x84
    [    0.000000]  dump_stack+0x18/0x34
    [    0.000000]  bad_page+0xe8/0x110
    [    0.000000]  free_page_is_bad_report+0x7c/0x90
    [    0.000000]  __free_pages_ok+0x404/0x450
    [    0.000000]  __free_pages_core+0xbc/0xd0
    [    0.000000]  memblock_free_pages+0x14/0x20
    [    0.000000]  memblock_free_all+0x1a4/0x258
    [    0.000000]  mem_init+0x30/0x3c
    [    0.000000]  start_kernel+0x42c/0x694
    [    0.000000]  __primary_switched+0xbc/0xc4
    [    0.000000] BUG: Bad page state in process swapper  pfn:80007
    [    0.000000] page:(____ptrval____) refcount:0 mapcount:1 mapping:0000000000000000 index:0x0 pfn:0x80007
    [    0.000000] flags: 0x0(zone=0)
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] page dumped because: nonzero mapcount
    [    0.000000] Modules linked in:
    [    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B              6.1.46-g247b2535b2 #1
    [    0.000000] Hardware name: Texas Instruments AM62A7 (DT)
    [    0.000000] Call trace:
    [    0.000000]  dump_backtrace.part.0+0xdc/0xf0
    [    0.000000]  show_stack+0x18/0x30
    [    0.000000]  dump_stack_lvl+0x68/0x84
    [    0.000000]  dump_stack+0x18/0x34
    [    0.000000]  bad_page+0xe8/0x110
    [    0.000000]  free_page_is_bad_report+0x7c/0x90
    [    0.000000]  __free_pages_ok+0x404/0x450
    [    0.000000]  __free_pages_core+0xbc/0xd0
    [    0.000000]  memblock_free_pages+0x14/0x20
    [    0.000000]  memblock_free_all+0x1a4/0x258
    [    0.000000]  mem_init+0x30/0x3c
    [    0.000000]  start_kernel+0x42c/0x694
    [    0.000000]  __primary_switched+0xbc/0xc4
    [    0.000000] BUG: Bad page state in process swapper  pfn:80008
    [    0.000000] page:(____ptrval____) refcount:0 mapcount:1 mapping:0000000000000000 index:0x0 pfn:0x80008
    [    0.000000] flags: 0x0(zone=0)
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] page dumped because: nonzero mapcount
    [    0.000000] Modules linked in:
    [    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B              6.1.46-g247b2535b2 #1
    [    0.000000] Hardware name: Texas Instruments AM62A7 (DT)
    [    0.000000] Call trace:
    [    0.000000]  dump_backtrace.part.0+0xdc/0xf0
    [    0.000000]  show_stack+0x18/0x30
    [    0.000000]  dump_stack_lvl+0x68/0x84
    [    0.000000]  dump_stack+0x18/0x34
    [    0.000000]  bad_page+0xe8/0x110
    [    0.000000]  free_page_is_bad_report+0x7c/0x90
    [    0.000000]  __free_pages_ok+0x404/0x450
    [    0.000000]  __free_pages_core+0xbc/0xd0
    [    0.000000]  memblock_free_pages+0x14/0x20
    [    0.000000]  memblock_free_all+0x1a4/0x258
    [    0.000000]  mem_init+0x30/0x3c
    [    0.000000]  start_kernel+0x42c/0x694
    [    0.000000]  __primary_switched+0xbc/0xc4
    [    0.000000] BUG: Bad page state in process swapper  pfn:80009
    [    0.000000] page:(____ptrval____) refcount:0 mapcount:1 mapping:0000000000000000 index:0x0 pfn:0x80009
    [    0.000000] flags: 0x0(zone=0)
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] page dumped because: nonzero mapcount
    [    0.000000] Modules linked in:
    [    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B              6.1.46-g247b2535b2 #1
    [    0.000000] Hardware name: Texas Instruments AM62A7 (DT)
    [    0.000000] Call trace:
    [    0.000000]  dump_backtrace.part.0+0xdc/0xf0
    [    0.000000]  show_stack+0x18/0x30
    [    0.000000]  dump_stack_lvl+0x68/0x84
    [    0.000000]  dump_stack+0x18/0x34
    [    0.000000]  bad_page+0xe8/0x110
    [    0.000000]  free_page_is_bad_report+0x7c/0x90
    [    0.000000]  __free_pages_ok+0x404/0x450
    [    0.000000]  __free_pages_core+0xbc/0xd0
    [    0.000000]  memblock_free_pages+0x14/0x20
    [    0.000000]  memblock_free_all+0x1a4/0x258
    [    0.000000]  mem_init+0x30/0x3c
    [    0.000000]  start_kernel+0x42c/0x694
    [    0.000000]  __primary_switched+0xbc/0xc4
    [    0.000000] BUG: Bad page state in process swapper  pfn:8000a
    [    0.000000] page:(____ptrval____) refcount:0 mapcount:1 mapping:0000000000000000 index:0x0 pfn:0x8000a
    [    0.000000] flags: 0x0(zone=0)
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] page dumped because: nonzero mapcount
    [    0.000000] Modules linked in:
    [    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B              6.1.46-g247b2535b2 #1
    [    0.000000] Hardware name: Texas Instruments AM62A7 (DT)
    [    0.000000] Call trace:
    [    0.000000]  dump_backtrace.part.0+0xdc/0xf0
    [    0.000000]  show_stack+0x18/0x30
    [    0.000000]  dump_stack_lvl+0x68/0x84
    [    0.000000]  dump_stack+0x18/0x34
    [    0.000000]  bad_page+0xe8/0x110
    [    0.000000]  free_page_is_bad_report+0x7c/0x90
    [    0.000000]  __free_pages_ok+0x404/0x450
    [    0.000000]  __free_pages_core+0xbc/0xd0
    [    0.000000]  memblock_free_pages+0x14/0x20
    [    0.000000]  memblock_free_all+0x1a4/0x258
    [    0.000000]  mem_init+0x30/0x3c
    [    0.000000]  start_kernel+0x42c/0x694
    [    0.000000]  __primary_switched+0xbc/0xc4
    [    0.000000] BUG: Bad page state in process swapper  pfn:8000b
    [    0.000000] page:(____ptrval____) refcount:0 mapcount:1 mapping:0000000000000000 index:0x0 pfn:0x8000b
    [    0.000000] flags: 0x0(zone=0)
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] page dumped because: nonzero mapcount
    [    0.000000] Modules linked in:
    [    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B              6.1.46-g247b2535b2 #1
    [    0.000000] Hardware name: Texas Instruments AM62A7 (DT)
    [    0.000000] Call trace:
    [    0.000000]  dump_backtrace.part.0+0xdc/0xf0
    [    0.000000]  show_stack+0x18/0x30
    [    0.000000]  dump_stack_lvl+0x68/0x84
    [    0.000000]  dump_stack+0x18/0x34
    [    0.000000]  bad_page+0xe8/0x110
    [    0.000000]  free_page_is_bad_report+0x7c/0x90
    [    0.000000]  __free_pages_ok+0x404/0x450
    [    0.000000]  __free_pages_core+0xbc/0xd0
    [    0.000000]  memblock_free_pages+0x14/0x20
    [    0.000000]  memblock_free_all+0x1a4/0x258
    [    0.000000]  mem_init+0x30/0x3c
    [    0.000000]  start_kernel+0x42c/0x694
    [    0.000000]  __primary_switched+0xbc/0xc4
    [    0.000000] BUG: Bad page state in process swapper  pfn:8000c
    [    0.000000] page:(____ptrval____) refcount:0 mapcount:1 mapping:0000000000000000 index:0x0 pfn:0x8000c
    [    0.000000] flags: 0x0(zone=0)
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] page dumped because: nonzero mapcount
    [    0.000000] Modules linked in:
    [    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B              6.1.46-g247b2535b2 #1
    [    0.000000] Hardware name: Texas Instruments AM62A7 (DT)
    [    0.000000] Call trace:
    [    0.000000]  dump_backtrace.part.0+0xdc/0xf0
    [    0.000000]  show_stack+0x18/0x30
    [    0.000000]  dump_stack_lvl+0x68/0x84
    [    0.000000]  dump_stack+0x18/0x34
    [    0.000000]  bad_page+0xe8/0x110
    [    0.000000]  free_page_is_bad_report+0x7c/0x90
    [    0.000000]  __free_pages_ok+0x404/0x450
    [    0.000000]  __free_pages_core+0xbc/0xd0
    [    0.000000]  memblock_free_pages+0x14/0x20
    [    0.000000]  memblock_free_all+0x1a4/0x258
    [    0.000000]  mem_init+0x30/0x3c
    [    0.000000]  start_kernel+0x42c/0x694
    [    0.000000]  __primary_switched+0xbc/0xc4
    [    0.000000] BUG: Bad page state in process swapper  pfn:8000d
    [    0.000000] page:(____ptrval____) refcount:0 mapcount:1 mapping:0000000000000000 index:0x0 pfn:0x8000d
    [    0.000000] flags: 0x0(zone=0)
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] page dumped because: nonzero mapcount
    [    0.000000] Modules linked in:
    [    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B              6.1.46-g247b2535b2 #1
    [    0.000000] Hardware name: Texas Instruments AM62A7 (DT)
    [    0.000000] Call trace:
    [    0.000000]  dump_backtrace.part.0+0xdc/0xf0
    [    0.000000]  show_stack+0x18/0x30
    [    0.000000]  dump_stack_lvl+0x68/0x84
    [    0.000000]  dump_stack+0x18/0x34
    [    0.000000]  bad_page+0xe8/0x110
    [    0.000000]  free_page_is_bad_report+0x7c/0x90
    [    0.000000]  __free_pages_ok+0x404/0x450
    [    0.000000]  __free_pages_core+0xbc/0xd0
    [    0.000000]  memblock_free_pages+0x14/0x20
    [    0.000000]  memblock_free_all+0x1a4/0x258
    [    0.000000]  mem_init+0x30/0x3c
    [    0.000000]  start_kernel+0x42c/0x694
    [    0.000000]  __primary_switched+0xbc/0xc4
    [    0.000000] BUG: Bad page state in process swapper  pfn:8000e
    [    0.000000] page:(____ptrval____) refcount:0 mapcount:1 mapping:0000000000000000 index:0x0 pfn:0x8000e
    [    0.000000] flags: 0x0(zone=0)
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] page dumped because: nonzero mapcount
    [    0.000000] Modules linked in:
    [    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B              6.1.46-g247b2535b2 #1
    [    0.000000] Hardware name: Texas Instruments AM62A7 (DT)
    [    0.000000] Call trace:
    [    0.000000]  dump_backtrace.part.0+0xdc/0xf0
    [    0.000000]  show_stack+0x18/0x30
    [    0.000000]  dump_stack_lvl+0x68/0x84
    [    0.000000]  dump_stack+0x18/0x34
    [    0.000000]  bad_page+0xe8/0x110
    [    0.000000]  free_page_is_bad_report+0x7c/0x90
    [    0.000000]  __free_pages_ok+0x404/0x450
    [    0.000000]  __free_pages_core+0xbc/0xd0
    [    0.000000]  memblock_free_pages+0x14/0x20
    [    0.000000]  memblock_free_all+0x1a4/0x258
    [    0.000000]  mem_init+0x30/0x3c
    [    0.000000]  start_kernel+0x42c/0x694
    [    0.000000]  __primary_switched+0xbc/0xc4
    [    0.000000] BUG: Bad page state in process swapper  pfn:8000f
    [    0.000000] page:(____ptrval____) refcount:0 mapcount:1 mapping:0000000000000000 index:0x0 pfn:0x8000f
    [    0.000000] flags: 0x0(zone=0)
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] page dumped because: nonzero mapcount
    [    0.000000] Modules linked in:
    [    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B              6.1.46-g247b2535b2 #1
    [    0.000000] Hardware name: Texas Instruments AM62A7 (DT)
    [    0.000000] Call trace:
    [    0.000000]  dump_backtrace.part.0+0xdc/0xf0
    [    0.000000]  show_stack+0x18/0x30
    [    0.000000]  dump_stack_lvl+0x68/0x84
    [    0.000000]  dump_stack+0x18/0x34
    [    0.000000]  bad_page+0xe8/0x110
    [    0.000000]  free_page_is_bad_report+0x7c/0x90
    [    0.000000]  __free_pages_ok+0x404/0x450
    [    0.000000]  __free_pages_core+0xbc/0xd0
    [    0.000000]  memblock_free_pages+0x14/0x20
    [    0.000000]  memblock_free_all+0x1a4/0x258
    [    0.000000]  mem_init+0x30/0x3c
    [    0.000000]  start_kernel+0x42c/0x694
    [    0.000000]  __primary_switched+0xbc/0xc4
    [    0.000000] BUG: Bad page state in process swapper  pfn:80010
    [    0.000000] page:(____ptrval____) refcount:0 mapcount:1 mapping:0000000000000000 index:0x0 pfn:0x80010
    [    0.000000] flags: 0x0(zone=0)
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] page dumped because: nonzero mapcount
    [    0.000000] Modules linked in:
    [    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B              6.1.46-g247b2535b2 #1
    [    0.000000] Hardware name: Texas Instruments AM62A7 (DT)
    [    0.000000] Call trace:
    [    0.000000]  dump_backtrace.part.0+0xdc/0xf0
    [    0.000000]  show_stack+0x18/0x30
    [    0.000000]  dump_stack_lvl+0x68/0x84
    [    0.000000]  dump_stack+0x18/0x34
    [    0.000000]  bad_page+0xe8/0x110
    [    0.000000]  free_page_is_bad_report+0x7c/0x90
    [    0.000000]  __free_pages_ok+0x404/0x450
    [    0.000000]  __free_pages_core+0xbc/0xd0
    [    0.000000]  memblock_free_pages+0x14/0x20
    [    0.000000]  memblock_free_all+0x1a4/0x258
    [    0.000000]  mem_init+0x30/0x3c
    [    0.000000]  start_kernel+0x42c/0x694
    [    0.000000]  __primary_switched+0xbc/0xc4
    [    0.000000] BUG: Bad page state in process swapper  pfn:80011
    [    0.000000] page:(____ptrval____) refcount:0 mapcount:1 mapping:0000000000000000 index:0x0 pfn:0x80011
    [    0.000000] flags: 0x0(zone=0)
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] page dumped because: nonzero mapcount
    [    0.000000] Modules linked in:
    [    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B              6.1.46-g247b2535b2 #1
    [    0.000000] Hardware name: Texas Instruments AM62A7 (DT)
    [    0.000000] Call trace:
    [    0.000000]  dump_backtrace.part.0+0xdc/0xf0
    [    0.000000]  show_stack+0x18/0x30
    [    0.000000]  dump_stack_lvl+0x68/0x84
    [    0.000000]  dump_stack+0x18/0x34
    [    0.000000]  bad_page+0xe8/0x110
    [    0.000000]  free_page_is_bad_report+0x7c/0x90
    [    0.000000]  __free_pages_ok+0x404/0x450
    [    0.000000]  __free_pages_core+0xbc/0xd0
    [    0.000000]  memblock_free_pages+0x14/0x20
    [    0.000000]  memblock_free_all+0x1a4/0x258
    [    0.000000]  mem_init+0x30/0x3c
    [    0.000000]  start_kernel+0x42c/0x694
    [    0.000000]  __primary_switched+0xbc/0xc4
    [    0.000000] BUG: Bad page state in process swapper  pfn:80012
    [    0.000000] page:(____ptrval____) refcount:0 mapcount:1 mapping:0000000000000000 index:0x0 pfn:0x80012
    [    0.000000] flags: 0x0(zone=0)
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] page dumped because: nonzero mapcount
    [    0.000000] Modules linked in:
    [    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B              6.1.46-g247b2535b2 #1
    [    0.000000] Hardware name: Texas Instruments AM62A7 (DT)
    [    0.000000] Call trace:
    [    0.000000]  dump_backtrace.part.0+0xdc/0xf0
    [    0.000000]  show_stack+0x18/0x30
    [    0.000000]  dump_stack_lvl+0x68/0x84
    [    0.000000]  dump_stack+0x18/0x34
    [    0.000000]  bad_page+0xe8/0x110
    [    0.000000]  free_page_is_bad_report+0x7c/0x90
    [    0.000000]  __free_pages_ok+0x404/0x450
    [    0.000000]  __free_pages_core+0xbc/0xd0
    [    0.000000]  memblock_free_pages+0x14/0x20
    [    0.000000]  memblock_free_all+0x1a4/0x258
    [    0.000000]  mem_init+0x30/0x3c
    [    0.000000]  start_kernel+0x42c/0x694
    [    0.000000]  __primary_switched+0xbc/0xc4
    [    0.000000] BUG: Bad page state in process swapper  pfn:80013
    [    0.000000] page:(____ptrval____) refcount:0 mapcount:1 mapping:0000000000000000 index:0x0 pfn:0x80013
    [    0.000000] flags: 0x0(zone=0)
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] page dumped because: nonzero mapcount
    [    0.000000] Modules linked in:
    [    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B              6.1.46-g247b2535b2 #1
    [    0.000000] Hardware name: Texas Instruments AM62A7 (DT)
    [    0.000000] Call trace:
    [    0.000000]  dump_backtrace.part.0+0xdc/0xf0
    [    0.000000]  show_stack+0x18/0x30
    [    0.000000]  dump_stack_lvl+0x68/0x84
    [    0.000000]  dump_stack+0x18/0x34
    [    0.000000]  bad_page+0xe8/0x110
    [    0.000000]  free_page_is_bad_report+0x7c/0x90
    [    0.000000]  __free_pages_ok+0x404/0x450
    [    0.000000]  __free_pages_core+0xbc/0xd0
    [    0.000000]  memblock_free_pages+0x14/0x20
    [    0.000000]  memblock_free_all+0x1a4/0x258
    [    0.000000]  mem_init+0x30/0x3c
    [    0.000000]  start_kernel+0x42c/0x694
    [    0.000000]  __primary_switched+0xbc/0xc4
    [    0.000000] BUG: Bad page state in process swapper  pfn:80014
    [    0.000000] page:(____ptrval____) refcount:0 mapcount:1 mapping:0000000000000000 index:0x0 pfn:0x80014
    [    0.000000] flags: 0x0(zone=0)
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] page dumped because: nonzero mapcount
    [    0.000000] Modules linked in:
    [    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B              6.1.46-g247b2535b2 #1
    [    0.000000] Hardware name: Texas Instruments AM62A7 (DT)
    [    0.000000] Call trace:
    [    0.000000]  dump_backtrace.part.0+0xdc/0xf0
    [    0.000000]  show_stack+0x18/0x30
    [    0.000000]  dump_stack_lvl+0x68/0x84
    [    0.000000]  dump_stack+0x18/0x34
    [    0.000000]  bad_page+0xe8/0x110
    [    0.000000]  free_page_is_bad_report+0x7c/0x90
    [    0.000000]  __free_pages_ok+0x404/0x450
    [    0.000000]  __free_pages_core+0xbc/0xd0
    [    0.000000]  memblock_free_pages+0x14/0x20
    [    0.000000]  memblock_free_all+0x1a4/0x258
    [    0.000000]  mem_init+0x30/0x3c
    [    0.000000]  start_kernel+0x42c/0x694
    [    0.000000]  __primary_switched+0xbc/0xc4
    [    0.000000] BUG: Bad page state in process swapper  pfn:80015
    [    0.000000] page:(____ptrval____) refcount:0 mapcount:1 mapping:0000000000000000 index:0x0 pfn:0x80015
    [    0.000000] flags: 0x0(zone=0)
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] page dumped because: nonzero mapcount
    [    0.000000] Modules linked in:
    [    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B              6.1.46-g247b2535b2 #1
    [    0.000000] Hardware name: Texas Instruments AM62A7 (DT)
    [    0.000000] Call trace:
    [    0.000000]  dump_backtrace.part.0+0xdc/0xf0
    [    0.000000]  show_stack+0x18/0x30
    [    0.000000]  dump_stack_lvl+0x68/0x84
    [    0.000000]  dump_stack+0x18/0x34
    [    0.000000]  bad_page+0xe8/0x110
    [    0.000000]  free_page_is_bad_report+0x7c/0x90
    [    0.000000]  __free_pages_ok+0x404/0x450
    [    0.000000]  __free_pages_core+0xbc/0xd0
    [    0.000000]  memblock_free_pages+0x14/0x20
    [    0.000000]  memblock_free_all+0x1a4/0x258
    [    0.000000]  mem_init+0x30/0x3c
    [    0.000000]  start_kernel+0x42c/0x694
    [    0.000000]  __primary_switched+0xbc/0xc4
    [    0.000000] BUG: Bad page state in process swapper  pfn:80016
    [    0.000000] page:(____ptrval____) refcount:0 mapcount:1 mapping:0000000000000000 index:0x0 pfn:0x80016
    [    0.000000] flags: 0x0(zone=0)
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] page dumped because: nonzero mapcount
    [    0.000000] Modules linked in:
    [    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B              6.1.46-g247b2535b2 #1
    [    0.000000] Hardware name: Texas Instruments AM62A7 (DT)
    [    0.000000] Call trace:
    [    0.000000]  dump_backtrace.part.0+0xdc/0xf0
    [    0.000000]  show_stack+0x18/0x30
    [    0.000000]  dump_stack_lvl+0x68/0x84
    [    0.000000]  dump_stack+0x18/0x34
    [    0.000000]  bad_page+0xe8/0x110
    [    0.000000]  free_page_is_bad_report+0x7c/0x90
    [    0.000000]  __free_pages_ok+0x404/0x450
    [    0.000000]  __free_pages_core+0xbc/0xd0
    [    0.000000]  memblock_free_pages+0x14/0x20
    [    0.000000]  memblock_free_all+0x1a4/0x258
    [    0.000000]  mem_init+0x30/0x3c
    [    0.000000]  start_kernel+0x42c/0x694
    [    0.000000]  __primary_switched+0xbc/0xc4
    [    0.000000] BUG: Bad page state in process swapper  pfn:80017
    [    0.000000] page:(____ptrval____) refcount:0 mapcount:1 mapping:0000000000000000 index:0x0 pfn:0x80017
    [    0.000000] flags: 0x0(zone=0)
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] page dumped because: nonzero mapcount
    [    0.000000] Modules linked in:
    [    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B              6.1.46-g247b2535b2 #1
    [    0.000000] Hardware name: Texas Instruments AM62A7 (DT)
    [    0.000000] Call trace:
    [    0.000000]  dump_backtrace.part.0+0xdc/0xf0
    [    0.000000]  show_stack+0x18/0x30
    [    0.000000]  dump_stack_lvl+0x68/0x84
    [    0.000000]  dump_stack+0x18/0x34
    [    0.000000]  bad_page+0xe8/0x110
    [    0.000000]  free_page_is_bad_report+0x7c/0x90
    [    0.000000]  __free_pages_ok+0x404/0x450
    [    0.000000]  __free_pages_core+0xbc/0xd0
    [    0.000000]  memblock_free_pages+0x14/0x20
    [    0.000000]  memblock_free_all+0x1a4/0x258
    [    0.000000]  mem_init+0x30/0x3c
    [    0.000000]  start_kernel+0x42c/0x694
    [    0.000000]  __primary_switched+0xbc/0xc4
    [    0.000000] BUG: Bad page state in process swapper  pfn:80018
    [    0.000000] page:(____ptrval____) refcount:0 mapcount:1 mapping:0000000000000000 index:0x0 pfn:0x80018
    [    0.000000] flags: 0x0(zone=0)
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] page dumped because: nonzero mapcount
    [    0.000000] Modules linked in:
    [    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B              6.1.46-g247b2535b2 #1
    [    0.000000] Hardware name: Texas Instruments AM62A7 (DT)
    [    0.000000] Call trace:
    [    0.000000]  dump_backtrace.part.0+0xdc/0xf0
    [    0.000000]  show_stack+0x18/0x30
    [    0.000000]  dump_stack_lvl+0x68/0x84
    [    0.000000]  dump_stack+0x18/0x34
    [    0.000000]  bad_page+0xe8/0x110
    [    0.000000]  free_page_is_bad_report+0x7c/0x90
    [    0.000000]  __free_pages_ok+0x404/0x450
    [    0.000000]  __free_pages_core+0xbc/0xd0
    [    0.000000]  memblock_free_pages+0x14/0x20
    [    0.000000]  memblock_free_all+0x1a4/0x258
    [    0.000000]  mem_init+0x30/0x3c
    [    0.000000]  start_kernel+0x42c/0x694
    [    0.000000]  __primary_switched+0xbc/0xc4
    [    0.000000] BUG: Bad page state in process swapper  pfn:80019
    [    0.000000] page:(____ptrval____) refcount:0 mapcount:1 mapping:0000000000000000 index:0x0 pfn:0x80019
    [    0.000000] flags: 0x0(zone=0)
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] page dumped because: nonzero mapcount
    [    0.000000] Modules linked in:
    [    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B              6.1.46-g247b2535b2 #1
    [    0.000000] Hardware name: Texas Instruments AM62A7 (DT)
    [    0.000000] Call trace:
    [    0.000000]  dump_backtrace.part.0+0xdc/0xf0
    [    0.000000]  show_stack+0x18/0x30
    [    0.000000]  dump_stack_lvl+0x68/0x84
    [    0.000000]  dump_stack+0x18/0x34
    [    0.000000]  bad_page+0xe8/0x110
    [    0.000000]  free_page_is_bad_report+0x7c/0x90
    [    0.000000]  __free_pages_ok+0x404/0x450
    [    0.000000]  __free_pages_core+0xbc/0xd0
    [    0.000000]  memblock_free_pages+0x14/0x20
    [    0.000000]  memblock_free_all+0x1a4/0x258
    [    0.000000]  mem_init+0x30/0x3c
    [    0.000000]  start_kernel+0x42c/0x694
    [    0.000000]  __primary_switched+0xbc/0xc4
    [    0.000000] BUG: Bad page state in process swapper  pfn:8001a
    [    0.000000] page:(____ptrval____) refcount:0 mapcount:1 mapping:0000000000000000 index:0x0 pfn:0x8001a
    [    0.000000] flags: 0x0(zone=0)
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] page dumped because: nonzero mapcount
    [    0.000000] Modules linked in:
    [    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B              6.1.46-g247b2535b2 #1
    [    0.000000] Hardware name: Texas Instruments AM62A7 (DT)
    [    0.000000] Call trace:
    [    0.000000]  dump_backtrace.part.0+0xdc/0xf0
    [    0.000000]  show_stack+0x18/0x30
    [    0.000000]  dump_stack_lvl+0x68/0x84
    [    0.000000]  dump_stack+0x18/0x34
    [    0.000000]  bad_page+0xe8/0x110
    [    0.000000]  free_page_is_bad_report+0x7c/0x90
    [    0.000000]  __free_pages_ok+0x404/0x450
    [    0.000000]  __free_pages_core+0xbc/0xd0
    [    0.000000]  memblock_free_pages+0x14/0x20
    [    0.000000]  memblock_free_all+0x1a4/0x258
    [    0.000000]  mem_init+0x30/0x3c
    [    0.000000]  start_kernel+0x42c/0x694
    [    0.000000]  __primary_switched+0xbc/0xc4
    [    0.000000] BUG: Bad page state in process swapper  pfn:8001b
    [    0.000000] page:(____ptrval____) refcount:0 mapcount:1 mapping:0000000000000000 index:0x0 pfn:0x8001b
    [    0.000000] flags: 0x0(zone=0)
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] page dumped because: nonzero mapcount
    [    0.000000] Modules linked in:
    [    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B              6.1.46-g247b2535b2 #1
    [    0.000000] Hardware name: Texas Instruments AM62A7 (DT)
    [    0.000000] Call trace:
    [    0.000000]  dump_backtrace.part.0+0xdc/0xf0
    [    0.000000]  show_stack+0x18/0x30
    [    0.000000]  dump_stack_lvl+0x68/0x84
    [    0.000000]  dump_stack+0x18/0x34
    [    0.000000]  bad_page+0xe8/0x110
    [    0.000000]  free_page_is_bad_report+0x7c/0x90
    [    0.000000]  __free_pages_ok+0x404/0x450
    [    0.000000]  __free_pages_core+0xbc/0xd0
    [    0.000000]  memblock_free_pages+0x14/0x20
    [    0.000000]  memblock_free_all+0x1a4/0x258
    [    0.000000]  mem_init+0x30/0x3c
    [    0.000000]  start_kernel+0x42c/0x694
    [    0.000000]  __primary_switched+0xbc/0xc4
    [    0.000000] BUG: Bad page state in process swapper  pfn:8001c
    [    0.000000] page:(____ptrval____) refcount:0 mapcount:1 mapping:0000000000000000 index:0x0 pfn:0x8001c
    [    0.000000] flags: 0x0(zone=0)
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] page dumped because: nonzero mapcount
    [    0.000000] Modules linked in:
    [    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B              6.1.46-g247b2535b2 #1
    [    0.000000] Hardware name: Texas Instruments AM62A7 (DT)
    [    0.000000] Call trace:
    [    0.000000]  dump_backtrace.part.0+0xdc/0xf0
    [    0.000000]  show_stack+0x18/0x30
    [    0.000000]  dump_stack_lvl+0x68/0x84
    [    0.000000]  dump_stack+0x18/0x34
    [    0.000000]  bad_page+0xe8/0x110
    [    0.000000]  free_page_is_bad_report+0x7c/0x90
    [    0.000000]  __free_pages_ok+0x404/0x450
    [    0.000000]  __free_pages_core+0xbc/0xd0
    [    0.000000]  memblock_free_pages+0x14/0x20
    [    0.000000]  memblock_free_all+0x1a4/0x258
    [    0.000000]  mem_init+0x30/0x3c
    [    0.000000]  start_kernel+0x42c/0x694
    [    0.000000]  __primary_switched+0xbc/0xc4
    [    0.000000] BUG: Bad page state in process swapper  pfn:8001d
    [    0.000000] page:(____ptrval____) refcount:0 mapcount:1 mapping:0000000000000000 index:0x0 pfn:0x8001d
    [    0.000000] flags: 0x0(zone=0)
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] page dumped because: nonzero mapcount
    [    0.000000] Modules linked in:
    [    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B              6.1.46-g247b2535b2 #1
    [    0.000000] Hardware name: Texas Instruments AM62A7 (DT)
    [    0.000000] Call trace:
    [    0.000000]  dump_backtrace.part.0+0xdc/0xf0
    [    0.000000]  show_stack+0x18/0x30
    [    0.000000]  dump_stack_lvl+0x68/0x84
    [    0.000000]  dump_stack+0x18/0x34
    [    0.000000]  bad_page+0xe8/0x110
    [    0.000000]  free_page_is_bad_report+0x7c/0x90
    [    0.000000]  __free_pages_ok+0x404/0x450
    [    0.000000]  __free_pages_core+0xbc/0xd0
    [    0.000000]  memblock_free_pages+0x14/0x20
    [    0.000000]  memblock_free_all+0x1a4/0x258
    [    0.000000]  mem_init+0x30/0x3c
    [    0.000000]  start_kernel+0x42c/0x694
    [    0.000000]  __primary_switched+0xbc/0xc4
    [    0.000000] BUG: Bad page state in process swapper  pfn:8001e
    [    0.000000] page:(____ptrval____) refcount:0 mapcount:1 mapping:0000000000000000 index:0x0 pfn:0x8001e
    [    0.000000] flags: 0x0(zone=0)
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] page dumped because: nonzero mapcount
    [    0.000000] Modules linked in:
    [    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B              6.1.46-g247b2535b2 #1
    [    0.000000] Hardware name: Texas Instruments AM62A7 (DT)
    [    0.000000] Call trace:
    [    0.000000]  dump_backtrace.part.0+0xdc/0xf0
    [    0.000000]  show_stack+0x18/0x30
    [    0.000000]  dump_stack_lvl+0x68/0x84
    [    0.000000]  dump_stack+0x18/0x34
    [    0.000000]  bad_page+0xe8/0x110
    [    0.000000]  free_page_is_bad_report+0x7c/0x90
    [    0.000000]  __free_pages_ok+0x404/0x450
    [    0.000000]  __free_pages_core+0xbc/0xd0
    [    0.000000]  memblock_free_pages+0x14/0x20
    [    0.000000]  memblock_free_all+0x1a4/0x258
    [    0.000000]  mem_init+0x30/0x3c
    [    0.000000]  start_kernel+0x42c/0x694
    [    0.000000]  __primary_switched+0xbc/0xc4
    [    0.000000] BUG: Bad page state in process swapper  pfn:8001f
    [    0.000000] page:(____ptrval____) refcount:0 mapcount:1 mapping:0000000000000000 index:0x0 pfn:0x8001f
    [    0.000000] flags: 0x0(zone=0)
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] page dumped because: nonzero mapcount
    [    0.000000] Modules linked in:
    [    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B              6.1.46-g247b2535b2 #1
    [    0.000000] Hardware name: Texas Instruments AM62A7 (DT)
    [    0.000000] Call trace:
    [    0.000000]  dump_backtrace.part.0+0xdc/0xf0
    [    0.000000]  show_stack+0x18/0x30
    [    0.000000]  dump_stack_lvl+0x68/0x84
    [    0.000000]  dump_stack+0x18/0x34
    [    0.000000]  bad_page+0xe8/0x110
    [    0.000000]  free_page_is_bad_report+0x7c/0x90
    [    0.000000]  __free_pages_ok+0x404/0x450
    [    0.000000]  __free_pages_core+0xbc/0xd0
    [    0.000000]  memblock_free_pages+0x14/0x20
    [    0.000000]  memblock_free_all+0x1a4/0x258
    [    0.000000]  mem_init+0x30/0x3c
    [    0.000000]  start_kernel+0x42c/0x694
    [    0.000000]  __primary_switched+0xbc/0xc4
    [    0.000000] BUG: Bad page state in process swapper  pfn:80020
    [    0.000000] page:(____ptrval____) refcount:0 mapcount:1 mapping:0000000000000000 index:0x0 pfn:0x80020
    [    0.000000] flags: 0x0(zone=0)
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] page dumped because: nonzero mapcount
    [    0.000000] Modules linked in:
    [    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B              6.1.46-g247b2535b2 #1
    [    0.000000] Hardware name: Texas Instruments AM62A7 (DT)
    [    0.000000] Call trace:
    [    0.000000]  dump_backtrace.part.0+0xdc/0xf0
    [    0.000000]  show_stack+0x18/0x30
    [    0.000000]  dump_stack_lvl+0x68/0x84
    [    0.000000]  dump_stack+0x18/0x34
    [    0.000000]  bad_page+0xe8/0x110
    [    0.000000]  free_page_is_bad_report+0x7c/0x90
    [    0.000000]  __free_pages_ok+0x404/0x450
    [    0.000000]  __free_pages_core+0xbc/0xd0
    [    0.000000]  memblock_free_pages+0x14/0x20
    [    0.000000]  memblock_free_all+0x1a4/0x258
    [    0.000000]  mem_init+0x30/0x3c
    [    0.000000]  start_kernel+0x42c/0x694
    [    0.000000]  __primary_switched+0xbc/0xc4
    [    0.000000] BUG: Bad page state in process swapper  pfn:80021
    [    0.000000] page:(____ptrval____) refcount:0 mapcount:1 mapping:0000000000000000 index:0x0 pfn:0x80021
    [    0.000000] flags: 0x0(zone=0)
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] page dumped because: nonzero mapcount
    [    0.000000] Modules linked in:
    [    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B              6.1.46-g247b2535b2 #1
    [    0.000000] Hardware name: Texas Instruments AM62A7 (DT)
    [    0.000000] Call trace:
    [    0.000000]  dump_backtrace.part.0+0xdc/0xf0
    [    0.000000]  show_stack+0x18/0x30
    [    0.000000]  dump_stack_lvl+0x68/0x84
    [    0.000000]  dump_stack+0x18/0x34
    [    0.000000]  bad_page+0xe8/0x110
    [    0.000000]  free_page_is_bad_report+0x7c/0x90
    [    0.000000]  __free_pages_ok+0x404/0x450
    [    0.000000]  __free_pages_core+0xbc/0xd0
    [    0.000000]  memblock_free_pages+0x14/0x20
    [    0.000000]  memblock_free_all+0x1a4/0x258
    [    0.000000]  mem_init+0x30/0x3c
    [    0.000000]  start_kernel+0x42c/0x694
    [    0.000000]  __primary_switched+0xbc/0xc4
    [    0.000000] BUG: Bad page state in process swapper  pfn:80022
    [    0.000000] page:(____ptrval____) refcount:0 mapcount:1 mapping:0000000000000000 index:0x0 pfn:0x80022
    [    0.000000] flags: 0x0(zone=0)
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] page dumped because: nonzero mapcount
    [    0.000000] Modules linked in:
    [    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B              6.1.46-g247b2535b2 #1
    [    0.000000] Hardware name: Texas Instruments AM62A7 (DT)
    [    0.000000] Call trace:
    [    0.000000]  dump_backtrace.part.0+0xdc/0xf0
    [    0.000000]  show_stack+0x18/0x30
    [    0.000000]  dump_stack_lvl+0x68/0x84
    [    0.000000]  dump_stack+0x18/0x34
    [    0.000000]  bad_page+0xe8/0x110
    [    0.000000]  free_page_is_bad_report+0x7c/0x90
    [    0.000000]  __free_pages_ok+0x404/0x450
    [    0.000000]  __free_pages_core+0xbc/0xd0
    [    0.000000]  memblock_free_pages+0x14/0x20
    [    0.000000]  memblock_free_all+0x1a4/0x258
    [    0.000000]  mem_init+0x30/0x3c
    [    0.000000]  start_kernel+0x42c/0x694
    [    0.000000]  __primary_switched+0xbc/0xc4
    [    0.000000] BUG: Bad page state in process swapper  pfn:80023
    [    0.000000] page:(____ptrval____) refcount:0 mapcount:1 mapping:0000000000000000 index:0x0 pfn:0x80023
    [    0.000000] flags: 0x0(zone=0)
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] page dumped because: nonzero mapcount
    [    0.000000] Modules linked in:
    [    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B              6.1.46-g247b2535b2 #1
    [    0.000000] Hardware name: Texas Instruments AM62A7 (DT)
    [    0.000000] Call trace:
    [    0.000000]  dump_backtrace.part.0+0xdc/0xf0
    [    0.000000]  show_stack+0x18/0x30
    [    0.000000]  dump_stack_lvl+0x68/0x84
    [    0.000000]  dump_stack+0x18/0x34
    [    0.000000]  bad_page+0xe8/0x110
    [    0.000000]  free_page_is_bad_report+0x7c/0x90
    [    0.000000]  __free_pages_ok+0x404/0x450
    [    0.000000]  __free_pages_core+0xbc/0xd0
    [    0.000000]  memblock_free_pages+0x14/0x20
    [    0.000000]  memblock_free_all+0x1a4/0x258
    [    0.000000]  mem_init+0x30/0x3c
    [    0.000000]  start_kernel+0x42c/0x694
    [    0.000000]  __primary_switched+0xbc/0xc4
    [    0.000000] BUG: Bad page state in process swapper  pfn:80024
    [    0.000000] page:(____ptrval____) refcount:0 mapcount:1 mapping:0000000000000000 index:0x0 pfn:0x80024
    [    0.000000] flags: 0x0(zone=0)
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] page dumped because: nonzero mapcount
    [    0.000000] Modules linked in:
    [    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B              6.1.46-g247b2535b2 #1
    [    0.000000] Hardware name: Texas Instruments AM62A7 (DT)
    [    0.000000] Call trace:
    [    0.000000]  dump_backtrace.part.0+0xdc/0xf0
    [    0.000000]  show_stack+0x18/0x30
    [    0.000000]  dump_stack_lvl+0x68/0x84
    [    0.000000]  dump_stack+0x18/0x34
    [    0.000000]  bad_page+0xe8/0x110
    [    0.000000]  free_page_is_bad_report+0x7c/0x90
    [    0.000000]  __free_pages_ok+0x404/0x450
    [    0.000000]  __free_pages_core+0xbc/0xd0
    [    0.000000]  memblock_free_pages+0x14/0x20
    [    0.000000]  memblock_free_all+0x1a4/0x258
    [    0.000000]  mem_init+0x30/0x3c
    [    0.000000]  start_kernel+0x42c/0x694
    [    0.000000]  __primary_switched+0xbc/0xc4
    [    0.000000] BUG: Bad page state in process swapper  pfn:80025
    [    0.000000] page:(____ptrval____) refcount:0 mapcount:1 mapping:0000000000000000 index:0x0 pfn:0x80025
    [    0.000000] flags: 0x0(zone=0)
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] page dumped because: nonzero mapcount
    [    0.000000] Modules linked in:
    [    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B              6.1.46-g247b2535b2 #1
    [    0.000000] Hardware name: Texas Instruments AM62A7 (DT)
    [    0.000000] Call trace:
    [    0.000000]  dump_backtrace.part.0+0xdc/0xf0
    [    0.000000]  show_stack+0x18/0x30
    [    0.000000]  dump_stack_lvl+0x68/0x84
    [    0.000000]  dump_stack+0x18/0x34
    [    0.000000]  bad_page+0xe8/0x110
    [    0.000000]  free_page_is_bad_report+0x7c/0x90
    [    0.000000]  __free_pages_ok+0x404/0x450
    [    0.000000]  __free_pages_core+0xbc/0xd0
    [    0.000000]  memblock_free_pages+0x14/0x20
    [    0.000000]  memblock_free_all+0x1a4/0x258
    [    0.000000]  mem_init+0x30/0x3c
    [    0.000000]  start_kernel+0x42c/0x694
    [    0.000000]  __primary_switched+0xbc/0xc4
    [    0.000000] BUG: Bad page state in process swapper  pfn:80026
    [    0.000000] page:(____ptrval____) refcount:0 mapcount:1 mapping:0000000000000000 index:0x0 pfn:0x80026
    [    0.000000] flags: 0x0(zone=0)
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] page dumped because: nonzero mapcount
    [    0.000000] Modules linked in:
    [    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B              6.1.46-g247b2535b2 #1
    [    0.000000] Hardware name: Texas Instruments AM62A7 (DT)
    [    0.000000] Call trace:
    [    0.000000]  dump_backtrace.part.0+0xdc/0xf0
    [    0.000000]  show_stack+0x18/0x30
    [    0.000000]  dump_stack_lvl+0x68/0x84
    [    0.000000]  dump_stack+0x18/0x34
    [    0.000000]  bad_page+0xe8/0x110
    [    0.000000]  free_page_is_bad_report+0x7c/0x90
    [    0.000000]  __free_pages_ok+0x404/0x450
    [    0.000000]  __free_pages_core+0xbc/0xd0
    [    0.000000]  memblock_free_pages+0x14/0x20
    [    0.000000]  memblock_free_all+0x1a4/0x258
    [    0.000000]  mem_init+0x30/0x3c
    [    0.000000]  start_kernel+0x42c/0x694
    [    0.000000]  __primary_switched+0xbc/0xc4
    [    0.000000] BUG: Bad page state in process swapper  pfn:80027
    [    0.000000] page:(____ptrval____) refcount:0 mapcount:1 mapping:0000000000000000 index:0x0 pfn:0x80027
    [    0.000000] flags: 0x0(zone=0)
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] page dumped because: nonzero mapcount
    [    0.000000] Modules linked in:
    [    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B              6.1.46-g247b2535b2 #1
    [    0.000000] Hardware name: Texas Instruments AM62A7 (DT)
    [    0.000000] Call trace:
    [    0.000000]  dump_backtrace.part.0+0xdc/0xf0
    [    0.000000]  show_stack+0x18/0x30
    [    0.000000]  dump_stack_lvl+0x68/0x84
    [    0.000000]  dump_stack+0x18/0x34
    [    0.000000]  bad_page+0xe8/0x110
    [    0.000000]  free_page_is_bad_report+0x7c/0x90
    [    0.000000]  __free_pages_ok+0x404/0x450
    [    0.000000]  __free_pages_core+0xbc/0xd0
    [    0.000000]  memblock_free_pages+0x14/0x20
    [    0.000000]  memblock_free_all+0x1a4/0x258
    [    0.000000]  mem_init+0x30/0x3c
    [    0.000000]  start_kernel+0x42c/0x694
    [    0.000000]  __primary_switched+0xbc/0xc4
    [    0.000000] BUG: Bad page state in process swapper  pfn:80028
    [    0.000000] page:(____ptrval____) refcount:0 mapcount:1 mapping:0000000000000000 index:0x0 pfn:0x80028
    [    0.000000] flags: 0x0(zone=0)
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] page dumped because: nonzero mapcount
    [    0.000000] Modules linked in:
    [    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B              6.1.46-g247b2535b2 #1
    [    0.000000] Hardware name: Texas Instruments AM62A7 (DT)
    [    0.000000] Call trace:
    [    0.000000]  dump_backtrace.part.0+0xdc/0xf0
    [    0.000000]  show_stack+0x18/0x30
    [    0.000000]  dump_stack_lvl+0x68/0x84
    [    0.000000]  dump_stack+0x18/0x34
    [    0.000000]  bad_page+0xe8/0x110
    [    0.000000]  free_page_is_bad_report+0x7c/0x90
    [    0.000000]  __free_pages_ok+0x404/0x450
    [    0.000000]  __free_pages_core+0xbc/0xd0
    [    0.000000]  memblock_free_pages+0x14/0x20
    [    0.000000]  memblock_free_all+0x1a4/0x258
    [    0.000000]  mem_init+0x30/0x3c
    [    0.000000]  start_kernel+0x42c/0x694
    [    0.000000]  __primary_switched+0xbc/0xc4
    [    0.000000] BUG: Bad page state in process swapper  pfn:80029
    [    0.000000] page:(____ptrval____) refcount:0 mapcount:1 mapping:0000000000000000 index:0x0 pfn:0x80029
    [    0.000000] flags: 0x0(zone=0)
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] page dumped because: nonzero mapcount
    [    0.000000] Modules linked in:
    [    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B              6.1.46-g247b2535b2 #1
    [    0.000000] Hardware name: Texas Instruments AM62A7 (DT)
    [    0.000000] Call trace:
    [    0.000000]  dump_backtrace.part.0+0xdc/0xf0
    [    0.000000]  show_stack+0x18/0x30
    [    0.000000]  dump_stack_lvl+0x68/0x84
    [    0.000000]  dump_stack+0x18/0x34
    [    0.000000]  bad_page+0xe8/0x110
    [    0.000000]  free_page_is_bad_report+0x7c/0x90
    [    0.000000]  __free_pages_ok+0x404/0x450
    [    0.000000]  __free_pages_core+0xbc/0xd0
    [    0.000000]  memblock_free_pages+0x14/0x20
    [    0.000000]  memblock_free_all+0x1a4/0x258
    [    0.000000]  mem_init+0x30/0x3c
    [    0.000000]  start_kernel+0x42c/0x694
    [    0.000000]  __primary_switched+0xbc/0xc4
    [    0.000000] BUG: Bad page state in process swapper  pfn:8002a
    [    0.000000] page:(____ptrval____) refcount:0 mapcount:1 mapping:0000000000000000 index:0x0 pfn:0x8002a
    [    0.000000] flags: 0x0(zone=0)
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] page dumped because: nonzero mapcount
    [    0.000000] Modules linked in:
    [    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B              6.1.46-g247b2535b2 #1
    [    0.000000] Hardware name: Texas Instruments AM62A7 (DT)
    [    0.000000] Call trace:
    [    0.000000]  dump_backtrace.part.0+0xdc/0xf0
    [    0.000000]  show_stack+0x18/0x30
    [    0.000000]  dump_stack_lvl+0x68/0x84
    [    0.000000]  dump_stack+0x18/0x34
    [    0.000000]  bad_page+0xe8/0x110
    [    0.000000]  free_page_is_bad_report+0x7c/0x90
    [    0.000000]  __free_pages_ok+0x404/0x450
    [    0.000000]  __free_pages_core+0xbc/0xd0
    [    0.000000]  memblock_free_pages+0x14/0x20
    [    0.000000]  memblock_free_all+0x1a4/0x258
    [    0.000000]  mem_init+0x30/0x3c
    [    0.000000]  start_kernel+0x42c/0x694
    [    0.000000]  __primary_switched+0xbc/0xc4
    [    0.000000] BUG: Bad page state in process swapper  pfn:8002b
    [    0.000000] page:(____ptrval____) refcount:0 mapcount:1 mapping:0000000000000000 index:0x0 pfn:0x8002b
    [    0.000000] flags: 0x0(zone=0)
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] page dumped because: nonzero mapcount
    [    0.000000] Modules linked in:
    [    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B              6.1.46-g247b2535b2 #1
    [    0.000000] Hardware name: Texas Instruments AM62A7 (DT)
    [    0.000000] Call trace:
    [    0.000000]  dump_backtrace.part.0+0xdc/0xf0
    [    0.000000]  show_stack+0x18/0x30
    [    0.000000]  dump_stack_lvl+0x68/0x84
    [    0.000000]  dump_stack+0x18/0x34
    [    0.000000]  bad_page+0xe8/0x110
    [    0.000000]  free_page_is_bad_report+0x7c/0x90
    [    0.000000]  __free_pages_ok+0x404/0x450
    [    0.000000]  __free_pages_core+0xbc/0xd0
    [    0.000000]  memblock_free_pages+0x14/0x20
    [    0.000000]  memblock_free_all+0x1a4/0x258
    [    0.000000]  mem_init+0x30/0x3c
    [    0.000000]  start_kernel+0x42c/0x694
    [    0.000000]  __primary_switched+0xbc/0xc4
    [    0.000000] BUG: Bad page state in process swapper  pfn:8002c
    [    0.000000] page:(____ptrval____) refcount:0 mapcount:1 mapping:0000000000000000 index:0x0 pfn:0x8002c
    [    0.000000] flags: 0x0(zone=0)
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] page dumped because: nonzero mapcount
    [    0.000000] Modules linked in:
    [    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B              6.1.46-g247b2535b2 #1
    [    0.000000] Hardware name: Texas Instruments AM62A7 (DT)
    [    0.000000] Call trace:
    [    0.000000]  dump_backtrace.part.0+0xdc/0xf0
    [    0.000000]  show_stack+0x18/0x30
    [    0.000000]  dump_stack_lvl+0x68/0x84
    [    0.000000]  dump_stack+0x18/0x34
    [    0.000000]  bad_page+0xe8/0x110
    [    0.000000]  free_page_is_bad_report+0x7c/0x90
    [    0.000000]  __free_pages_ok+0x404/0x450
    [    0.000000]  __free_pages_core+0xbc/0xd0
    [    0.000000]  memblock_free_pages+0x14/0x20
    [    0.000000]  memblock_free_all+0x1a4/0x258
    [    0.000000]  mem_init+0x30/0x3c
    [    0.000000]  start_kernel+0x42c/0x694
    [    0.000000]  __primary_switched+0xbc/0xc4
    [    0.000000] BUG: Bad page state in process swapper  pfn:8002d
    [    0.000000] page:(____ptrval____) refcount:0 mapcount:1 mapping:0000000000000000 index:0x0 pfn:0x8002d
    [    0.000000] flags: 0x0(zone=0)
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] page dumped because: nonzero mapcount
    [    0.000000] Modules linked in:
    [    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B              6.1.46-g247b2535b2 #1
    [    0.000000] Hardware name: Texas Instruments AM62A7 (DT)
    [    0.000000] Call trace:
    [    0.000000]  dump_backtrace.part.0+0xdc/0xf0
    [    0.000000]  show_stack+0x18/0x30
    [    0.000000]  dump_stack_lvl+0x68/0x84
    [    0.000000]  dump_stack+0x18/0x34
    [    0.000000]  bad_page+0xe8/0x110
    [    0.000000]  free_page_is_bad_report+0x7c/0x90
    [    0.000000]  __free_pages_ok+0x404/0x450
    [    0.000000]  __free_pages_core+0xbc/0xd0
    [    0.000000]  memblock_free_pages+0x14/0x20
    [    0.000000]  memblock_free_all+0x1a4/0x258
    [    0.000000]  mem_init+0x30/0x3c
    [    0.000000]  start_kernel+0x42c/0x694
    [    0.000000]  __primary_switched+0xbc/0xc4
    [    0.000000] BUG: Bad page state in process swapper  pfn:8002e
    [    0.000000] page:(____ptrval____) refcount:0 mapcount:1 mapping:0000000000000000 index:0x0 pfn:0x8002e
    [    0.000000] flags: 0x0(zone=0)
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] page dumped because: nonzero mapcount
    [    0.000000] Modules linked in:
    [    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B              6.1.46-g247b2535b2 #1
    [    0.000000] Hardware name: Texas Instruments AM62A7 (DT)
    [    0.000000] Call trace:
    [    0.000000]  dump_backtrace.part.0+0xdc/0xf0
    [    0.000000]  show_stack+0x18/0x30
    [    0.000000]  dump_stack_lvl+0x68/0x84
    [    0.000000]  dump_stack+0x18/0x34
    [    0.000000]  bad_page+0xe8/0x110
    [    0.000000]  free_page_is_bad_report+0x7c/0x90
    [    0.000000]  __free_pages_ok+0x404/0x450
    [    0.000000]  __free_pages_core+0xbc/0xd0
    [    0.000000]  memblock_free_pages+0x14/0x20
    [    0.000000]  memblock_free_all+0x1a4/0x258
    [    0.000000]  mem_init+0x30/0x3c
    [    0.000000]  start_kernel+0x42c/0x694
    [    0.000000]  __primary_switched+0xbc/0xc4
    [    0.000000] BUG: Bad page state in process swapper  pfn:8002f
    [    0.000000] page:(____ptrval____) refcount:0 mapcount:1 mapping:0000000000000000 index:0x0 pfn:0x8002f
    [    0.000000] flags: 0x0(zone=0)
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] page dumped because: nonzero mapcount
    [    0.000000] Modules linked in:
    [    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B              6.1.46-g247b2535b2 #1
    [    0.000000] Hardware name: Texas Instruments AM62A7 (DT)
    [    0.000000] Call trace:
    [    0.000000]  dump_backtrace.part.0+0xdc/0xf0
    [    0.000000]  show_stack+0x18/0x30
    [    0.000000]  dump_stack_lvl+0x68/0x84
    [    0.000000]  dump_stack+0x18/0x34
    [    0.000000]  bad_page+0xe8/0x110
    [    0.000000]  free_page_is_bad_report+0x7c/0x90
    [    0.000000]  __free_pages_ok+0x404/0x450
    [    0.000000]  __free_pages_core+0xbc/0xd0
    [    0.000000]  memblock_free_pages+0x14/0x20
    [    0.000000]  memblock_free_all+0x1a4/0x258
    [    0.000000]  mem_init+0x30/0x3c
    [    0.000000]  start_kernel+0x42c/0x694
    [    0.000000]  __primary_switched+0xbc/0xc4
    [    0.000000] BUG: Bad page state in process swapper  pfn:80030
    [    0.000000] page:(____ptrval____) refcount:0 mapcount:1 mapping:0000000000000000 index:0x0 pfn:0x80030
    [    0.000000] flags: 0x0(zone=0)
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] page dumped because: nonzero mapcount
    [    0.000000] Modules linked in:
    [    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B              6.1.46-g247b2535b2 #1
    [    0.000000] Hardware name: Texas Instruments AM62A7 (DT)
    [    0.000000] Call trace:
    [    0.000000]  dump_backtrace.part.0+0xdc/0xf0
    [    0.000000]  show_stack+0x18/0x30
    [    0.000000]  dump_stack_lvl+0x68/0x84
    [    0.000000]  dump_stack+0x18/0x34
    [    0.000000]  bad_page+0xe8/0x110
    [    0.000000]  free_page_is_bad_report+0x7c/0x90
    [    0.000000]  __free_pages_ok+0x404/0x450
    [    0.000000]  __free_pages_core+0xbc/0xd0
    [    0.000000]  memblock_free_pages+0x14/0x20
    [    0.000000]  memblock_free_all+0x1a4/0x258
    [    0.000000]  mem_init+0x30/0x3c
    [    0.000000]  start_kernel+0x42c/0x694
    [    0.000000]  __primary_switched+0xbc/0xc4
    [    0.000000] BUG: Bad page state in process swapper  pfn:80031
    [    0.000000] page:(____ptrval____) refcount:0 mapcount:1 mapping:0000000000000000 index:0x0 pfn:0x80031
    [    0.000000] flags: 0x0(zone=0)
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] page dumped because: nonzero mapcount
    [    0.000000] Modules linked in:
    [    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B              6.1.46-g247b2535b2 #1
    [    0.000000] Hardware name: Texas Instruments AM62A7 (DT)
    [    0.000000] Call trace:
    [    0.000000]  dump_backtrace.part.0+0xdc/0xf0
    [    0.000000]  show_stack+0x18/0x30
    [    0.000000]  dump_stack_lvl+0x68/0x84
    [    0.000000]  dump_stack+0x18/0x34
    [    0.000000]  bad_page+0xe8/0x110
    [    0.000000]  free_page_is_bad_report+0x7c/0x90
    [    0.000000]  __free_pages_ok+0x404/0x450
    [    0.000000]  __free_pages_core+0xbc/0xd0
    [    0.000000]  memblock_free_pages+0x14/0x20
    [    0.000000]  memblock_free_all+0x1a4/0x258
    [    0.000000]  mem_init+0x30/0x3c
    [    0.000000]  start_kernel+0x42c/0x694
    [    0.000000]  __primary_switched+0xbc/0xc4
    [    0.000000] BUG: Bad page state in process swapper  pfn:80032
    [    0.000000] page:(____ptrval____) refcount:0 mapcount:1 mapping:0000000000000000 index:0x0 pfn:0x80032
    [    0.000000] flags: 0x0(zone=0)
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] page dumped because: nonzero mapcount
    [    0.000000] Modules linked in:
    [    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B              6.1.46-g247b2535b2 #1
    [    0.000000] Hardware name: Texas Instruments AM62A7 (DT)
    [    0.000000] Call trace:
    [    0.000000]  dump_backtrace.part.0+0xdc/0xf0
    [    0.000000]  show_stack+0x18/0x30
    [    0.000000]  dump_stack_lvl+0x68/0x84
    [    0.000000]  dump_stack+0x18/0x34
    [    0.000000]  bad_page+0xe8/0x110
    [    0.000000]  free_page_is_bad_report+0x7c/0x90
    [    0.000000]  __free_pages_ok+0x404/0x450
    [    0.000000]  __free_pages_core+0xbc/0xd0
    [    0.000000]  memblock_free_pages+0x14/0x20
    [    0.000000]  memblock_free_all+0x1a4/0x258
    [    0.000000]  mem_init+0x30/0x3c
    [    0.000000]  start_kernel+0x42c/0x694
    [    0.000000]  __primary_switched+0xbc/0xc4
    [    0.000000] BUG: Bad page state in process swapper  pfn:80033
    [    0.000000] page:(____ptrval____) refcount:0 mapcount:1 mapping:0000000000000000 index:0x0 pfn:0x80033
    [    0.000000] flags: 0x0(zone=0)
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] page dumped because: nonzero mapcount
    [    0.000000] Modules linked in:
    [    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B              6.1.46-g247b2535b2 #1
    [    0.000000] Hardware name: Texas Instruments AM62A7 (DT)
    [    0.000000] Call trace:
    [    0.000000]  dump_backtrace.part.0+0xdc/0xf0
    [    0.000000]  show_stack+0x18/0x30
    [    0.000000]  dump_stack_lvl+0x68/0x84
    [    0.000000]  dump_stack+0x18/0x34
    [    0.000000]  bad_page+0xe8/0x110
    [    0.000000]  free_page_is_bad_report+0x7c/0x90
    [    0.000000]  __free_pages_ok+0x404/0x450
    [    0.000000]  __free_pages_core+0xbc/0xd0
    [    0.000000]  memblock_free_pages+0x14/0x20
    [    0.000000]  memblock_free_all+0x1a4/0x258
    [    0.000000]  mem_init+0x30/0x3c
    [    0.000000]  start_kernel+0x42c/0x694
    [    0.000000]  __primary_switched+0xbc/0xc4
    [    0.000000] BUG: Bad page state in process swapper  pfn:80034
    [    0.000000] page:(____ptrval____) refcount:0 mapcount:1 mapping:0000000000000000 index:0x0 pfn:0x80034
    [    0.000000] flags: 0x0(zone=0)
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] page dumped because: nonzero mapcount
    [    0.000000] Modules linked in:
    [    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B              6.1.46-g247b2535b2 #1
    [    0.000000] Hardware name: Texas Instruments AM62A7 (DT)
    [    0.000000] Call trace:
    [    0.000000]  dump_backtrace.part.0+0xdc/0xf0
    [    0.000000]  show_stack+0x18/0x30
    [    0.000000]  dump_stack_lvl+0x68/0x84
    [    0.000000]  dump_stack+0x18/0x34
    [    0.000000]  bad_page+0xe8/0x110
    [    0.000000]  free_page_is_bad_report+0x7c/0x90
    [    0.000000]  __free_pages_ok+0x404/0x450
    [    0.000000]  __free_pages_core+0xbc/0xd0
    [    0.000000]  memblock_free_pages+0x14/0x20
    [    0.000000]  memblock_free_all+0x1a4/0x258
    [    0.000000]  mem_init+0x30/0x3c
    [    0.000000]  start_kernel+0x42c/0x694
    [    0.000000]  __primary_switched+0xbc/0xc4
    [    0.000000] BUG: Bad page state in process swapper  pfn:80035
    [    0.000000] page:(____ptrval____) refcount:0 mapcount:1 mapping:0000000000000000 index:0x0 pfn:0x80035
    [    0.000000] flags: 0x0(zone=0)
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] page dumped because: nonzero mapcount
    [    0.000000] Modules linked in:
    [    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B              6.1.46-g247b2535b2 #1
    [    0.000000] Hardware name: Texas Instruments AM62A7 (DT)
    [    0.000000] Call trace:
    [    0.000000]  dump_backtrace.part.0+0xdc/0xf0
    [    0.000000]  show_stack+0x18/0x30
    [    0.000000]  dump_stack_lvl+0x68/0x84
    [    0.000000]  dump_stack+0x18/0x34
    [    0.000000]  bad_page+0xe8/0x110
    [    0.000000]  free_page_is_bad_report+0x7c/0x90
    [    0.000000]  __free_pages_ok+0x404/0x450
    [    0.000000]  __free_pages_core+0xbc/0xd0
    [    0.000000]  memblock_free_pages+0x14/0x20
    [    0.000000]  memblock_free_all+0x1a4/0x258
    [    0.000000]  mem_init+0x30/0x3c
    [    0.000000]  start_kernel+0x42c/0x694
    [    0.000000]  __primary_switched+0xbc/0xc4
    [    0.000000] BUG: Bad page state in process swapper  pfn:80036
    [    0.000000] page:(____ptrval____) refcount:0 mapcount:1 mapping:0000000000000000 index:0x0 pfn:0x80036
    [    0.000000] flags: 0x0(zone=0)
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] page dumped because: nonzero mapcount
    [    0.000000] Modules linked in:
    [    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B              6.1.46-g247b2535b2 #1
    [    0.000000] Hardware name: Texas Instruments AM62A7 (DT)
    [    0.000000] Call trace:
    [    0.000000]  dump_backtrace.part.0+0xdc/0xf0
    [    0.000000]  show_stack+0x18/0x30
    [    0.000000]  dump_stack_lvl+0x68/0x84
    [    0.000000]  dump_stack+0x18/0x34
    [    0.000000]  bad_page+0xe8/0x110
    [    0.000000]  free_page_is_bad_report+0x7c/0x90
    [    0.000000]  __free_pages_ok+0x404/0x450
    [    0.000000]  __free_pages_core+0xbc/0xd0
    [    0.000000]  memblock_free_pages+0x14/0x20
    [    0.000000]  memblock_free_all+0x1a4/0x258
    [    0.000000]  mem_init+0x30/0x3c
    [    0.000000]  start_kernel+0x42c/0x694
    [    0.000000]  __primary_switched+0xbc/0xc4
    [    0.000000] BUG: Bad page state in process swapper  pfn:80037
    [    0.000000] page:(____ptrval____) refcount:0 mapcount:1 mapping:0000000000000000 index:0x0 pfn:0x80037
    [    0.000000] flags: 0x0(zone=0)
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] page dumped because: nonzero mapcount
    [    0.000000] Modules linked in:
    [    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B              6.1.46-g247b2535b2 #1
    [    0.000000] Hardware name: Texas Instruments AM62A7 (DT)
    [    0.000000] Call trace:
    [    0.000000]  dump_backtrace.part.0+0xdc/0xf0
    [    0.000000]  show_stack+0x18/0x30
    [    0.000000]  dump_stack_lvl+0x68/0x84
    [    0.000000]  dump_stack+0x18/0x34
    [    0.000000]  bad_page+0xe8/0x110
    [    0.000000]  free_page_is_bad_report+0x7c/0x90
    [    0.000000]  __free_pages_ok+0x404/0x450
    [    0.000000]  __free_pages_core+0xbc/0xd0
    [    0.000000]  memblock_free_pages+0x14/0x20
    [    0.000000]  memblock_free_all+0x1a4/0x258
    [    0.000000]  mem_init+0x30/0x3c
    [    0.000000]  start_kernel+0x42c/0x694
    [    0.000000]  __primary_switched+0xbc/0xc4
    [    0.000000] BUG: Bad page state in process swapper  pfn:80038
    [    0.000000] page:(____ptrval____) refcount:0 mapcount:1 mapping:0000000000000000 index:0x0 pfn:0x80038
    [    0.000000] flags: 0x0(zone=0)
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] page dumped because: nonzero mapcount
    [    0.000000] Modules linked in:
    [    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B              6.1.46-g247b2535b2 #1
    [    0.000000] Hardware name: Texas Instruments AM62A7 (DT)
    [    0.000000] Call trace:
    [    0.000000]  dump_backtrace.part.0+0xdc/0xf0
    [    0.000000]  show_stack+0x18/0x30
    [    0.000000]  dump_stack_lvl+0x68/0x84
    [    0.000000]  dump_stack+0x18/0x34
    [    0.000000]  bad_page+0xe8/0x110
    [    0.000000]  free_page_is_bad_report+0x7c/0x90
    [    0.000000]  __free_pages_ok+0x404/0x450
    [    0.000000]  __free_pages_core+0xbc/0xd0
    [    0.000000]  memblock_free_pages+0x14/0x20
    [    0.000000]  memblock_free_all+0x1a4/0x258
    [    0.000000]  mem_init+0x30/0x3c
    [    0.000000]  start_kernel+0x42c/0x694
    [    0.000000]  __primary_switched+0xbc/0xc4
    [    0.000000] BUG: Bad page state in process swapper  pfn:80039
    [    0.000000] page:(____ptrval____) refcount:0 mapcount:1 mapping:0000000000000000 index:0x0 pfn:0x80039
    [    0.000000] flags: 0x0(zone=0)
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] page dumped because: nonzero mapcount
    [    0.000000] Modules linked in:
    [    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B              6.1.46-g247b2535b2 #1
    [    0.000000] Hardware name: Texas Instruments AM62A7 (DT)
    [    0.000000] Call trace:
    [    0.000000]  dump_backtrace.part.0+0xdc/0xf0
    [    0.000000]  show_stack+0x18/0x30
    [    0.000000]  dump_stack_lvl+0x68/0x84
    [    0.000000]  dump_stack+0x18/0x34
    [    0.000000]  bad_page+0xe8/0x110
    [    0.000000]  free_page_is_bad_report+0x7c/0x90
    [    0.000000]  __free_pages_ok+0x404/0x450
    [    0.000000]  __free_pages_core+0xbc/0xd0
    [    0.000000]  memblock_free_pages+0x14/0x20
    [    0.000000]  memblock_free_all+0x1a4/0x258
    [    0.000000]  mem_init+0x30/0x3c
    [    0.000000]  start_kernel+0x42c/0x694
    [    0.000000]  __primary_switched+0xbc/0xc4
    [    0.000000] BUG: Bad page state in process swapper  pfn:8003a
    [    0.000000] page:(____ptrval____) refcount:0 mapcount:1 mapping:0000000000000000 index:0x0 pfn:0x8003a
    [    0.000000] flags: 0x0(zone=0)
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] page dumped because: nonzero mapcount
    [    0.000000] Modules linked in:
    [    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B              6.1.46-g247b2535b2 #1
    [    0.000000] Hardware name: Texas Instruments AM62A7 (DT)
    [    0.000000] Call trace:
    [    0.000000]  dump_backtrace.part.0+0xdc/0xf0
    [    0.000000]  show_stack+0x18/0x30
    [    0.000000]  dump_stack_lvl+0x68/0x84
    [    0.000000]  dump_stack+0x18/0x34
    [    0.000000]  bad_page+0xe8/0x110
    [    0.000000]  free_page_is_bad_report+0x7c/0x90
    [    0.000000]  __free_pages_ok+0x404/0x450
    [    0.000000]  __free_pages_core+0xbc/0xd0
    [    0.000000]  memblock_free_pages+0x14/0x20
    [    0.000000]  memblock_free_all+0x1a4/0x258
    [    0.000000]  mem_init+0x30/0x3c
    [    0.000000]  start_kernel+0x42c/0x694
    [    0.000000]  __primary_switched+0xbc/0xc4
    [    0.000000] BUG: Bad page state in process swapper  pfn:8003b
    [    0.000000] page:(____ptrval____) refcount:0 mapcount:1 mapping:0000000000000000 index:0x0 pfn:0x8003b
    [    0.000000] flags: 0x0(zone=0)
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] page dumped because: nonzero mapcount
    [    0.000000] Modules linked in:
    [    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B              6.1.46-g247b2535b2 #1
    [    0.000000] Hardware name: Texas Instruments AM62A7 (DT)
    [    0.000000] Call trace:
    [    0.000000]  dump_backtrace.part.0+0xdc/0xf0
    [    0.000000]  show_stack+0x18/0x30
    [    0.000000]  dump_stack_lvl+0x68/0x84
    [    0.000000]  dump_stack+0x18/0x34
    [    0.000000]  bad_page+0xe8/0x110
    [    0.000000]  free_page_is_bad_report+0x7c/0x90
    [    0.000000]  __free_pages_ok+0x404/0x450
    [    0.000000]  __free_pages_core+0xbc/0xd0
    [    0.000000]  memblock_free_pages+0x14/0x20
    [    0.000000]  memblock_free_all+0x1a4/0x258
    [    0.000000]  mem_init+0x30/0x3c
    [    0.000000]  start_kernel+0x42c/0x694
    [    0.000000]  __primary_switched+0xbc/0xc4
    [    0.000000] BUG: Bad page state in process swapper  pfn:8003c
    [    0.000000] page:(____ptrval____) refcount:0 mapcount:1 mapping:0000000000000000 index:0x0 pfn:0x8003c
    [    0.000000] flags: 0x0(zone=0)
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] raw: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    [    0.000000] page dumped because: nonzero mapcount
    [    0.000000] Modules linked in:
    [    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B              6.1.46-g247b2535b2 #1
    [    0.000000] Hardware name: Texas Instruments AM62A7 (DT)
    [    0.000000] Call trace:
    [    0.000000]  dump_backtrace.part.0+0xdc/0xf0
    [    0.000000]  show_stack+0x18/0x30
    [    0.000000]  dump_stack_lvl+0x68/0x84
    [    0.000000]  dump_stack+0x18/0x34
    [    0.000000]  bad_page+0xe8/0x110
    [    0.000000]  free_page_is_bad_report+0x7c/0x90
    [    0.000000]  __free_pages_ok+0x404/0x450
    [    0.000000]  __free_pages_core+0xbc/0xd0
    [    0.000000]  memblock_free_pages+0x14/0x20
    [    0.000000]  memblock_free_all+0x1a4/0x258
    [    0.000000]  mem_init+0x30/0x3c
    [    0.000000]  start_kernel+0x42c/0x694
    [    0.000000]  __primary_switched+0xbc/0xc4
    [    0.000000] Memory: 1360960K/4194304K available (12288K kernel code, 1266K rwdata, 4020K rodata, 2112K init, 438K bss, 191676K reserved, 32768K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, 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=1.
    [    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=1
    [    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] Root IRQ handler: gic_handle_irq
    [    0.000000] GICv3: GICv3 features: 16 PPIs
    [    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 @8a8800000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GICv3: using LPI property table @0x00000008a8030000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x00000008a8040000
    [    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
    [    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0x3ffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
    [    0.000001] sched_clock: 58 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.008368] Console: colour dummy device 80x25
    [    0.012952] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.023634] pid_max: default: 32768 minimum: 301
    [    0.028397] LSM: Security Framework initializing
    [    0.033218] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.040798] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.050167] cblist_init_generic: Setting adjustable number of callback queues.
    [    0.057606] cblist_init_generic: Setting shift to 0 and lim to 1.
    [    0.063895] cblist_init_generic: Setting adjustable number of callback queues.
    [    0.071289] cblist_init_generic: Setting shift to 0 and lim to 1.
    [    0.077663] rcu: Hierarchical SRCU implementation.
    [    0.082569] rcu:     Max phase no-delay instances is 1000.
    [    0.088105] Platform MSI: msi-controller@1820000 domain created
    [    0.094220] PCI/MSI: /bus@f0000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.103434] EFI services will not be available.
    [    0.108145] smp: Bringing up secondary CPUs ...
    [    0.112783] smp: Brought up 1 node, 1 CPU
    [    0.116881] SMP: Total of 1 processors activated.
    [    0.121694] CPU features: detected: 32-bit EL0 Support
    [    0.126949] CPU features: detected: CRC32 instructions
    [    0.132248] CPU: All CPU(s) started at EL2
    [    0.136434] alternatives: applying system-wide alternatives
    [    0.143522] devtmpfs: initialized
    [    0.150012] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.160034] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
    [    0.168553] pinctrl core: initialized pinctrl subsystem
    [    0.174439] DMI not present or invalid.
    [    0.178924] NET: Registered PF_NETLINK/PF_ROUTE protocol family
    [    0.190708] cma: cma_alloc: reserved: alloc failed, req-size: 128 pages, ret: -16
    [    0.198483] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
    [    0.210790] cma: cma_alloc: reserved: alloc failed, req-size: 128 pages, ret: -16
    [    0.218586] swapper/0: page allocation failure: order:7, mode:0xcc1(GFP_KERNEL|GFP_DMA), nodemask=(null),cpuset=/,mems_allowed=0
    [    0.230446] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G    B              6.1.46-g247b2535b2 #1
    [    0.239074] Hardware name: Texas Instruments AM62A7 (DT)
    [    0.244499] Call trace:
    [    0.246993]  dump_backtrace.part.0+0xdc/0xf0
    [    0.251367]  show_stack+0x18/0x30
    [    0.254754]  dump_stack_lvl+0x68/0x84
    [    0.258499]  dump_stack+0x18/0x34
    [    0.261885]  warn_alloc+0x114/0x1b0
    [    0.265450]  __alloc_pages+0xc30/0xce4
    [    0.269278]  atomic_pool_expand+0x1bc/0x270
    [    0.273555]  __dma_atomic_pool_init+0x4c/0xa8
    [    0.278007]  dma_atomic_pool_init+0xb0/0x154
    [    0.282369]  do_one_initcall+0x54/0x1d0
    [    0.286286]  kernel_init_freeable+0x218/0x284
    [    0.290740]  kernel_init+0x24/0x130
    [    0.294303]  ret_from_fork+0x10/0x20
    [    0.297962] Mem-Info:
    [    0.300278] active_anon:0 inactive_anon:0 isolated_anon:0
    [    0.300278]  active_file:0 inactive_file:0 isolated_file:0
    [    0.300278]  unevictable:0 dirty:0 writeback:0
    [    0.300278]  slab_reclaimable:24 slab_unreclaimable:233
    [    0.300278]  mapped:0 shmem:0 pagetables:0
    [    0.300278]  sec_pagetables:0 bounce:0
    [    0.300278]  kernel_misc_reclaimable:0
    [    0.300278]  free:338369 free_pcp:0 free_cma:0
    [    0.337612] Node 0 active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:0kB dirty:0kB writeback:0kB shmem:0kB shmem_thp: 0kB shmem_pmdmapped: 0kB anon_thp: 0kB writeback_tmp:0kB kernel_stack:304kB pagetables:0kB sec_pagetables:0kB all_unreclaimable? no
    [    0.367217] DMA free:0kB boost:0kB min:0kB low:0kB high:0kB reserved_highatomic:0KB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:2097152kB managed:2641668kB mlocked:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB
    [    0.392824] lowmem_reserve[]: 0 0 0 0
    [    0.396571] DMA: 0*4kB 0*8kB 0*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 0kB
    [    0.406479] 0 total pagecache pages
    [    0.410038] 0 pages in swap cache
    [    0.413423] Free swap  = 0kB
    [    0.416359] Total swap = 0kB
    [    0.419300] 1048576 pages RAM
    [    0.422325] 0 pages HighMem/MovableOnly
    [    0.426242] 47919 pages reserved
    [    0.429534] 8192 pages cma reserved
    [    0.433096] 0 pages hwpoisoned
    [    0.445818] cma: cma_alloc: reserved: alloc failed, req-size: 64 pages, ret: -16
    [    0.472091] cma: cma_alloc: reserved: alloc failed, req-size: 32 pages, ret: -16
    [    0.516415] cma: cma_alloc: reserved: alloc failed, req-size: 16 pages, ret: -16
    [    0.596769] cma: cma_alloc: reserved: alloc failed, req-size: 8 pages, ret: -16
    [    0.749197] cma: cma_alloc: reserved: alloc failed, req-size: 4 pages, ret: -16
    [    1.045868] cma: cma_alloc: reserved: alloc failed, req-size: 2 pages, ret: -16
    [    1.630764] cma: cma_alloc: reserved: alloc failed, req-size: 1 pages, ret: -16
    [    1.638357] DMA: failed to allocate 488 KiB GFP_KERNEL|GFP_DMA pool for atomic allocation
    [    1.651777] cma: cma_alloc: reserved: alloc failed, req-size: 128 pages, ret: -16
    [    2.808870] DMA: failed to allocate 488 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocation
    [    2.817513] audit: initializing netlink subsys (disabled)
    [    2.823652] thermal_sys: Registered thermal governor 'step_wise'
    [    2.823661] thermal_sys: Registered thermal governor 'power_allocator'
    [    2.829820] audit: type=2000 audit(2.512:1): state=initialized audit_enabled=0 res=1
    [    2.844448] cpuidle: using governor menu
    [    2.848621] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    2.855602] ASID allocator initialised with 65536 entries
    [    2.864469] KASLR disabled due to lack of seed
    [    2.875579] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
    [    2.882586] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
    [    2.889071] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
    [    2.896014] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
    [    2.902424] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
    [    2.909363] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
    [    2.915771] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
    [    2.922710] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
    [    2.930392] iommu: Default domain type: Translated
    [    2.935412] iommu: DMA domain TLB invalidation policy: strict mode
    [    2.942062] SCSI subsystem initialized
    [    2.946174] usbcore: registered new interface driver usbfs
    [    2.951828] usbcore: registered new interface driver hub
    [    2.957278] usbcore: registered new device driver usb
    [    2.962629] pps_core: LinuxPPS API ver. 1 registered
    [    2.967706] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    2.977055] PTP clock support registered
    [    2.981138] EDAC MC: Ver: 3.0.0
    [    2.985002] FPGA manager framework
    [    2.988578] Advanced Linux Sound Architecture Driver Initialized.
    [    2.995653] clocksource: Switched to clocksource arch_sys_counter
    [    3.002131] VFS: Disk quotas dquot_6.6.0
    [    3.006180] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    3.018424] NET: Registered PF_INET protocol family
    [    3.023663] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
    [    3.034069] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
    [    3.042842] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [    3.050773] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    3.059082] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear)
    [    3.067518] TCP: Hash tables configured (established 32768 bind 32768)
    [    3.074373] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
    [    3.081334] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
    [    3.088855] NET: Registered PF_UNIX/PF_LOCAL protocol family
    [    3.095055] RPC: Registered named UNIX socket transport module.
    [    3.101153] RPC: Registered udp transport module.
    [    3.105964] RPC: Registered tcp transport module.
    [    3.110772] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    3.117362] NET: Registered PF_XDP protocol family
    [    3.122273] PCI: CLS 0 bytes, default 64
    [    3.126879] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
    [    3.136325] Initialise system trusted keyrings
    [    3.141078] workingset: timestamp_bits=46 max_order=20 bucket_order=0
    [    3.152053] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    3.158562] NFS: Registering the id_resolver key type
    [    3.163776] Key type id_resolver registered
    [    3.168054] Key type id_legacy registered
    [    3.172206] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    3.179062] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    3.223342] Key type asymmetric registered
    [    3.227577] Asymmetric key parser 'x509' registered
    [    3.232611] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [    3.240303] io scheduler mq-deadline registered
    [    3.244948] io scheduler kyber registered
    [    3.250675] pinctrl-single f4000.pinctrl: 151 pins, size 604
    [    3.257709] ti-udma 485c0100.dma-controller: No compatible SoC found
    [    3.264322] ti-udma 485c0000.dma-controller: No compatible SoC found
    [    3.273663] Serial: 8250/16550 driver, 12 ports, IRQ sharing enabled
    [    3.287029] loop: module loaded
    [    3.290970] megasas: 07.719.03.00-rc1
    [    3.297071] tun: Universal TUN/TAP device driver, 1.6
    [    3.302643] thunder_xcv, ver 1.0
    [    3.305997] thunder_bgx, ver 1.0
    [    3.309338] nicpf, ver 1.0
    [    3.312204] e1000: Intel(R) PRO/1000 Network Driver
    [    3.317192] e1000: Copyright (c) 1999-2006 Intel Corporation.
    [    3.323100] e1000e: Intel(R) PRO/1000 Network Driver
    [    3.328176] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
    [    3.334262] igb: Intel(R) Gigabit Ethernet Network Driver
    [    3.339783] igb: Copyright (c) 2007-2014 Intel Corporation.
    [    3.345509] igbvf: Intel(R) Gigabit Virtual Function Network Driver
    [    3.351918] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
    [    3.358032] sky2: driver version 1.30
    [    3.362128] VFIO - User Level meta-driver version: 0.3
    [    3.367873] usbcore: registered new interface driver usb-storage
    [    3.374388] i2c_dev: i2c /dev entries driver
    [    3.379216] cpu cpu0: OPP-v2 not supported, cpufreq-dt will attempt to use legacy tables.
    [    3.388022] sdhci: Secure Digital Host Controller Interface driver
    [    3.394380] sdhci: Copyright(c) Pierre Ossman
    [    3.398923] sdhci-pltfm: SDHCI platform and OF driver helper
    [    3.404962] ledtrig-cpu: registered to indicate activity on CPUs
    [    3.411203] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    3.417999] usbcore: registered new interface driver usbhid
    [    3.423701] usbhid: USB HID core driver
    [    3.428215] optee: probing for conduit method.
    [    3.432791] optee: revision 4.0 (2a5b1d12)
    [    3.433040] optee: dynamic shared memory is enabled
    [    3.442576] optee: initialized driver
    [    3.447164] Initializing XFRM netlink socket
    [    3.451639] NET: Registered PF_PACKET protocol family
    [    3.456894] Key type dns_resolver registered
    [    3.461629] registered taskstats version 1
    [    3.465844] Loading compiled-in X.509 certificates
    [    3.484039] ti-sci 44043000.system-controller: Failed to allocate LPM context memory
    [    3.492009] ti-sci 44043000.system-controller: ABI: 3.1 (firmware rev 0x0009 '9.1.8--v09.01.08 (Kool Koala)')
    [    3.519929] ti-sci-inta 48000000.interrupt-controller: Interrupt Aggregator domain 28 created
    [    3.529263] printk: console [ttyS2] disabled
    [    3.533727] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 25, base_baud = 3000000) is a 8250
    [    3.542531] printk: console [ttyS2] enabled
    [    3.542531] printk: console [ttyS2] enabled
    [    3.550992] printk: bootconsole [ns16550a0] disabled
    [    3.550992] printk: bootconsole [ns16550a0] disabled
    [    3.561517] cpu cpu0: OPP table can't be empty
    [    3.570901] ALSA device list:
    [    3.573887]   No soundcards found.
    [    3.577569] Waiting for root device PARTUUID=260440ee-02...
    
    


    Do you have any leads on how to debug this?

  • Hi Gustav,

    The problem is likely to be DDR related.

    Does your board use the same DDR device as SK-AM62A? If not, did you update the U-Boot to have your DDR config updated?

  • Hello, 

    We are not using the same DDR device as the EVM.
    But we have a previous project with the same DDR device with a copied layout. Where it is working. 

    We have changed the DDR included in the u-boot device tree to use our previous projects DDR config file. 

    We think that config should work, since it is working for that project.

    Do you have any tools to test the DDR memory? 

  • At first, what is the DDR size on your board? Does U-Boot console log report the correct DDR size?

  • I deleted a previous reply, I was looking at the flash part instead of the DDR... 

    It should be 1 GiB, we are using part K4F8E3S4HD-GUCL.

    When i start the card the u-boot console log says:

    SoC: AM62AX SR1.0 HS-FS
    Model: Texas Instruments AM62A7 SK
    DRAM: 2 GiB (effective 4 GiB)

    If I change the memory in the k3-am62a7-r5.dts/k3-am62a7.dts files from:

    memory@80000000 {
    device_type = "memory";
    /* 4G RAM */
    reg = <0x00000000 0x80000000 0x00000000 0x80000000>,
    <0x00000008 0x80000000 0x00000000 0x80000000>;
    bootph-pre-ram;
    };


    If I change it to:

    memory@80000000 {
    device_type = "memory";
    /* 4G RAM */
    reg = <0x00000000 0x80000000 0x00000000 0x40000000>;
    bootph-pre-ram;
    };

    I get:


    SoC: AM62AX SR1.0 HS-FS
    Model: Texas Instruments AM62A7 SK
    DRAM: 1 GiB

    So that looks better right? 

    But after letting u-boot run boot, I still get stuck:

    U-Boot SPL 2023.04 (Apr 10 2024 - 15:35:58 +0200)
    SYSFW ABI: 3.1 (firmware rev 0x0009 '9.1.8--v09.01.08 (Kool Koala)')
    am62a_init: board_init_f done
    am62a_init: spl_boot_device: devstat = 0xe43 bootmedia = 0x8 bootindex = 0
    Trying to boot from MMC2
    am62a_init: spl_boot_device: devstat = 0xe43 bootmedia = 0x8 bootindex = 0
    Authentication passed
    am62a_init: spl_boot_device: devstat = 0xe43 bootmedia = 0x8 bootindex = 0
    Authentication passed
    
    
    U-Boot 2023.04 (Apr 10 2024 - 15:35:58 +0200)
    
    SoC:   AM62AX SR1.0 HS-FS
    Model: Texas Instruments AM62A7 SK
    DRAM:  1 GiB
    Core:  58 devices, 28 uclasses, devicetree: separate
    MMC:   mmc@fa10000: 0, mmc@fa00000: 1
    Loading Environment from nowhere... OK
    In:    serial@2800000
    Out:   serial@2800000
    Err:   serial@2800000
    Net:   Could not get PHY for ethernet@8000000port@1: addr 0
    am65_cpsw_nuss_port ethernet@8000000port@1: phy_connect() failed
    No ethernet found.
    
    Hit any key to stop autoboot:  0
    switch to partitions #0, OK
    mmc1 is current device
    SD/MMC found on device 1
    Failed to load 'boot.scr'
    ERROR: reserving fdt memory region failed (addr=ae000000 size=12000000 flags=4)
    639 bytes read in 28 ms (21.5 KiB/s)
    Loaded env from uEnv.txt
    Importing environment from mmc1 ...
    ## Error: "main_cpsw0_qsgmii_phyinit" not defined
    ERROR: reserving fdt memory region failed (addr=ae000000 size=12000000 flags=4)
    20302336 bytes read in 869 ms (22.3 MiB/s)
    ERROR: reserving fdt memory region failed (addr=ae000000 size=12000000 flags=4)
    9421 bytes read in 30 ms (306.6 KiB/s)
    Working FDT set to 88000000
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
    Working FDT set to 88000000
       Loading Device Tree to 000000008fefa000, end 000000008fffffff ... OK
    Working FDT set to 8fefa000
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
    [    0.000000] Linux version 6.1.46-g247b2535b2 (oe-user@oe-host) (aarch64-oe-linux-gcc (GCC) 11.4.0, GNU ld (GNU Binutils) 2.38.20220708) #1 SMP PREEMPT Wed Dec  6 17:54:04 UTC 2023
    [    0.000000] Machine model: Texas Instruments AM62A7 HIT
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
    [    0.000000] printk: bootconsole [ns16550a0] enabled
    [    0.000000] efi: UEFI not found.
    [    0.000000] Zone ranges:
    [    0.000000]   DMA      [mem 0x0000000080000000-0x00000000bfffffff]
    [    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-0x000000009e77ffff]
    [    0.000000]   node   0: [mem 0x000000009e780000-0x000000009fffffff]
    [    0.000000]   node   0: [mem 0x00000000a0000000-0x00000000bfffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000bfffffff]
    [    0.000000] cma: Reserved 32 MiB at 0x00000000bcc00000
    [    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.4
    [    0.000000] percpu: Embedded 19 pages/cpu s37992 r8192 d31640 u77824
    [    0.000000] Detected VIPT I-cache on CPU0
    [    0.000000] CPU features: detected: GIC system register CPU interface
    [    0.000000] CPU features: detected: ARM erratum 845719
    [    0.000000] alternatives: applying boot alternatives
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 258048
    [    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 mtdparts=spi-nand0:512k(ospi_nand.tiboot3),2m(ospi_nand.tispl),4m(ospi_nand.u-boot),256k(ospi_nand.env),256k(ospi_nand.env.backup),98048k@32m(ospi_nand.rootfs),256k@130816k(ospi_nand.phypattern) root=PARTUUID=260440ee-02 rw rootfstype=ext4 rootwait
    [    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
    [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [    0.000000] Memory: 950360K/1048576K available (12288K kernel code, 1266K rwdata, 4020K rodata, 2112K init, 438K bss, 65448K reserved, 32768K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, 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=1.
    [    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=1
    [    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] Root IRQ handler: gic_handle_irq
    [    0.000000] GICv3: GICv3 features: 16 PPIs
    [    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] rcu: srcu_init: Setting srcu_struct sizes based on contention.
    [    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0x3ffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
    [    0.000000] sched_clock: 58 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.008367] Console: colour dummy device 80x25
    [    0.012949] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.023630] pid_max: default: 32768 minimum: 301
    [    0.028390] LSM: Security Framework initializing
    [    0.033211] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
    [    0.040783] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
    [    0.050129] cblist_init_generic: Setting adjustable number of callback queues.
    [    0.057567] cblist_init_generic: Setting shift to 0 and lim to 1.
    [    0.063855] cblist_init_generic: Setting adjustable number of callback queues.
    [    0.071249] cblist_init_generic: Setting shift to 0 and lim to 1.
    [    0.077625] rcu: Hierarchical SRCU implementation.
    [    0.082531] rcu:     Max phase no-delay instances is 1000.
    [    0.088067] Platform MSI: msi-controller@1820000 domain created
    [    0.094181] PCI/MSI: /bus@f0000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.103398] EFI services will not be available.
    [    0.108109] smp: Bringing up secondary CPUs ...
    [    0.112747] smp: Brought up 1 node, 1 CPU
    [    0.116846] SMP: Total of 1 processors activated.
    [    0.121658] CPU features: detected: 32-bit EL0 Support
    [    0.126913] CPU features: detected: CRC32 instructions
    [    0.132212] CPU: All CPU(s) started at EL2
    [    0.136398] alternatives: applying system-wide alternatives
    [    0.143227] devtmpfs: initialized
    [    0.148809] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.158827] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
    [    0.166697] pinctrl core: initialized pinctrl subsystem
    [    0.172581] DMI not present or invalid.
    [    0.177055] NET: Registered PF_NETLINK/PF_ROUTE protocol family
    [    0.183990] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
    [    0.191302] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.199304] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.207466] audit: initializing netlink subsys (disabled)
    [    0.213493] thermal_sys: Registered thermal governor 'step_wise'
    [    0.213499] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.219658] audit: type=2000 audit(0.132:1): state=initialized audit_enabled=0 res=1
    [    0.234284] cpuidle: using governor menu
    [    0.238443] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.245419] ASID allocator initialised with 65536 entries
    [    0.254288] KASLR disabled due to lack of seed
    [    0.265366] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.272367] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
    [    0.278851] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.285794] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
    [    0.292203] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.299142] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
    [    0.305550] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.312489] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
    [    0.320175] iommu: Default domain type: Translated
    [    0.325197] iommu: DMA domain TLB invalidation policy: strict mode
    [    0.331832] SCSI subsystem initialized
    [    0.335928] usbcore: registered new interface driver usbfs
    [    0.341579] usbcore: registered new interface driver hub
    [    0.347030] usbcore: registered new device driver usb
    [    0.352381] pps_core: LinuxPPS API ver. 1 registered
    [    0.357459] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.366807] PTP clock support registered
    [    0.370890] EDAC MC: Ver: 3.0.0
    [    0.374766] FPGA manager framework
    [    0.378346] Advanced Linux Sound Architecture Driver Initialized.
    [    0.385399] clocksource: Switched to clocksource arch_sys_counter
    [    0.391875] VFS: Disk quotas dquot_6.6.0
    [    0.395927] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    0.408103] NET: Registered PF_INET protocol family
    [    0.413379] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
    [    0.422063] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear)
    [    0.430667] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [    0.438598] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.446573] TCP bind hash table entries: 8192 (order: 6, 262144 bytes, linear)
    [    0.454164] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.460768] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
    [    0.467565] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
    [    0.474914] NET: Registered PF_UNIX/PF_LOCAL protocol family
    [    0.481070] RPC: Registered named UNIX socket transport module.
    [    0.487160] RPC: Registered udp transport module.
    [    0.491970] RPC: Registered tcp transport module.
    [    0.496779] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.503368] NET: Registered PF_XDP protocol family
    [    0.508275] PCI: CLS 0 bytes, default 64
    [    0.512867] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
    [    0.522276] Initialise system trusted keyrings
    [    0.527035] workingset: timestamp_bits=46 max_order=18 bucket_order=0
    [    0.537978] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.544480] NFS: Registering the id_resolver key type
    [    0.549697] Key type id_resolver registered
    [    0.553975] Key type id_legacy registered
    [    0.558126] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.564981] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    0.609309] Key type asymmetric registered
    [    0.613502] Asymmetric key parser 'x509' registered
    [    0.618531] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [    0.626232] io scheduler mq-deadline registered
    [    0.630888] io scheduler kyber registered
    [    0.636608] pinctrl-single f4000.pinctrl: 151 pins, size 604
    [    0.643639] ti-udma 485c0100.dma-controller: No compatible SoC found
    [    0.650250] ti-udma 485c0000.dma-controller: No compatible SoC found
    [    0.659605] Serial: 8250/16550 driver, 12 ports, IRQ sharing enabled
    [    0.672891] loop: module loaded
    [    0.676822] megasas: 07.719.03.00-rc1
    [    0.682954] tun: Universal TUN/TAP device driver, 1.6
    [    0.688529] thunder_xcv, ver 1.0
    [    0.691886] thunder_bgx, ver 1.0
    [    0.695225] nicpf, ver 1.0
    [    0.698076] e1000: Intel(R) PRO/1000 Network Driver
    [    0.703065] e1000: Copyright (c) 1999-2006 Intel Corporation.
    [    0.708975] e1000e: Intel(R) PRO/1000 Network Driver
    [    0.714051] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
    [    0.720136] igb: Intel(R) Gigabit Ethernet Network Driver
    [    0.725657] igb: Copyright (c) 2007-2014 Intel Corporation.
    [    0.731377] igbvf: Intel(R) Gigabit Virtual Function Network Driver
    [    0.737790] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
    [    0.743905] sky2: driver version 1.30
    [    0.748002] VFIO - User Level meta-driver version: 0.3
    [    0.753740] usbcore: registered new interface driver usb-storage
    [    0.760255] i2c_dev: i2c /dev entries driver
    [    0.765079] cpu cpu0: OPP-v2 not supported, cpufreq-dt will attempt to use legacy tables.
    [    0.773870] sdhci: Secure Digital Host Controller Interface driver
    [    0.780231] sdhci: Copyright(c) Pierre Ossman
    [    0.784782] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.790828] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.797069] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    0.803864] usbcore: registered new interface driver usbhid
    [    0.809565] usbhid: USB HID core driver
    [    0.814083] optee: probing for conduit method.
    [    0.818694] optee: revision 4.0 (2a5b1d12)
    [    0.818928] optee: dynamic shared memory is enabled
    [    0.828470] optee: initialized driver
    [    0.833056] Initializing XFRM netlink socket
    [    0.837504] NET: Registered PF_PACKET protocol family
    [    0.842744] Key type dns_resolver registered
    [    0.847464] registered taskstats version 1
    [    0.851676] Loading compiled-in X.509 certificates
    [    0.863064] ti-sci 44043000.system-controller: ABI: 3.1 (firmware rev 0x0009 '9.1.8--v09.01.08 (Kool Koala)')
    [    0.891045] ti-sci-inta 48000000.interrupt-controller: Interrupt Aggregator domain 28 created
    [    0.900373] printk: console [ttyS2] disabled
    [    0.904840] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 25, base_baud = 3000000) is a 8250
    [    0.913642] printk: console [ttyS2] enabled
    [    0.913642] printk: console [ttyS2] enabled
    [    0.922101] printk: bootconsole [ns16550a0] disabled
    [    0.922101] printk: bootconsole [ns16550a0] disabled
    [    0.932603] cpu cpu0: OPP table can't be empty
    [    0.942012] ALSA device list:
    [    0.944983]   No soundcards found.
    [    0.948665] Waiting for root device PARTUUID=260440ee-02...
    
    

    Could it still be a DDR problem? 

  • Hi,

    Your DDR looks fine, you are booting into Linux.

    Your current problem is that the kernel is trying to find the root filesystem that you requested, but can't find it.

    It's looking for a partition with PARTUUID=260440ee-02, but that's not available. Have you already written the filesystem you want to boot from?

    Regards,

    Bas Vermeulen

  • Ok, good! 

    I created an SD card by following the instructions on the SDK and using the script bin/create-sdcard.sh as the SDK documentation described. 

    So i have a root and boot partition on my SD-card. 

  • Your linux kernel doesn't recognize your SD card, which is probably why it's not booting.

    Try enabling the sdhci interfaces in your device tree, that might solve it for you.

  • Hi Gustav,

    This kernel hello-world dts file is minimal and meant for kernel bring up, so it doesn't enable most of peripherals, including the MMC interface for the SD card. That is why your latest boot log shows kernel cannot find the rootfs on the SD card.

    Please try to apply the following kernel patch to enable MMC1 interface for the SD card to see if you can boot into Linux prompt. (I didn't test this patch though.)

    diff --git a/arch/arm64/boot/dts/ti/k3-am62a7-hello-world.dts b/arch/arm64/boot/dts/ti/k3-am62a7-hello-world.dts
    index 7ad40e19bb8f..58eab422ac6d 100644
    --- a/arch/arm64/boot/dts/ti/k3-am62a7-hello-world.dts
    +++ b/arch/arm64/boot/dts/ti/k3-am62a7-hello-world.dts
    @@ -119,7 +119,6 @@ &dmsc {
     /delete-node/ &main_spi2;
     
     /delete-node/ &sdhci0;
    -/delete-node/ &sdhci1;
     /delete-node/ &main_gpio0;
     /delete-node/ &main_gpio1;

  • Hello, 

    Unfortunately this patch did not solve the "[ 0.947987] Waiting for root device PARTUUID=260440ee-02..." problem. 

    But I built a .dtb Linux file from our sister project repository that I added to the SD-card and that seems to work. I have managed to get to the Linux login prompt (and login). We have similar enough hardware that it works.

    I can probably continue working from that instead of creating a new config from the hello world dtb file. 

    But if you have any more suggestions on what could be wrong I would be glad to try it to learn more about configuring device trees.

  • Hi Gustav,

    Now I got a chance to test this on my SK-AM62A and figured out the proper change. Please use the following kernel dts patch instead to enable SD card.

    diff --git a/arch/arm64/boot/dts/ti/k3-am62a7-hello-world.dts b/arch/arm64/boot/dts/ti/k3-am62a7-hello-world.dts
    index 7ad40e19bb8f..2883144466de 100644
    --- a/arch/arm64/boot/dts/ti/k3-am62a7-hello-world.dts
    +++ b/arch/arm64/boot/dts/ti/k3-am62a7-hello-world.dts
    @@ -63,6 +63,18 @@ AM62AX_IOPAD(0x1c8, PIN_INPUT, 0) /* (D14) UART0_RXD */
                            AM62AX_IOPAD(0x1cc, PIN_OUTPUT, 0) /* (E14) UART0_TXD */
                    >;
            };
    +
    +       main_mmc1_pins_default: main-mmc1-pins-default {
    +               pinctrl-single,pins = <
    +                       AM62AX_IOPAD(0x23c, PIN_INPUT, 0) /* (A21) MMC1_CMD */
    +                       AM62AX_IOPAD(0x234, PIN_INPUT, 0) /* (B22) MMC1_CLK */
    +                       AM62AX_IOPAD(0x230, PIN_INPUT, 0) /* (A22) MMC1_DAT0 */
    +                       AM62AX_IOPAD(0x22c, PIN_INPUT, 0) /* (B21) MMC1_DAT1 */
    +                       AM62AX_IOPAD(0x228, PIN_INPUT, 0) /* (C21) MMC1_DAT2 */
    +                       AM62AX_IOPAD(0x224, PIN_INPUT, 0) /* (D22) MMC1_DAT3 */
    +                       AM62AX_IOPAD(0x240, PIN_INPUT, 0) /* (D17) MMC1_SDCD */
    +               >;
    +       };
     };
     
     / {
    @@ -119,7 +131,17 @@ &dmsc {
     /delete-node/ &main_spi2;
     
     /delete-node/ &sdhci0;
    -/delete-node/ &sdhci1;
    +
    +&sdhci1 {
    +       /* SD/MMC */
    +       status = "okay";
    +       pinctrl-names = "default";
    +       pinctrl-0 = <&main_mmc1_pins_default>;
    +       ti,driver-strength-ohm = <50>;
    +       disable-wp;
    +       no-1-8-v;
    +};
    +
     /delete-node/ &main_gpio0;
     /delete-node/ &main_gpio1;

  • Hello, 

    This works in combination with the first patch you posted! Smile

    Thank you for both Bin and Bas for the help!