[U-Boot] u-boot on beagleboard finds incorrect memory size.
wilsonjonathan
piercing_male at hotmail.com
Wed Jan 25 21:06:23 CET 2012
The u-boot loader is showing an incorrect size in the memory, and
passing the invalid information to the kernel.
> U-Boot SPL 2011.12-dirty (Jan 25 2012 - 19:07:19)
> Texas Instruments Revision detection unimplemented
> OMAP SD/MMC: 0
> reading u-boot.img
> reading u-boot.bin
> mkimage signature not found - ih_magic = ea000014
> Assuming u-boot.bin ..
> reading u-boot.bin
>
>
> U-Boot 2011.12-dirty (Jan 25 2012 - 19:07:19)
>
> OMAP3530-GP ES3.1, CPU-OPP2, L3-165MHz, Max CPU Clock 720 mHz
> OMAP3 Beagle board + LPDDR/NAND
> I2C: ready
> DRAM: 1 GiB
> WARNING: Caches not enabled
> NAND: 256 MiB
> MMC: OMAP SD/MMC: 0
> *** Warning - bad CRC, using default environment
>
> In: serial
> Out: serial
> Err: serial
> Beagle Rev C4
> timed out in wait_for_pin: I2C_STAT=0
> I2C read: I/O error
> Unrecognized expansion board: 0
> Die ID #5468002400000000040365fa12014003
> Net: No ethernet found.
> Hit any key to stop autoboot: 0
> The user button is currently NOT pressed.
>
As you can see DRAM is showing as 1 Gib when the beagleboard doesn't
have this much memory.
and the kernel boot shows it also has the wrong memory constraints.
> [ 0.000000] Initializing cgroup subsys cpuset
> [ 0.000000] Initializing cgroup subsys cpu
> [ 0.000000] Linux version 3.2.0-10-omap (buildd at kitalpha) (gcc version 4.6.2 (Ubuntu/Linaro 4.6.2-10ubuntu1) ) #17-Ubuntu Thu Jan 19 18:58:16 UTC 2012 (Ub)
> [ 0.000000] CPU: ARMv7 Processor [411fc083] revision 3 (ARMv7), cr=10c53c7d
> [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
> [ 0.000000] Machine: OMAP3 Beagle Board
> [ 0.000000] Truncating RAM at a0000000-bfffffff to -afffffff (vmalloc region overlap).
> [ 0.000000] Reserving 12582912 bytes SDRAM for VRAM
> [ 0.000000] Memory policy: ECC disabled, Data cache writeback
> [ 0.000000] OMAP3430/3530 ES3.1 (l2cache iva sgx neon isp )
> [ 0.000000] Clocking rate (Crystal/Core/MPU): 26.0/332/500 MHz
> [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 192000
> [ 0.000000] Kernel command line: console=ttyO2,115200n8 console=tty0 vram=12M omapfb.mode=dvi:1280x720MR-16 at 60 mpurate=auto root=/dev/mmcblk0p2 rootwait ro
> [ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
> [ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
> [ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
> [ 0.000000] allocated 3145728 bytes of page_cgroup
> [ 0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
> [ 0.000000] Memory: 756MB = 756MB total
> [ 0.000000] Memory: 749380k/749380k available, 37052k reserved, 0K highmem
> [ 0.000000] Virtual kernel memory layout:
> [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
> [ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
> [ 0.000000] vmalloc : 0xf0800000 - 0xf8000000 ( 120 MB)
> [ 0.000000] lowmem : 0xc0000000 - 0xf0000000 ( 768 MB)
> [ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
> [ 0.000000] .text : 0xc0008000 - 0xc06b12a0 (6821 kB)
> [ 0.000000] .init : 0xc06b2000 - 0xc06f2000 ( 256 kB)
> [ 0.000000] .data : 0xc06f2000 - 0xc0753bd0 ( 391 kB)
> [ 0.000000] .bss : 0xc0753bf4 - 0xc080c694 ( 739 kB)
>
This is from the linaro-stable and if I worked out git correctly the
last commit is and i'm in master?
(sorry I don't know git very well bar git clone)
> commit a7aebf03597d9661ad0e5241c12e448e980800b4
> Author: Dirk Behme <dirk.behme at de.bosch.com>
> Date: Thu Jan 12 10:11:52 2012 +0100
>
More information about the U-Boot
mailing list