On 03/03/2015 12:45 AM, Siarhei Siamashka wrote: [...] > In one way, this can be verified by just checking that the necessary > bits in the system registers are properly set according to the > recommendations from the errata lists. AFAIK, only writes to these > registers are restricted, so that it has to be done in an OMAP specific > way using the SMC calls. But reading them somewhere early in the > Linux kernel and doing printk should be fine.
http://paste.ubuntu.org.cn/2522971 a quick patch on v4.0-rc1 to do the same. Sorry, test farm I have access to, is a bit wonky at the moment. (use omap2plus_defconfig) few of the boards I could cajole logs out are as follows (uses legacy bootloaders, not completely controlled source etc.. and are in a remote location that I cannot update easily): > am335x-evm.txt:[ 0.000000] XXXX o3_dump_arm_regs:CPUID=0x413fc082 > ACR=0x00000042 L2AUXCR=0x00000042 > am335x-sk.txt:[ 0.000000] XXXX o3_dump_arm_regs:CPUID=0x413fc082 > ACR=0x00000042 L2AUXCR=0x00000042 > am3517-evm.txt:[ 0.000000] XXXX o3_dump_arm_regs:CPUID=0x411fc087 > ACR=0x000000e2 L2AUXCR=0x00000042 > am37x-evm.txt:[ 0.000000] XXXX o3_dump_arm_regs:CPUID=0x413fc082 > ACR=0x000000e2 L2AUXCR=0x00000042 > am57xx-evm.txt:[ 0.000000] XXXX o5_dump_arm_regs:CPUID=0x412fc0f2 > L2CTLR=0x01800083 L2ACLR=0x00000000 L2PFR=0x000009b0 ACTLR=0x00000040 > beagleboard.txt:[ 0.000000] XXXX o3_dump_arm_regs:CPUID=0x413fc082 > ACR=0x000000e2 L2AUXCR=0x00000042 > beaglebone-black.txt:[ 0.000000] XXXX o3_dump_arm_regs:CPUID=0x413fc082 > ACR=0x00000042 L2AUXCR=0x00000042 > beaglebone.txt:[ 0.000000] XXXX o3_dump_arm_regs:CPUID=0x413fc082 > ACR=0x00000042 L2AUXCR=0x00000042 > dra72x-evm.txt:[ 0.000000] XXXX o5_dump_arm_regs:CPUID=0x412fc0f2 > L2CTLR=0x00800083 L2ACLR=0x00000000 L2PFR=0x000009b0 ACTLR=0x00000040 > dra7xx-evm.txt:[ 0.000000] XXXX o5_dump_arm_regs:CPUID=0x412fc0f2 > L2CTLR=0x01800083 L2ACLR=0x00000000 L2PFR=0x000009b0 ACTLR=0x00000040 > omap5-evm.txt:[ 0.000000] XXXX o5_dump_arm_regs:CPUID=0x412fc0f2 > L2CTLR=0x01800083 L2ACLR=0x00000000 L2PFR=0x000009b0 ACTLR=0x00000040 -- Regards, Nishanth Menon _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot