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.

Linux/AM5728: CMA Page Alignment for IPU

Part Number: AM5728
Other Parts Discussed in Thread: DRA752

Tool/software: Linux

Hello, I've been working with an AM5728-based design, and one of our primary changes over the AM57x EVM is that we're using only 256MB of RAM (address range 0x80000000 to 0x90000000), instead of 2GB.  As such, we've disabled ARM LPAE in our PSDK4 kernel config.  I've gotten the board to boot to the Linux terminal with a minimal image (the arago filesys in PSDK4), and I'm working on bringing up the rest of the on chip peripherals that we plan to use, starting with the IPU (for the IVA-HD decoder).  Since our planned application is multi-media intensive, I intend to use the same amount of memory space that the EVM does (if this is too much already, I'd appreciate the heads up).  However I'm running into the error

incorrect alignment of CMA region

I've noticed from https://stackoverflow.com/questions/4888067/how-to-get-linux-kernel-page-size-programmatically that the page size can be found by dividing "/proc/meminfo: Mapped" by "/proc/vmstat: nr_mapped" which in my case results in

root@am57xx-evm:~# cat /proc/meminfo | grep Mapped
Mapped: 9520 kB
root@am57xx-evm:~# cat /proc/vmstat | grep nr_mapped
nr_mapped 2371

9520kB / 2371 = 4kB

which matches what ARM specifies for a valid non-LPAE page size for ARMv7: 

My .config file also specifies that the CONFIG_CMA_ALIGNMENT value = 8, which means 256 page alignment, ie 4kB * 256 = 1MB memory alignment.

My strategy for bringing up the IPU was to place the start of the CMA buffers at a space divisible by 1MB, then use the same buffer lengths as the EVM.  My positioning strategy is similar to the EVM, where I put it near the top of my RAM, below where U-Boot places the device tree (in my case, this means my CMA buffer must end below 0x8def4000).

My CMA buffers are: 

		ipu2_cma_pool: ipu2_cma@8a600000 {
			compatible = "shared-dma-pool";
			reg = <0x0 0x8a600000 0x0 0x3800000>;
			reusable;
			status = "okay";
		};

		ipu1_cma_pool: ipu1_cma@88600000 {
			compatible = "shared-dma-pool";
			reg = <0x0 0x88600000 0x0 0x2000000>;
			reusable;
			status = "okay";
		};

compared to the EVM's

		ipu2_cma_pool: ipu2_cma@95800000 {
			compatible = "shared-dma-pool";
			reg = <0x0 0x95800000 0x0 0x3800000>;
			reusable;
			status = "okay";
		};

		dsp1_cma_pool: dsp1_cma@99000000 {
			compatible = "shared-dma-pool";
			reg = <0x0 0x99000000 0x0 0x4000000>;
			reusable;
			status = "okay";
		};

		ipu1_cma_pool: ipu1_cma@9d000000 {
			compatible = "shared-dma-pool";
			reg = <0x0 0x9d000000 0x0 0x2000000>;
			reusable;
			status = "okay";
		};

		dsp2_cma_pool: dsp2_cma@9f000000 {
			compatible = "shared-dma-pool";
			reg = <0x0 0x9f000000 0x0 0x800000>;
			reusable;
			status = "okay";
		};
	};

However, when I try booting, I get the error that I mentioned above.  Pertinent log section is below: 

## Current stack ends at 0x8df11a00 * kernel: cmdline image address = 0x82000000
## Skipping init Ramdisk
## No init Ramdisk
ramdisk start = 0x00000000, ramdisk end = 0x00000000
* fdt: cmdline image address = 0x88000000
## Checking for 'FDT'/'FDT Image' at 88000000
Wrong FIT format: no description
* fdt: raw FDT blob
## Flattened Device Tree blob at 88000000
Booting using the fdt blob at 0x88000000
of_flat_tree at 0x88000000 size 0x00018dbe
Initial value for argc=3
Final value for argc=3
## FIT configuration was not specified
using: FDT
## initrd_high = 0x90000000, copy_to_ram = 1
ramdisk load start = 0x00000000, ramdisk load end = 0x00000000
## device tree at 88000000 ... 88018dbd (len=114110 [0x1BDBE])
Loading Device Tree to 8def4000, end 8df0fdbd ... OK
Initial value for argc=3
Final value for argc=3
Updating property '/ocp/ethernet@48484000/slave@48480200/mac-address' = d4 36 39 fc 4b 3e
Updating property '/ocp/ethernet@48484000/slave@48480200/local-mac-address' = d4 36 39 fc 4b 3e
Updating property '/ocp/ethernet@48484000/slave@48480300/mac-address' = d4 36 39 fc 4b 3f
Updating property '/ocp/ethernet@48484000/slave@48480300/local-mac-address' = d4 36 39 fc 4b 3f
## Transferring control to Linux (at address 82000000)...

Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.9.28-geed43d1050 (tom@tom-ThinkPad-P50s) (gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11) ) #5 SMP PREEMPT Mon Oct 16 18:08:23 EDT 2017
[ 0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=10c5387d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[ 0.000000] OF: fdt:Machine model: tom's customboard
[ 0.000000] bootconsole [earlycon0] enabled
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] Reserved memory: incorrect alignment of CMA region
[ 0.000000] Reserved memory: incorrect alignment of CMA region
[ 0.000000] cma: Reserved 24 MiB at 0x8e400000
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] OMAP4: Map 0x8fe00000 to fe600000 for dram barrier
[ 0.000000] DRA752 ES2.0
[ 0.000000] percpu: Embedded 13 pages/cpu @cfd80000 s22092 r8192 d22964 u53248
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 60352
[ 0.000000] Kernel command line: console=ttyO2,115200n8 debug earlyprintk=ttyO2,115200n8,keep loglevel=7 log_buf_len=16000 initcall_debug time root=PARTUUID=79bceccd-02 rw rootfstype=ext4 rootwait
[ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Memory: 114168K/243712K available (7168K kernel code, 312K rwdata, 2412K rodata, 1024K init, 292K bss, 104968K reserved, 24576K cma-reserved, 0K highmem)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xd0800000 - 0xff800000 ( 752 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0800000 (8160 kB)
[ 0.000000] .init : 0xc0b00000 - 0xc0c00000 (1024 kB)
[ 0.000000] .data : 0xc0c00000 - 0xc0c4e360 ( 313 kB)
[ 0.000000] .bss : 0xc0c50000 - 0xc0c992b0 ( 293 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] Build-time adjustment of leaf fanout to 32.
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] OMAP clockevent source: timer1 at 32786 Hz
[ 0.000000] arm_arch_timer: Architected cp15 timer(s) running at 6.14MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x16af5adb9, max_idle_ns: 440795202250 ns
[ 0.000006] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511023ns
[ 0.008308] Switching to timer-based delay loop, resolution 162ns
[ 0.014950] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
[ 0.025212] OMAP clocksource: 32k_counter at 32768 Hz
[ 0.030992] Console: colour dummy device 80x30
[ 0.035662] WARNING: Your 'console=ttyO2' has been replaced by 'ttyS2'
[ 0.042457] This ensures that you still see kernel messages. Please
[ 0.048974] update your kernel commandline.
[ 0.053373] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
[ 0.064012] pid_max: default: 32768 minimum: 301
[ 0.068957] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.075844] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.084026] CPU: Testing write buffer coherency: ok

  • Hi Tom,

    Your page size calculation and CMA configuration in device tree file seems correct. But the:
    incorrect alignment of CMA region
    error message file is printed by ../linux/latest/source/drivers/base/dma-contiguous.c file.
    As a first step of debugging I suggest you to print the values of rmem->base, rmem->size and mask just before:


    if ((rmem->base & mask) || (rmem->size & mask)) {
    pr_err("Reserved memory: incorrect alignment of CMA region\n");
    return -EINVAL;
    }


    to which value rmem->base or rmem->size causing the error.
    There is one more approach to fix the issue with a patch but it is not tested by TI. Here is a link to this patch:
    patchwork.kernel.org/.../

    BR
    Tsvetolin Shulev

  • Ah yes, I missed that.  I moved my CMA buffers to start at 0x88400000 and 0x8a400000, respectively.  Now when I boot up I get the following: 

    [ 0.000000] Reserved memory: created CMA memory pool at 0x88400000, size 32 MiB

    [ 0.000000] OF: reserved mem: initialized node ipu1_cma@88400000, compatible id shared-dma-pool

    [ 0.000000] Reserved memory: created CMA memory pool at 0x8a400000, size 56 MiB

    [ 0.000000] OF: reserved mem: initialized node ipu2_cma@8a400000, compatible id shared-dma-pool

    [ 0.000000] cma: Reserved 24 MiB at 0x8e400000

    However, I've noticed that my secondary CPU no longer starts.  I've been looking into why this may be, but I'm unsure if it has to do with CMA?  Unless I'm allocating my CMA buffer into a space that the CPU uses to write some information before it starts.  But what I've noticed is that the CPU starts, then fails to come online by way of timeout.  I'm receiving the message that "CPU1: failed to come online"

    in arch/arm/kernel/smp.c:

    	/*
    	 * Now bring the CPU into our world.
    	 */
    	ret = smp_ops.smp_boot_secondary(cpu, idle);
    	if (ret == 0) {
    		/*
    		 * CPU was successfully started, wait for it
    		 * to come online or time out.
    		 */
    		wait_for_completion_timeout(&cpu_running,
    						 msecs_to_jiffies(1000));
    
    		if (!cpu_online(cpu)) {
    			pr_crit("CPU%u: failed to come online\n", cpu);
    			ret = -EIO;
    		}
    	} else {
    		pr_err("CPU%u: failed to boot: %d\n", cpu, ret);
    	}

    The kernel then OOPSes and dies.

    The OOPS/Panic log shows that this crash has to do with DMA, which makes sense as it's the only thing that I changed.  Due to some experimentation I've noticed that the boot commences further when the buffers are smaller.  This leads me to believe that I accidentally placed my CMA buffer in some necessary space for CPU1 to boot.  Being rather new to DMA/CMA/booting kernel on ARM, is there some kind of way I can determine these necessary memory spaces?

    Other question.  If I'm to use the same amount of memory space as the EVM does in PSDK4, this consumes a considerable chunk of my available memory.  Is this size necessary?  

    As an aside, I made my CMA buffers very tiny (4MB each) and found that my board would boot.  I've attached the log for that as well, including the contents of /proc regarding the CPU and memory.

    g3_linux_cma_allocated.log
    =~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2017.10.17 14:32:22 =~=~=~=~=~=~=~=~=~=~=~=
    f setenv optargs debug earlyprintk=${console},keep loglevel=7 log_buf_len=16000 initcall_debug time
    => boot
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    reading boot.scr
    ** Unable to read file boot.scr **
    reading uEnv.txt
    98 bytes read in 45 ms (2 KiB/s)
    Loaded env from uEnv.txt
    Importing environment from mmc0 ...
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    3718928 bytes read in 177 ms (20 MiB/s)
    101822 bytes read in 12 ms (8.1 MiB/s)
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 8df01000, end 8df1cdbd ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    
    [    0.000000] Linux version 4.9.28-geed43d1050 (tom@tom-ThinkPad-P50s) (gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11) ) #13 SMP PREEMPT Tue Oct 17 13:36:02 EDT 2017
    
    [    0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=10c5387d
    
    [    0.000000] CPU: div instructions available: patching division code
    
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    
    [    0.000000] OF: fdt:Machine model: tom's customboard
    
    [    0.000000] bootconsole [earlycon0] enabled
    
    [    0.000000] efi: Getting EFI parameters from FDT:
    
    [    0.000000] efi: UEFI not found.
    
    [    0.000000] Reserved memory: created CMA memory pool at 0x88400000, size 32 MiB
    
    [    0.000000] OF: reserved mem: initialized node ipu1_cma@88400000, compatible id shared-dma-pool
    
    [    0.000000] Reserved memory: created CMA memory pool at 0x8a400000, size 56 MiB
    
    [    0.000000] OF: reserved mem: initialized node ipu2_cma@8a400000, compatible id shared-dma-pool
    
    [    0.000000] cma: Reserved 24 MiB at 0x8e400000
    
    [    0.000000] Memory policy: Data cache writealloc
    
    [    0.000000] OMAP4: Map 0x8fe00000 to fe600000 for dram barrier
    
    [    0.000000] DRA752 ES2.0
    
    [    0.000000] percpu: Embedded 13 pages/cpu @cfd54000 s22092 r8192 d22964 u53248
    
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 60352
    
    [    0.000000] Kernel command line: console=ttyO2,115200n8 debug earlyprintk=ttyO2,115200n8,keep loglevel=7 log_buf_len=16000 initcall_debug time root=PARTUUID=79bceccd-02 rw rootfstype=ext4 rootwait
    
    [    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
    
    [    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
    
    [    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
    
    [    0.000000] Memory: 113992K/243712K available (7168K kernel code, 312K rwdata, 2412K rodata, 1024K init, 292K bss, 15032K reserved, 114688K cma-reserved, 0K highmem)
    
    [    0.000000] Virtual kernel memory layout:
    
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    
    [    0.000000]     vmalloc : 0xd0800000 - 0xff800000   ( 752 MB)
    
    [    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
    
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    
    [    0.000000]       .text : 0xc0008000 - 0xc0800000   (8160 kB)
    
    [    0.000000]       .init : 0xc0b00000 - 0xc0c00000   (1024 kB)
    
    [    0.000000]       .data : 0xc0c00000 - 0xc0c4e360   ( 313 kB)
    
    [    0.000000]        .bss : 0xc0c50000 - 0xc0c992b0   ( 293 kB)
    
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    
    [    0.000000] Preemptible hierarchical RCU implementation.
    
    [    0.000000] Build-time adjustment of leaf fanout to 32.
    
    [    0.000000] NR_IRQS:16 nr_irqs:16 16
    
    [    0.000000] OMAP clockevent source: timer1 at 32786 Hz
    
    [    0.000000] arm_arch_timer: Architected cp15 timer(s) running at 6.14MHz (phys).
    
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x16af5adb9, max_idle_ns: 440795202250 ns
    
    [    0.000005] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511023ns
    
    [    0.008309] Switching to timer-based delay loop, resolution 162ns
    
    [    0.014947] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
    
    [    0.025208] OMAP clocksource: 32k_counter at 32768 Hz
    
    [    0.030989] Console: colour dummy device 80x30
    
    [    0.035656] WARNING: Your 'console=ttyO2' has been replaced by 'ttyS2'
    
    [    0.042452] This ensures that you still see kernel messages. Please
    
    [    0.048969] update your kernel commandline.
    
    [    0.053368] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
    
    [    0.064007] pid_max: default: 32768 minimum: 301
    
    [    0.068949] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    
    [    0.075836] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    
    [    0.084010] CPU: Testing write buffer coherency: ok
    
    [    0.089492] /cpus/cpu@0 missing clock-frequency property
    
    [    0.095039] /cpus/cpu@1 missing clock-frequency property
    
    [    0.100608] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    
    [    0.106592] Setting up static identity map for 0x80100000 - 0x80100060
    
    [    0.193749] EFI services will not be available.
    
    [    1.314226] CPU1: failed to come online
    
    [    1.318308] Brought up 1 CPUs
    
    [    1.321442] SMP: Total of 1 processors activated (12.29 BogoMIPS).
    
    [    1.327883] CPU: All CPU(s) started in HYP mode.
    
    [    1.332707] CPU: Virtualization extensions available.
    
    [    1.339067] devtmpfs: initialized
    
    [    1.348825] Unable to handle kernel paging request at virtual address c021aef4
    
    [    1.356326] pgd = c0004000
    
    [    1.359189] [c021aef4] *pgd=5f6b6c63(bad)
    
    [    1.363404] Internal error: Oops: 8000000d [#1] PREEMPT SMP ARM
    
    [    1.369566] Modules linked in:
    
    [    1.372793] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.9.28-geed43d1050 #13
    
    [    1.380112] Hardware name: Generic DRA74X (Flattened Device Tree)
    
    [    1.386452] task: c8078000 task.stack: c8080000
    
    [    1.391201] PC is at new_slab+0x0/0x37c
    
    [    1.395224] LR is at ___slab_alloc.constprop.3+0x29c/0x2fc
    
    [    1.400942] pc : [<c021aef4>]    lr : [<c021cb40>]    psr: 60000093
    
    [    1.400942] sp : c8081d88  ip : c8081d88  fp : c8081e04
    
    [    1.412898] r10: 00000000  r9 : 00000000  r8 : 80330033
    
    [    1.418346] r7 : c8046540  r6 : cfd5bac0  r5 : c8080000  r4 : 00000000
    
    [    1.425131] r3 : 00000000  r2 : ffffffff  r1 : 024080c0  r0 : c8046540
    
    [    1.431918] Flags: nZCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment none
    
    [    1.439412] Control: 10c5387d  Table: 8000406a  DAC: 00000051
    
    [    1.445397] Process swapper/0 (pid: 1, stack limit = 0xc8080210)
    
    [    1.451647] Stack: (0xc8081d88 to 0xc8082000)
    
    [    1.456208] 1d80:                   00000002 024080c0 c8081df4 c8081da0 c03cd97c 00330033
    
    [    1.464685] 1da0: c8045708 c021d0a4 c8081dfc c8045718 c0c84470 c8061d50 00000000 024000c0
    
    [    1.473166] 1dc0: 00330033 024000c0 c8081dfc c8081dd8 c021ddac c01fa2a0 00000005 c8046540
    
    [    1.481648] 1de0: 024080c0 c8080000 60000013 00000990 00008124 00000000 c8081e2c c8081e08
    
    [    1.490129] 1e00: c021d078 c021c8b0 c80fed70 c8100080 c0c82294 c8045700 00000002 00008124
    
    [    1.498611] 1e20: c8081e54 c8081e30 c0292c18 c021cf18 c80fed70 00000024 c80fed70 c09b89ac
    
    [    1.507092] 1e40: 0000000d 00000000 c8081e6c c8081e58 c0293d2c c0292bd8 00000000 00000024
    
    [    1.515573] 1e60: c8081e84 c8081e70 c02956c4 c0293d14 00000000 cfd83598 c8081ebc c8081e88
    
    [    1.524053] 1e80: c0295fa0 c02956b0 0000000d 00000000 00000024 cfd83598 00000000 00000000
    
    [    1.532534] 1ea0: cfd833b0 cfd83384 cfd83580 c09b89ac c8081ed4 c8081ec0 c0296228 c0295efc
    
    [    1.541014] 1ec0: 00000000 00000000 c8081f04 c8081ed8 c0646f8c c02961f4 c064538c c8081f04
    
    [    1.549494] 1ee0: 00000000 cfd83580 cfd83384 c80ffc40 000004dc 00000000 c8081f24 c8081f08
    
    [    1.557975] 1f00: c0647078 c0646ef0 c0c8e050 cfd83384 c0b562dc 000004dc c8081f3c c8081f28
    
    [    1.566455] 1f20: c0b32718 c0646fd4 c8080000 c0b562dc c8081f4c c8081f40 c0b2b81c c0b326b4
    
    [    1.574935] 1f40: c8081f94 c8081f50 c0b00e8c c0b2b7f8 c0151234 c07cd6ac 00000000 00000000
    
    [    1.583415] 1f60: 00000000 00000000 00000000 00000000 c07c84f8 00000000 00000000 00000000
    
    [    1.591896] 1f80: 00000000 00000000 c8081fac c8081f98 c07c8508 c0b00d70 00000000 c07c84f8
    
    [    1.600375] 1fa0: 00000000 c8081fb0 c0107f18 c07c8504 00000000 00000000 00000000 00000000
    
    [    1.608854] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    
    [    1.617335] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
    
    [    1.625811] Backtrace:
    
    [    1.628414] [<c021c8a4>] (___slab_alloc.constprop.3) from [<c021d078>] (kmem_cache_alloc+0x16c/0x1a4)
    
    [    1.637974] [<c021cf0c>] (kmem_cache_alloc) from [<c0292c18>] (__kernfs_new_node+0x4c/0xc0)
    
    [    1.646636] [<c0292bcc>] (__kernfs_new_node) from [<c0293d2c>] (kernfs_new_node+0x24/0x40)
    
    [    1.655211] [<c0293d08>] (kernfs_new_node) from [<c02956c4>] (__kernfs_create_file+0x20/0x9c)
    
    [    1.664051] [<c02956a4>] (__kernfs_create_file) from [<c0295fa0>] (sysfs_add_file_mode_ns+0xb0/0x198)
    
    [    1.673605] [<c0295ef0>] (sysfs_add_file_mode_ns) from [<c0296228>] (sysfs_create_bin_file+0x40/0x4c)
    
    [    1.683159] [<c02961e8>] (sysfs_create_bin_file) from [<c0646f8c>] (__of_add_property_sysfs+0xa8/0xe4)
    
    [    1.692799] [<c0646ee4>] (__of_add_property_sysfs) from [<c0647078>] (__of_attach_node_sysfs+0xb0/0xec)
    
    [    1.702528]  r8:00000000 r7:000004dc r6:c80ffc40 r5:cfd83384 r4:cfd83580
    
    [    1.709496] [<c0646fc8>] (__of_attach_node_sysfs) from [<c0b32718>] (of_core_init+0x70/0xc4)
    
    [    1.718244]  r7:000004dc r6:c0b562dc r5:cfd83384 r4:c0c8e050
    
    [    1.724148] [<c0b326a8>] (of_core_init) from [<c0b2b81c>] (driver_init+0x30/0x34)
    
    [    1.731910]  r5:c0b562dc r4:c8080000
    
    [    1.735675] [<c0b2b7ec>] (driver_init) from [<c0b00e8c>] (kernel_init_freeable+0x128/0x268)
    
    [    1.744344] [<c0b00d64>] (kernel_init_freeable) from [<c07c8508>] (kernel_init+0x10/0x110)
    
    [    1.752915]  r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c07c84f8
    
    [    1.761031]  r4:00000000
    
    [    1.763726] [<c07c84f8>] (kernel_init) from [<c0107f18>] (ret_from_fork+0x14/0x3c)
    
    [    1.771576]  r5:c07c84f8 r4:00000000
    
    [    1.775333] Code: 00000000 00000000 00000000 00000000 (00000000)
    
    [    1.781683] ---[ end trace d9496343d4edd91c ]---
    
    [    1.786543] Unable to handle kernel paging request at virtual address c024aea4
    
    [    1.794040] pgd = c0004000
    
    [    1.796898] [c024aea4] *pgd=5f6b6c63(bad)
    
    [    1.801105] Internal error: Oops: 8000000d [#2] PREEMPT SMP ARM
    
    [    1.807265] Modules linked in:
    
    [    1.810490] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G      D         4.9.28-geed43d1050 #13
    
    [    1.819056] Hardware name: Generic DRA74X (Flattened Device Tree)
    
    [    1.825394] task: c8078000 task.stack: c8080000
    
    [    1.830134] PC is at exit_files+0x0/0x48
    
    [    1.834249] LR is at do_exit+0x4f8/0x9f0
    
    [    1.838362] pc : [<c024aea4>]    lr : [<c0132470>]    psr: 60000113
    
    [    1.838362] sp : c8081b88  ip : c8081b88  fp : c8081bac
    
    [    1.850317] r10: c0991644  r9 : c0c07768  r8 : c021aef6
    
    [    1.855764] r7 : 00000000  r6 : ffffe000  r5 : 0000000b  r4 : c8078000
    
    [    1.862548] r3 : 00000000  r2 : c8078474  r1 : 00000000  r0 : c8078000
    
    [    1.869333] Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
    
    [    1.876741] Control: 10c5387d  Table: 8000406a  DAC: 00000051
    
    [    1.882719] Process swapper/0 (pid: 1, stack limit = 0xc8080210)
    
    [    1.888964] Stack: (0xc8081b88 to 0xc8082000)
    
    [    1.893519] 1b80:                   c021aef6 00000000 c8081bac c8081ba0 c012e47c 00000001
    
    [    1.901999] 1ba0: c8081c34 c8081bb0 c010c1f8 c0131f84 c8080210 0000000b c099163c 00000008
    
    [    1.910480] 1bc0: bf000000 c8080000 00000000 60000193 309915a4 30303030 20303030 30303030
    
    [    1.918961] 1be0: 30303030 30303020 30303030 30302030 30303030 28203030 30303030 30303030
    
    [    1.927442] 1c00: c0002029 c01d4bfc c09915a4 c021aef4 c8081d38 8000000d c0c1a940 c8081d38
    
    [    1.935922] 1c20: c8080000 00000000 c8081c4c c8081c38 c011ac58 c010bfb8 c8081d38 c0c1a940
    
    [    1.944402] 1c40: c8081c74 c8081c50 c0115fa0 c011abf8 00000000 c0c0319c c0c08294 0000000d
    
    [    1.952883] 1c60: c0115fa0 c021aef4 c8081c84 c8081c78 c0115fb0 c0115f1c c8081d34 c8081c88
    
    [    1.961359] 1c80: c01013cc c0115fac c807f100 cfd58a78 c8081d14 c8081ca0 026012c0 c03d1af4
    
    [    1.969835] 1ca0: c0162f98 c015c21c c0c4c500 00000000 c0c4c500 00000000 00000000 00000000
    
    [    1.978312] 1cc0: 024000c0 cfd5b670 026012c0 00000000 00000000 00000000 c0c4c500 00000000
    
    [    1.986788] 1ce0: 40000093 ce2e2400 c8081d0c c8081cf8 024080c0 cfd5bac0 c8001e40 ce2e2400
    
    [    1.995264] 1d00: c8081d54 c8081d10 c021b0dc 00000000 40000093 c021aef4 60000093 ffffffff
    
    [    2.003745] 1d20: c8081d6c 80330033 c8081e04 c8081d38 c010cca4 c0101398 c8046540 024080c0
    
    [    2.012227] 1d40: ffffffff 00000000 00000000 c8080000 cfd5bac0 c8046540 80330033 00000000
    
    [    2.020707] 1d60: 00000000 c8081e04 c8081d88 c8081d88 c021cb40 c021aef4 60000093 ffffffff
    
    [    2.029188] 1d80: 00000051 00000000 00000002 024080c0 c8081df4 c8081da0 c03cd97c 00330033
    
    [    2.037668] 1da0: c8045708 c021d0a4 c8081dfc c8045718 c0c84470 c8061d50 00000000 024000c0
    
    [    2.046149] 1dc0: 00330033 024000c0 c8081dfc c8081dd8 c021ddac c01fa2a0 00000005 c8046540
    
    [    2.054629] 1de0: 024080c0 c8080000 60000013 00000990 00008124 00000000 c8081e2c c8081e08
    
    [    2.063109] 1e00: c021d078 c021c8b0 c80fed70 c8100080 c0c82294 c8045700 00000002 00008124
    
    [    2.071589] 1e20: c8081e54 c8081e30 c0292c18 c021cf18 c80fed70 00000024 c80fed70 c09b89ac
    
    [    2.080070] 1e40: 0000000d 00000000 c8081e6c c8081e58 c0293d2c c0292bd8 00000000 00000024
    
    [    2.088550] 1e60: c8081e84 c8081e70 c02956c4 c0293d14 00000000 cfd83598 c8081ebc c8081e88
    
    [    2.097030] 1e80: c0295fa0 c02956b0 0000000d 00000000 00000024 cfd83598 00000000 00000000
    
    [    2.105511] 1ea0: cfd833b0 cfd83384 cfd83580 c09b89ac c8081ed4 c8081ec0 c0296228 c0295efc
    
    [    2.113991] 1ec0: 00000000 00000000 c8081f04 c8081ed8 c0646f8c c02961f4 c064538c c8081f04
    
    [    2.122472] 1ee0: 00000000 cfd83580 cfd83384 c80ffc40 000004dc 00000000 c8081f24 c8081f08
    
    [    2.130953] 1f00: c0647078 c0646ef0 c0c8e050 cfd83384 c0b562dc 000004dc c8081f3c c8081f28
    
    [    2.139433] 1f20: c0b32718 c0646fd4 c8080000 c0b562dc c8081f4c c8081f40 c0b2b81c c0b326b4
    
    [    2.147913] 1f40: c8081f94 c8081f50 c0b00e8c c0b2b7f8 c0151234 c07cd6ac 00000000 00000000
    
    [    2.156393] 1f60: 00000000 00000000 00000000 00000000 c07c84f8 00000000 00000000 00000000
    
    [    2.164873] 1f80: 00000000 00000000 c8081fac c8081f98 c07c8508 c0b00d70 00000000 c07c84f8
    
    [    2.173352] 1fa0: 00000000 c8081fb0 c0107f18 c07c8504 00000000 00000000 00000000 00000000
    
    [    2.181832] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    
    [    2.190312] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
    
    [    2.198783] Backtrace:
    
    [    2.201386] [<c0131f78>] (do_exit) from [<c010c1f8>] (die+0x24c/0x464)
    
    [    2.208169]  r7:00000001
    
    [    2.210865] [<c010bfac>] (die) from [<c011ac58>] (__do_kernel_fault.part.0+0x6c/0x1ec)
    
    [    2.219079]  r10:00000000 r9:c8080000 r8:c8081d38 r7:c0c1a940 r6:8000000d r5:c8081d38
    
    [    2.227194]  r4:c021aef4
    
    [    2.229885] [<c011abec>] (__do_kernel_fault.part.0) from [<c0115fa0>] (do_sect_fault+0x0/0x18)
    
    [    2.238804]  r7:c0c1a940 r4:c8081d38
    
    [    2.242565] [<c0115f10>] (do_bad_area) from [<c0115fb0>] (do_sect_fault+0x10/0x18)
    
    [    2.250421]  r7:c021aef4 r6:c0115fa0 r5:0000000d r4:c0c08294
    
    [    2.256317] [<c0115fa0>] (do_sect_fault) from [<c01013cc>] (do_PrefetchAbort+0x40/0xa8)
    
    [    2.264620] [<c010138c>] (do_PrefetchAbort) from [<c010cca4>] (__pabt_svc+0x64/0xa0)
    
    [    2.272647] Exception stack(0xc8081d38 to 0xc8081d80)
    
    [    2.277917] 1d20:                                                       c8046540 024080c0
    
    [    2.286398] 1d40: ffffffff 00000000 00000000 c8080000 cfd5bac0 c8046540 80330033 00000000
    
    [    2.294879] 1d60: 00000000 c8081e04 c8081d88 c8081d88 c021cb40 c021aef4 60000093 ffffffff
    
    [    2.303359]  r8:80330033 r7:c8081d6c r6:ffffffff r5:60000093 r4:c021aef4
    
    [    2.310321] [<c021c8a4>] (___slab_alloc.constprop.3) from [<c021d078>] (kmem_cache_alloc+0x16c/0x1a4)
    
    [    2.319873] [<c021cf0c>] (kmem_cache_alloc) from [<c0292c18>] (__kernfs_new_node+0x4c/0xc0)
    
    [    2.328530] [<c0292bcc>] (__kernfs_new_node) from [<c0293d2c>] (kernfs_new_node+0x24/0x40)
    
    [    2.337099] [<c0293d08>] (kernfs_new_node) from [<c02956c4>] (__kernfs_create_file+0x20/0x9c)
    
    [    2.345937] [<c02956a4>] (__kernfs_create_file) from [<c0295fa0>] (sysfs_add_file_mode_ns+0xb0/0x198)
    
    [    2.355487] [<c0295ef0>] (sysfs_add_file_mode_ns) from [<c0296228>] (sysfs_create_bin_file+0x40/0x4c)
    
    [    2.365039] [<c02961e8>] (sysfs_create_bin_file) from [<c0646f8c>] (__of_add_property_sysfs+0xa8/0xe4)
    
    [    2.374678] [<c0646ee4>] (__of_add_property_sysfs) from [<c0647078>] (__of_attach_node_sysfs+0xb0/0xec)
    
    [    2.384406]  r8:00000000 r7:000004dc r6:c80ffc40 r5:cfd83384 r4:cfd83580
    
    [    2.391372] [<c0646fc8>] (__of_attach_node_sysfs) from [<c0b32718>] (of_core_init+0x70/0xc4)
    
    [    2.400119]  r7:000004dc r6:c0b562dc r5:cfd83384 r4:c0c8e050
    
    [    2.406012] [<c0b326a8>] (of_core_init) from [<c0b2b81c>] (driver_init+0x30/0x34)
    
    [    2.413773]  r5:c0b562dc r4:c8080000
    
    [    2.417533] [<c0b2b7ec>] (driver_init) from [<c0b00e8c>] (kernel_init_freeable+0x128/0x268)
    
    [    2.426190] [<c0b00d64>] (kernel_init_freeable) from [<c07c8508>] (kernel_init+0x10/0x110)
    
    [    2.434758]  r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c07c84f8
    
    [    2.442878]  r4:00000000
    
    [    2.445568] [<c07c84f8>] (kernel_init) from [<c0107f18>] (ret_from_fork+0x14/0x3c)
    
    [    2.453417]  r5:c07c84f8 r4:00000000
    
    [    2.457179] Code: 00000000 00000000 00000000 00000000 (00000000)
    
    [    2.463518] ---[ end trace d9496343d4edd91d ]---
    
    [    2.468341] Fixing recursive fault but reboot is needed!
    
    

    g3_linux_small_cma.log
    =~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2017.10.17 16:55:43 =~=~=~=~=~=~=~=~=~=~=~=
    setenv optargs debug earlyprintk=${console},keep loglevel=7 log_buf_len=16000 initcall_debug time
    => boot
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    reading boot.scr
    ** Unable to read file boot.scr **
    reading uEnv.txt
    98 bytes read in 45 ms (2 KiB/s)
    Loaded env from uEnv.txt
    Importing environment from mmc0 ...
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    3718792 bytes read in 171 ms (20.7 MiB/s)
    101822 bytes read in 11 ms (8.8 MiB/s)
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 8df01000, end 8df1cdbd ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    
    [    0.000000] Linux version 4.9.28-geed43d1050 (tom@tom-ThinkPad-P50s) (gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11) ) #16 SMP PREEMPT Tue Oct 17 16:23:09 EDT 2017
    
    [    0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=10c5387d
    
    [    0.000000] CPU: div instructions available: patching division code
    
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    
    [    0.000000] OF: fdt:Machine model: tom's customboard
    
    [    0.000000] bootconsole [earlycon0] enabled
    
    [    0.000000] efi: Getting EFI parameters from FDT:
    
    [    0.000000] efi: UEFI not found.
    
    [    0.000000] Reserved memory: created CMA memory pool at 0x88400000, size 4 MiB
    
    [    0.000000] OF: reserved mem: initialized node ipu1_cma@88400000, compatible id shared-dma-pool
    
    [    0.000000] Reserved memory: created CMA memory pool at 0x8a400000, size 4 MiB
    
    [    0.000000] OF: reserved mem: initialized node ipu2_cma@8a400000, compatible id shared-dma-pool
    
    [    0.000000] cma: Reserved 24 MiB at 0x8e400000
    
    [    0.000000] Memory policy: Data cache writealloc
    
    [    0.000000] OMAP4: Map 0x8fe00000 to fe600000 for dram barrier
    
    [    0.000000] DRA752 ES2.0
    
    [    0.000000] percpu: Embedded 13 pages/cpu @cfd7c000 s22092 r8192 d22964 u53248
    
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 60352
    
    [    0.000000] Kernel command line: console=ttyO2,115200n8 debug earlyprintk=ttyO2,115200n8,keep loglevel=7 log_buf_len=16000 initcall_debug time root=PARTUUID=79bceccd-02 rw rootfstype=ext4 rootwait
    
    [    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
    
    [    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
    
    [    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
    
    [    0.000000] Memory: 196072K/243712K available (7168K kernel code, 312K rwdata, 2412K rodata, 1024K init, 292K bss, 14872K reserved, 32768K cma-reserved, 0K highmem)
    
    [    0.000000] Virtual kernel memory layout:
    
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    
    [    0.000000]     vmalloc : 0xd0800000 - 0xff800000   ( 752 MB)
    
    [    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
    
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    
    [    0.000000]       .text : 0xc0008000 - 0xc0800000   (8160 kB)
    
    [    0.000000]       .init : 0xc0b00000 - 0xc0c00000   (1024 kB)
    
    [    0.000000]       .data : 0xc0c00000 - 0xc0c4e360   ( 313 kB)
    
    [    0.000000]        .bss : 0xc0c50000 - 0xc0c992b0   ( 293 kB)
    
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    
    [    0.000000] Preemptible hierarchical RCU implementation.
    
    [    0.000000] Build-time adjustment of leaf fanout to 32.
    
    [    0.000000] NR_IRQS:16 nr_irqs:16 16
    
    [    0.000000] OMAP clockevent source: timer1 at 32786 Hz
    
    [    0.000000] arm_arch_timer: Architected cp15 timer(s) running at 6.14MHz (phys).
    
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x16af5adb9, max_idle_ns: 440795202250 ns
    
    [    0.000005] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511023ns
    
    [    0.008309] Switching to timer-based delay loop, resolution 162ns
    
    [    0.014950] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
    
    [    0.025211] OMAP clocksource: 32k_counter at 32768 Hz
    
    [    0.030998] Console: colour dummy device 80x30
    
    [    0.035667] WARNING: Your 'console=ttyO2' has been replaced by 'ttyS2'
    
    [    0.042464] This ensures that you still see kernel messages. Please
    
    [    0.048976] update your kernel commandline.
    
    [    0.053374] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
    
    [    0.064012] pid_max: default: 32768 minimum: 301
    
    [    0.068957] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    
    [    0.075845] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    
    [    0.084014] CPU: Testing write buffer coherency: ok
    
    [    0.089489] /cpus/cpu@0 missing clock-frequency property
    
    [    0.095036] /cpus/cpu@1 missing clock-frequency property
    
    [    0.100603] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    
    [    0.106586] Setting up static identity map for 0x80100000 - 0x80100060
    
    [    0.193744] EFI services will not be available.
    
    [    0.263989] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    
    [    0.264086] Brought up 2 CPUs
    
    [    0.273109] SMP: Total of 2 processors activated (24.59 BogoMIPS).
    
    [    0.279553] CPU: All CPU(s) started in HYP mode.
    
    [    0.284377] CPU: Virtualization extensions available.
    
    [    0.290862] devtmpfs: initialized
    
    [    0.323485] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    
    [    0.331880] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    
    [    0.342092] futex hash table entries: 512 (order: 3, 32768 bytes)
    
    [    0.349749] pinctrl core: initialized pinctrl subsystem
    
    [    0.356432] NET: Registered protocol family 16
    
    [    0.362267] DMA: preallocated 256 KiB pool for atomic coherent allocations
    
    [    0.370734] omap_hwmod: l3_main_2 using broken dt data from ocp
    
    [    0.487838] omap_hwmod: dcan1: _wait_target_disable failed
    
    [    0.613706] cpuidle: using governor ladder
    
    [    0.643738] cpuidle: using governor menu
    
    [    0.649649] omap_l3_noc 44000000.ocp: L3 debug error: target 2 mod:1 (unclearable)
    
    [    0.657636] omap_l3_noc 44000000.ocp: L3 application error: target 2 mod:1 (unclearable)
    
    [    0.674038] OMAP GPIO hardware version 0.1
    
    [    0.693311] irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux@1400 !
    
    [    0.722339] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    
    [    0.730640] hw-breakpoint: maximum watchpoint size is 8 bytes.
    
    [    0.737204] omap4_sram_init:Unable to allocate sram needed to handle errata I688
    
    [    0.744883] omap4_sram_init:Unable to get sram pool needed to handle errata I688
    
    [    0.753139] OMAP DMA hardware revision 0.0
    
    [    0.804665] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)
    
    [    0.815769] edma 43300000.edma: memcpy is disabled
    
    [    0.825686] edma 43300000.edma: TI EDMA DMA engine driver
    
    [    0.835611] omap-iommu 58882000.mmu: 58882000.mmu registered
    
    [    0.841656] omap-iommu 55082000.mmu: 55082000.mmu registered
    
    [    0.850378] palmas 0-0058: Irq flag is 0x00000008
    
    [    0.879895] palmas 0-0058: Muxing GPIO 2f, PWM 0, LED 0
    
    [    0.889221] vtt_fixed: supplied by smps3
    
    [    0.927897] random: fast init done
    
    [    0.968997] vdd_3v3: supplied by regen1
    
    [    0.973267] aic_dvdd_fixed: supplied by vdd_3v3
    
    [    0.980746] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
    
    [    0.987127] omap_i2c 4807c000.i2c: bus 4 rev0.12 at 400 kHz
    
    [    0.993134] media: Linux media interface: v0.10
    
    [    0.997928] Linux video capture interface: v2.00
    
    [    1.002799] pps_core: LinuxPPS API ver. 1 registered
    
    [    1.007995] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    
    [    1.017485] PTP clock support registered
    
    [    1.021688] EDAC MC: Ver: 3.0.0
    
    [    1.025819] omap-mailbox 4883c000.mailbox: omap mailbox rev 0x400
    
    [    1.032467] omap-mailbox 4883e000.mailbox: omap mailbox rev 0x400
    
    [    1.039083] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
    
    [    1.045734] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
    
    [    1.052122] omap-mailbox 48844000.mailbox: no available mbox devices found
    
    [    1.059734] Advanced Linux Sound Architecture Driver Initialized.
    
    [    1.067310] clocksource: Switched to clocksource arch_sys_counter
    
    [    1.085383] NET: Registered protocol family 2
    
    [    1.090567] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
    
    [    1.097840] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
    
    [    1.104567] TCP: Hash tables configured (established 2048 bind 2048)
    
    [    1.111261] UDP hash table entries: 256 (order: 1, 8192 bytes)
    
    [    1.117369] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
    
    [    1.124078] NET: Registered protocol family 1
    
    [    1.129123] RPC: Registered named UNIX socket transport module.
    
    [    1.135282] RPC: Registered udp transport module.
    
    [    1.140218] RPC: Registered tcp transport module.
    
    [    1.145132] RPC: Registered tcp NFSv4.1 backchannel transport module.
    
    [    1.152927] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
    
    [    1.164933] workingset: timestamp_bits=14 max_order=16 bucket_order=2
    
    [    1.178608] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    
    [    1.185491] NFS: Registering the id_resolver key type
    
    [    1.190832] Key type id_resolver registered
    
    [    1.195211] Key type id_legacy registered
    
    [    1.199562] ntfs: driver 2.1.32 [Flags: R/O].
    
    [    1.205823] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
    
    [    1.213563] io scheduler noop registered
    
    [    1.217703] io scheduler deadline registered
    
    [    1.222305] io scheduler cfq registered (default)
    
    [    1.230889] pinctrl-single 4a003400.pinmux: please update dts to use #pinctrl-cells = <1>
    
    [    1.239979] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
    
    [    1.251453] backlight supply power not found, using dummy regulator
    
    [    1.321604] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    
    [    1.332036] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 299, base_baud = 3000000) is a 8250
    
    [    1.341299] console [ttyS2] enabled
    [    1.341299] console [ttyS2] enabled
    
    [    1.348478] bootconsole [earlycon0] disabled
    [    1.348478] bootconsole [earlycon0] disabled
    
    [    1.358146] 48422000.serial: ttyS7 at MMIO 0x48422000 (irq = 300, base_baud = 3000000) is a 8250
    [    1.368870] omap_rng 48090000.rng: OMAP Random Number Generator ver. 20
    [    1.375657] [drm] Initialized
    [    1.391820] brd: module loaded
    [    1.400894] loop: module loaded
    [    1.407662] libphy: Fixed MDIO Bus: probed
    [    1.467339] davinci_mdio 48485000.mdio: davinci mdio revision 1.6
    [    1.473468] libphy: 48485000.mdio: probed
    [    1.479925] cpsw 48484000.ethernet: Detected MACID = d4:36:39:fc:4b:3e
    [    1.486587] cpsw 48484000.ethernet: cpts: overflow check period 500 (jiffies)
    [    1.495052] cpsw 48484000.ethernet: cpsw: Detected MACID = d4:36:39:fc:4b:3f
    [    1.503610] mousedev: PS/2 mouse device common for all mice
    [    1.509759] i2c /dev entries driver
    [    1.515104] gpio-fan gpio_fan: GPIO fan initialized
    [    1.526081] omap_hsmmc 4809c000.mmc: Got CD GPIO
    [    1.597368] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.608996] NET: Registered protocol family 10
    [    1.624486] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    1.631031] NET: Registered protocol family 17
    [    1.635735] Key type dns_resolver registered
    [    1.640275] omap_voltage_late_init: Voltage driver support not added
    [    1.646754] Power Management for TI OMAP4+ devices.
    [    1.651923] Registering SWP/SWPB emulation handler
    [    1.671488] dmm 4e000000.dmm: initialized all PAT entries
    [    1.678071] input: gpio_keys as /devices/platform/gpio_keys/input/input0
    [    1.685153] hctosys: unable to open rtc device (rtc0)
    [    1.690990] aic_dvdd_fixed: disabling
    [    1.694670] vmmcwl_fixed: disabling
    [    1.698377] ldousb: disabling
    [    1.701651] ALSA device list:
    [    1.704629]   No soundcards found.
    [    1.708934] Waiting for root device PARTUUID=79bceccd-02...
    [    1.817484] mmc0: host does not support reading read-only switch, assuming write-enable
    [    1.828703] mmc0: new ultra high speed DDR50 SDHC card at address e624
    [    1.835826] mmcblk0: mmc0:e624 SL08G 7.40 GiB
    [    1.841538]  mmcblk0: p1 p2
    [    2.939362] EXT4-fs (mmcblk0p2): recovery complete
    [    2.945434] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [    2.953654] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    2.960563] devtmpfs: mounted
    [    2.964916] Freeing unused kernel memory: 1024K (c0b00000 - c0c00000)
    [    3.089203] systemd[1]: System time before build time, advancing clock.
    [    3.138759] systemd[1]: systemd 230 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN)
    
    Welcome to Arago 2017.05!
    
    [    3.259599] systemd-sysv-ge: 72 output lines suppressed due to ratelimiting
    [  OK  ] Reached target Remote File Systems.
    [  OK  ] Listening on Journal Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Control Socket.
    [  OK  ] Reached target Swap.
    [  OK  ] Listening on Syslog Socket.
    [  OK  ] Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Created slice User and Session Slice.
    [  OK  ] Created slice System Slice.
             Starting Remount Root and Kernel File Systems...
    [    3.767515] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
             Mounting Temporary Directory...
    [  OK  ] Created slice system-serial\x2dgetty.slice.
             Mounting POSIX Message Queue File System...
             Starting Load Kernel Modules...
    [    3.886008] cryptodev: disagrees about version of symbol module_layout
             Starting Create list of required st... nodes for the current kernel...
    [  OK  ] Created slice system-getty.slice.
             Mounting Debug File System...
             Starting Journal Service...
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Reached target Paths.
    [  OK  ] Reached target Slices.
    [  OK  ] Listening on Network Service Netlink Socket.
             Starting Setup Virtual Console...
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Mounted Debug File System.
    [  OK  ] Mounted Temporary Directory.
    [  OK  ] Started Journal Service.
    [  OK  ] Started Remount Root and Kernel File Systems.
    [FAILED] Failed to start Load Kernel Modules.
    See 'systemctl status systemd-modules-load.service' for details.
    [  OK  ] Started Create list of required sta...ce nodes for the current kernel.
    [  OK  ] Started Setup Virtual Console.
             Starting Create Static Device Nodes in /dev...
             Mounting Configuration File System...
             Starting Apply Kernel Variables...
             Starting udev Coldplug all Devices...
             Starting Flush Journal to Persistent Storage...
    [  OK  ] Mounted Configuration File System.
    [  OK  ] Started Create Static Device Nodes in /dev.
    [  OK  ] Started Apply Kernel Variables.
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /var/volatile...
             Mounting /media/ram...
             Starting udev Kernel Device Manager...
    [  OK  ] Mounted /var/volatile.
    [  OK  ] Mounted /media/ram.
    [  OK  ] Started udev Kernel Device Manager.
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
    [  OK  ] Started Flush Journal to Persistent Storage.
    [  OK  ] Started Load/Save Random Seed.
             Starting Create Volatile Files and Directories...
    [  OK  ] Started udev Coldplug all Devices.
    [  OK  ] Started Create Volatile Files and Directories.
             Starting Update UTMP about System Boot/Shutdown...
             Starting Network Time Synchronization...
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Reached target System Time Synchronized.
             Starting Synchronize System and HW clocks...
    [FAILED] Failed to start Synchronize System and HW clocks.
    See 'systemctl status sync-clocks.service' for details.
    [  OK  ] Found device /dev/ttyS2.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
    [    6.145689] palmas-rtc 48070000.i2c:tps659038@58:tps659038_rtc: rtc core: registered 48070000.i2c:tps659 as rtc1
    [  OK  ] Reached target Sockets.
    [  OK  ] Started Daily Cleanup of Temporary Directorie[    6.219041] omap-des 480a5000.des: OMAP DES hw accel rev: 2.2
    s.
    [  OK  ] Reached target Timers.
    [    6.240966] omap-des 480a5000.des: will run requests pump with realtime priority
    [  OK  ] Reached target Basic System.
             Starting telnetd.service...
             Starting Login Service...
    [    6.397504] pixcir_ts 4-005c: pixcir_set_power_mode: can't read reg 0x33 : -121
    [    6.409330] pixcir_ts 4-005c: Failed to set IDLE mode
    [    6.409601] pixcir_ts: probe of 4-005c failed with error -121
    [    6.415162] omap_rtc 48838000.rtc: rtc core: registered 48838000.rtc as rtc2
    [  OK  ] Started Kernel Logging Service.
             Starting tiipclad-daemon.service...
    [    6.584898] vpe 489d0000.vpe: loading firmware vpdma-1b8.bin
    [  OK  ] Started D-Bus System Message Bus.
    [    6.617822] vpe 489d0000.vpe: Device registered as /dev/video0
             Starting Network Service...
    [  OK  ] Started System Logging Service.
    [    6.926986] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
             Starting Print notice about GPLv3 packages...
    [    7.030065] net eth1: initializing cpsw version 1.15 (0)
    [    7.035454] net eth0: initialized cpsw ale version 1.4
    [    7.048928] net eth0: ALE Table size 1024
    [    7.057708] net eth1: phy "/ocp/ethernet@48484000/mdio@48485000/ethernet-phy@2" not found on slave 1
    [    7.074292] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    [    7.136836] net eth0: initializing cpsw version 1.15 (0)
    [    7.145322] net eth0: phy "/ocp/ethernet@48484000/mdio@48485000/ethernet-phy@1" not found on slave 0
    [    7.159718] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [  OK  ] Started Network Service.
    [  OK  ] Started telnetd.service.
    [  OK  ] Started tiipclad-daemon.service.
    [  OK  ] Started Login Service.
             Starting thttpd.service...
    [  OK  ] Reached target Network.
             Starting Permit User Sessions...
             Starting Network Name Resolution...
    [  OK  ] Started thttpd.service.
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPLv3 packages:
    binutils
    dosfstools
    libreadline6
    m4
    
    If you do not wish to distribute GPLv3 components please remove
    the above packages prior to distribution.  This can be done using
    the opkg remove command.  i.e.:
        opkg remove <package>
    Where <package> is the name printed in the list above
    
    NOTE: If the package is a dependency of another package you
          will be notified of the dependent packages.  You should
          use the --force-removal-of-dependent-packages option to
          also remove the dependent packages as well
    ***************************************************************
    ***************************************************************
    [  OK  ] Started Permit User Sessions.
    [  OK  ] Started Print notice about GPLv3 packages.
    [    7.767868] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [  OK  ] Started Network Name Resolution.
    [    7.780152] omap-sham 4b101000.sham: hw accel on OMAP rev 4.3
    [    7.811398] omap-aes 4b500000.aes: OMAP AES hw accel rev: 3.3
    [    7.818255] omap-aes 4b500000.aes: will run requests pump with realtime priority
    [    7.827503] omap-aes 4b700000.aes: OMAP AES hw accel rev: 3.3
    [    7.835831] omap-aes 4b700000.aes: will run requests pump with realtime priority
    [    7.860423] omap-rproc 58820000.ipu: assigned reserved memory node ipu1_cma@88400000
    [    7.871843] remoteproc remoteproc0: 58820000.ipu is available
    [  OK  ] Started Serial Getty on ttyS2.
    [    7.883023] remoteproc remoteproc0: Direct firmware load for dra7-ipu1-fw.xem4 failed with error -2
    [    7.900275] omap-rproc 55020000.ipu: assigned reserved memory node ipu2_cma@8a400000
    [    7.900387] remoteproc remoteproc1: 55020000.ipu is available
    [    7.936164] remoteproc remoteproc0: powering up 58820000.ipu
    [    7.936211] remoteproc remoteproc0: Direct firmware load for dra7-ipu1-fw.xem4 failed with error -2
    [    7.936218] remoteproc remoteproc0: request_firmware failed: -2
    [    7.936282] remoteproc remoteproc1: Direct firmware load for dra7-ipu2-fw.xem4 failed with error -2
    [    7.936291] remoteproc remoteproc1: powering up 55020000.ipu
    [    7.936317] remoteproc remoteproc1: Direct firmware load for dra7-ipu2-fw.xem4 failed with error -2
    [    7.936322] remoteproc remoteproc1: request_firmware failed: -2
    [  OK  ] Started Getty on tty1.
    [  OK  ] Reached target Login Prompts.
             Starting rng-tools.service...
    [    8.129719] random: crng init done
    [  OK  ] Started rng-tools.service.
    [  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
    [  OK  ] Created slice system-systemd\x2dbacklight.slice.
             Starting Load/Save Screen Backlight...htness of backlight:backlight...
             Starting thermal-zone-init.service...
    [  OK  ] Started Load/Save Screen Backlight Brightness of backlight:backlight.
    [  OK  ] Started thermal-zone-init.service.
    [  OK  ] Reached target Multi-User System.
             Starting Update UTMP about System Runlevel Changes...
    [  OK  ] Started Update UTMP about System Runlevel Changes.
    
    
     _____                    _____           _         _
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|
                  |___|                    |___|
    
    Arago Project http://arago-project.org am57xx-evm ttyS2
    
    Arago 2017.05 am57xx-evm ttyS2
    
    am57xx-evm login: root
    
    root@am57xx-evm:~# cd /proc
    root@am57xx-evm:/proc# ls
    1              130            2              235            27             32             387            48             55             6              67             74             9              consoles       execdomains    kallsyms       locks          partitions     sysrq-trigger  vmstat
    10             14             20             24             279            33             389            49             559            60             68             75             92             cpu            fb             key-users      meminfo        sched_debug    sysvipc        zoneinfo
    11             15             203            242            28             337            397            5              56             61             69             77             asound         cpuinfo        filesystems    keys           misc           schedstat      thread-self
    110            150            21             25             29             338            4              50             57             62             7              78             buddyinfo      crypto         fs             kmsg           modules        self           timer_list
    118            16             212            254            295            34             424            51             577            63             70             79             bus            device-tree    interrupts     kpagecgroup    mounts         softirqs       tty
    12             17             22             26             3              35             45             52             58             64             71             8              cgroups        devices        iomem          kpagecount     mtd            stat           uptime
    120            18             23             260            30             36             46             53             59             65             72             80             cmdline        diskstats      ioports        kpageflags     net            swaps          version
    13             19             232            264            31             381            47             54             591            66             73             81             config.gz      driver         irq            loadavg        pagetypeinfo   sys            vmallocinfo
    root@am57xx-evm:/proc# cd cpu
    root@am57xx-evm:/proc/cpu# ls
    alignment      swp_emulation
    root@am57xx-evm:/proc/cpu# cat alignment
    User:0
    System:0 (  (null))
    Skipped:0
    Half:0
    Word:0
    DWord:0
    Multi:0
    User faults:2 (fixup)
    root@am57xx-evm:/proc/cpu# cat swp_emulation
    Emulated SWP:0
    Emulated SWPB:0
    Aborted SWP{B}:0
    root@am57xx-evm:/proc/cpu# cd ..
    root@am57xx-evm:/proc# cat cpuinfo
    processor: 0
    model name: ARMv7 Processor rev 2 (v7l)
    BogoMIPS: 12.29
    Features: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
    CPU implementer: 0x41
    CPU architecture: 7
    CPU variant: 0x2
    CPU part: 0xc0f
    CPU revision: 2
    
    processor: 1
    model name: ARMv7 Processor rev 2 (v7l)
    BogoMIPS: 12.29
    Features: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
    CPU implementer: 0x41
    CPU architecture: 7
    CPU variant: 0x2
    CPU part: 0xc0f
    CPU revision: 2
    
    Hardware: Generic DRA74X (Flattened Device Tree)
    Revision: 0000
    Serial: 0000000000000000
    root@am57xx-evm:/proc# cat iomem
    40300000-4037ffff : 40300000.ocmcram
    43300000-433fffff : edma3_cc
    44000000-44ffffff : /ocp
    45000000-45000fff : /ocp
    48020000-4802001f : serial
    48032000-4803207f : /ocp/timer@48032000
    48034000-4803407f : /ocp/timer@48034000
    48036000-4803607f : /ocp/timer@48036000
    4803e000-4803e07f : /ocp/timer@4803e000
    48051000-480511ff : /ocp/gpio@48051000
    48053000-480531ff : /ocp/gpio@48053000
    48055000-480551ff : /ocp/gpio@48055000
    48057000-480571ff : /ocp/gpio@48057000
    48059000-480591ff : /ocp/gpio@48059000
    4805b000-4805b1ff : /ocp/gpio@4805b000
    4805d000-4805d1ff : /ocp/gpio@4805d000
    48070000-480700ff : /ocp/i2c@48070000
    4807c000-4807c0ff : /ocp/i2c@4807c000
    48086000-4808607f : /ocp/timer@48086000
    48088000-4808807f : /ocp/timer@48088000
    48090000-48091fff : /ocp/rng@48090000
    4809c000-4809c3ff : /ocp/mmc@4809c000
    480a5000-480a509f : /ocp/des@480a5000
    48422000-4842201f : serial
    48440200-4844027f : /ocp/epwmss@48440000/pwm@48440200
    4844a000-4844ad1b : /ocp/padconf@4844a000
    48484000-48484fff : /ocp/ethernet@48484000
    48485000-484850ff : /ocp/ethernet@48484000/mdio@48485000
    48485200-48487fff : /ocp/ethernet@48484000
    48820000-4882007f : /ocp/timer@48820000
    48822000-4882207f : /ocp/timer@48822000
    48824000-4882407f : /ocp/timer@48824000
    48826000-4882607f : /ocp/timer@48826000
    48828000-4882807f : /ocp/timer@48828000
    4882a000-4882a07f : /ocp/timer@4882a000
    4882c000-4882c07f : /ocp/timer@4882c000
    4882e000-4882e07f : /ocp/timer@4882e000
    48838000-488380ff : /ocp/rtc@48838000
    4883c000-4883c1ff : /ocp/mailbox@4883c000
    4883e000-4883e1ff : /ocp/mailbox@4883e000
    48840000-488401ff : /ocp/mailbox@48840000
    48842000-488421ff : /ocp/mailbox@48842000
    48880000-4888ffff : /ocp/omap_dwc3_1@48880000
    489d0700-489d077f : sc
    489d5700-489d5717 : csc
    4a0021e0-4a0021eb : /ocp/bandgap@4a0021e0
    4a00232c-4a002337 : /ocp/bandgap@4a0021e0
    4a002380-4a0023ab : /ocp/bandgap@4a0021e0
    4a0023c0-4a0023fb : /ocp/bandgap@4a0021e0
    4a00246c-4a00246f : ldo-address
    4a002470-4a002473 : ldo-address
    4a002554-4a002557 : gmii-sel
    4a002564-4a00256b : /ocp/bandgap@4a0021e0
    4a002574-4a0025c3 : /ocp/bandgap@4a0021e0
    4a002b78-4a002c73 : /ocp/l4@4a000000/scm@2000/dma-router@b78
    4a002c78-4a002cf3 : /ocp/l4@4a000000/scm@2000/dma-router@c78
    4a003400-4a003867 : pinctrl-single
    4a056000-4a056fff : omap_dma_system.0
      4a056000-4a056fff : /ocp/dma-controller@4a056000
    4a080000-4a08001f : /ocp/ocp2scp@4a080000
    4a084c00-4a084c3f : pll_ctrl
    4a090000-4a09001f : /ocp/ocp2scp@4a090000
    4a096800-4a09683f : pll_ctrl
    4ae07ddc-4ae07ddf : setup-address
    4ae07de0-4ae07de3 : control-address
    4ae07de4-4ae07de7 : setup-address
    4ae07de8-4ae07deb : control-address
    4ae07e20-4ae07e23 : control-address
    4ae07e24-4ae07e27 : control-address
    4ae07e30-4ae07e33 : setup-address
    4ae07e34-4ae07e37 : setup-address
    4ae0c154-4ae0c157 : ldo-address
    4ae0c158-4ae0c15b : ldo-address
    4ae10000-4ae101ff : /ocp/gpio@4ae10000
    4ae14000-4ae1407f : /ocp/wdt@4ae14000
    4ae20000-4ae2007f : /ocp/timer@4ae20000
    4b101000-4b1012ff : /ocp/sham@53100000
    4b500000-4b50009f : /ocp/aes@4b500000
    4b700000-4b70009f : /ocp/aes@4b700000
    55020000-5502ffff : l2ram
    55082000-550820ff : /ocp/mmu@55082000
    58820000-5882ffff : l2ram
    58882000-588820ff : /ocp/mmu@58882000
    80000000-80ffffff : System RAM
      80008000-80afffff : Kernel code
      80c00000-80c992af : Kernel data
    82000000-8fdfffff : System RAM
    root@am57xx-evm:/proc# cat devices
    Character devices:
      1 mem
      2 pty
      3 ttyp
      4 /dev/vc/0
      4 tty
      4 ttyS
      5 /dev/tty
      5 /dev/console
      5 /dev/ptmx
      7 vcs
     10 misc
     13 input
     29 fb
     81 video4linux
     89 i2c
     90 mtd
    116 alsa
    128 ptm
    136 pts
    226 drm
    246 bsg
    247 watchdog
    248 tee
    249 iio
    250 ptp
    251 pps
    252 media
    253 rtc
    254 gpiochip
    
    Block devices:
      1 ramdisk
    259 blkext
      7 loop
     31 mtdblock
    179 mmc
    254 virtblk
    root@am57xx-evm:/proc# cat pagetypeinfo
    Page block order: 10
    Pages per block:  1024
    
    Free pages count per migrate type at order       0      1      2      3      4      5      6      7      8      9     10
    Node    0, zone   Normal, type    Unmovable      0     14      1      2      1      0      0      1      1      1      0
    Node    0, zone   Normal, type      Movable     51     28      1      3      0      1      1      1      0      1     29
    Node    0, zone   Normal, type  Reclaimable      2      1      1      1      0      1      0      1      0      0      0
    Node    0, zone   Normal, type   HighAtomic      0      0      0      0      0      0      0      0      0      0      0
    Node    0, zone   Normal, type          CMA      2      2      2      2      2      2      1      1      0      1      7
    Node    0, zone   Normal, type      Isolate      0      0      0      0      0      0      0      0      0      0      0
    
    Number of blocks type     Unmovable      Movable  Reclaimable   HighAtomic          CMA      Isolate
    Node 0, zone   Normal            5           45            2            0            8            0