SOLVED!

u-boot variables required changes. Also made changes to meta-gumstix-community u-boot-variables script. Merge request triggered: https://gitorious.org/schnitzeltony-oe-meta/meta-gumstix-community/merge_requests/1

This is weird as i don't recall requiring these changes in gumstix factory images from 2010. Is this a new change?




On 24/01/2013, at 12:50 PM, Trung Hoang <trungiee@gmail.com> wrote:

I've done some more testing on an alternate board and i am getting a kernel error. My display is blank. 

How do i enable my display? It was working just an hour ago!

U-Boot 2012.07-00002-g5da8247 (Sep 30 2012 - 17:22:13)

OMAP36XX/37XX-GP ES1.2, CPU-OPP2, L3-165MHz, Max CPU Clock 1 Ghz
Gumstix Overo board + LPDDR/NAND
I2C:   ready
DRAM:  512 MiB
NAND:  512 MiB
MMC:   OMAP SD/MMC: 0
In:    serial
Out:   serial
Err:   serial
Board revision: 1
Tranceiver detected on mmc2
No EEPROM on expansion board
Die ID #080c00029ff800000168580205024015
Net:   No ethernet found.
Hit any key to stop autoboot:  0 
Overo # printenv
baudrate=115200
bootargs=console=${console} mpurate=${mpurate} vram=${vram} omapfb.mode=dvi:${dvimode} omapfb.debug=n omapdss.def_disp=${defaultdisplay} root=${mmcroot} rootfstype=${mmcrootfstype}
bootcmd=if mmc rescan ${mmcdev}; then if run loadbootscript; then run bootscript; else if run loaduimage; then run mmcboot; else run nandboot; fi; fi; else run nandboot; fi
bootdelay=1
bootscript=echo Running bootscript from mmc ...; source ${loadaddr}
console=ttyO2,115200n8
defaultdisplay=lcd35
dieid#=080c00029ff800000168580205024015
dvimode=320x240MR-16@60
loadaddr=0x82000000
loadbootscript=fatload mmc ${mmcdev} ${loadaddr} boot.scr
loaduimage=fatload mmc ${mmcdev} ${loadaddr} uImage
mmcargs=setenv bootargs console=ttyO2,115200n8 mpurate=500 vram=12M omapfb.mode=dvi:1024x768MR-16@60 omapfb.debug=y omapdss.def_disp=lcd35 root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait
mmcboot=echo Booting from mmc ...; run mmcargs; bootm ${loadaddr}
mmcdev=0
mmcroot=/dev/mmcblk0p2 rw
mmcrootfstype=ext3 rootwait
mpurate=500
nandargs=setenv bootargs console=${console} ${optargs} mpurate=${mpurate} vram=${vram} omapfb.mode=dvi:${dvimode} omapdss.def_disp=${defaultdisplay} root=${nandroot} rootfstype=${nandrootfstype}
nandboot=echo Booting from nand ...; run nandargs; nand read ${loadaddr} 280000 400000; bootm ${loadaddr}
nandroot=ubi0:rootfs ubi.mtd=4
nandrootfstype=ubifs
stderr=serial
stdin=serial
stdout=serial
vram=12M



...
[    3.389801] usb 1-2.4: new low-speed USB device number 3 using ehci-omap
[    3.397735] mmc1: new SDIO card at address 0001
[    3.403533] fbcvt: 1024x768@60: CVT Name - .786M3-R
[    3.408691] Unable to handle kernel NULL pointer dereference at virtual address 00000028
[    3.417816] pgd = c0004000
[    3.420806] [00000028] *pgd=00000000
[    3.424652] Internal error: Oops: 5 [#1] PREEMPT ARM
[    3.429870] Modules linked in:
[    3.433105] CPU: 0    Not tainted  (3.5.0 #1)
[    3.437683] PC is at dss_mgr_check_timings+0x4/0x30
[    3.442840] LR is at dpi_check_timings+0x18/0xc8
[    3.447692] pc : [<c025e42c>]    lr : [<c0260f4c>]    psr: 40000113
[    3.447692] sp : dec2be00  ip : 22222222  fp : c06a9538
[    3.459747] r10: 00000010  r9 : c06aaec8  r8 : deefc8c0
[    3.465240] r7 : deef7400  r6 : c06a9008  r5 : c06a9008  r4 : dec2be90
[    3.472106] r3 : dec1ca40  r2 : dec2be50  r1 : dec2be90  r0 : 00000000
[    3.478973] Flags: nZcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
[    3.486663] Control: 10c5387d  Table: 80004019  DAC: 00000015
[    3.492706] Process swapper (pid: 1, stack limit = 0xdec2a2f0)
[    3.498809] Stack: (0xdec2be00 to 0xdec2c000)
[    3.503417] be00: dec1ca40 c0260f4c 00000001 dedad714 ffffffff c045e6dc 22222222 22222222
[    3.512023] be20: 22222222 22222222 0000000f dedad714 c06a9008 dec2be90 deef7400 deefc8c0
[    3.520629] be40: c06aaec8 dedad714 c06a9008 dec2be90 deef7400 c026eb98 deef6
...
[    3.529235] be60: c06a9008 c0676390 0000003d c0489b18 00000018 dec2be84 dec2be88 00000000
[    3.537841] be80: c06aaec0 dec2beb8 deefea00 deef6000 03000400 0000dac0 00300020 00040050
[    3.546447] bea0: 0003000f c0137e34 00000000 c005339c 00000000 00000003 00000000 00000000
[    3.555023] bec0: c06caa98 c06aaec8 c06caa98 c06caa98 00000000 0000009e c068d920 c0656160
[    3.563629] bee0: 00000000 c02995f0 c02995dc c0298328 c06caa98 c06aaec8 c06aaec8 c06aaefc
[    3.572235] bf00: c06caa98 c0298578 c06caa98 dec2bf18 c0298518 c0296a5c dec077d8 dec93870
[    3.580841] bf20: c06caa98 c06caa98 deefc940 c06d07f8 00000000 c0297900 c0598238 c0598239
[    3.589447] bf40: dec2bf48 c06caa98 00000001 00000000 c06f72c0 0000009e c0656160 c0298a98
[    3.598052] bf60: 00000000 c06caa84 00000001 00000000 c06f72c0 0000009e c0656160 c0299870
[    3.606658] bf80: 00000007 c0675e98 00000000 c0675ec0 dec2a000 c0008674 00000007 00000007
[    3.615264] bfa0: 00000000 00000007 c068354c 00000007 c0683550 c0683530 c06f72c0 0000009e
[    3.623870] bfc0: c068d920 c06568c4 00000007 00000007 c0656160 00000000 00000000 c0656790
[    3.632476] bfe0: c000eac4 00000013 00000000 00000000 00000000 c000eac4 80a8f021 80a8f421
[    3.641082] [<c025e42c>] (dss_mgr_check_timings+0x4/0x30) from [<c0260f4c>] (dpi_check_timings+0x18/0xc8)
[    3.651184] [<c0260f4c>] (dpi_check_timings+0x18/0xc8) from [<c026eb98>] (tfp410_check_timings+0x28/0x3c)
[    3.661254] [<c026eb98>] (tfp410_check_timings+0x28/0x3c) from [<c0676390>] (omapfb_probe+0x4a4/0x9d0)
[    3.671051] [<c0676390>] (omapfb_probe+0x4a4/0x9d0) from [<c02995f0>] (platform_drv_probe+0x14/0x18)
[    3.680664] [<c02995f0>] (platform_drv_probe+0x14/0x18) from [<c0298328>] (driver_probe_device+0x144/0x334)
[    3.690917] [<c0298328>] (driver_probe_device+0x144/0x334) from [<c0298578>] (__driver_attach+0x60/0x84)
[    3.700897] [<c0298578>] (__driver_attach+0x60/0x84) from [<c0296a5c>] (bus_for_each_dev+0x4c/0x78)
[    3.710418] [<c0296a5c>] (bus_for_each_dev+0x4c/0x78) from [<c0297900>] (bus_add_driver+0xc0/0x240)
[    3.719940] [<c0297900>] (bus_add_driver+0xc0/0x240) from [<c0298a98>] (driver_register+0x9c/0x128)
[    3.729461] [<c0298a98>] (driver_register+0x9c/0x128) from [<c0299870>] (platform_driver_probe+0x18/0x98)
[    3.739532] [<c0299870>] (platform_driver_probe+0x18/0x98) from [<c0675ec0>] (omapfb_init+0x28/0x54)
[    3.749145] [<c0675ec0>] (omapfb_init+0x28/0x54) from [<c0008674>] (do_one_initcall+0x90/0x160)
[    3.758300] [<c0008674>] (do_one_initcall+0x90/0x160) from [<c06568c4>] (kernel_init+0x134/0x1f4)
[    3.767639] [<c06568c4>] (kernel_init+0x134/0x1f4) from [<c000eac4>] (kernel_thread_exit+0x0/0x8)
[    3.776977] Code: e3e00015 e8bd8010 c05c7450 e92d4008 (e5900028) 
[    3.784271] ---[ end trace b8288a5759fed0c0 ]---
[    3.789215] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[    3.789215] 


On 24/01/2013, at 1:09 AM, Trung Hoang <trungiee@gmail.com> wrote:

When booting, i am getting a white screen and no console image appearing on boot.  I followed instructions here http://gumstix.org/index.php/getting-started.html or http://gumstix.org/getting-started.html but with no success. 

Is it something in my environment vars?

Overo # printenv
baudrate=115200
bootcmd=if mmc rescan ${mmcdev}; then if run loadbootscript; then run bootscript; else if run loaduimage; then run mmcboot; else run nandboot; fi; fi; else run nandboot; fi
bootdelay=5
bootscript=echo Running bootscript from mmc ...; source ${loadaddr}
console=ttyO2,115200n8
defaultdisplay=lcd43
dieid#=43dc00040000000004037f660a013006
dvimode=1024x768MR-16@60
ethact=smc911x-0
loadaddr=0x82000000
loadbootscript=fatload mmc ${mmcdev} ${loadaddr} boot.scr
loaduimage=fatload mmc ${mmcdev} ${loadaddr} uImage
mmcargs=setenv bootargs console=${console} ${optargs} mpurate=${mpurate} vram=${vram} omapfb.mode=dvi:${dvimode} omapdss.def_disp=${defaultdisplay} root=${mmcroot} rootfstype=${mmcrootfstype}
mmcboot=echo Booting from mmc ...; run mmcargs; bootm ${loadaddr}
mmcdev=0
mmcroot=/dev/mmcblk0p2 rw
mmcrootfstype=ext3 rootwait
mpurate=500
nandargs=setenv bootargs console=${console} ${optargs} mpurate=${mpurate} vram=${vram} omapfb.mode=dvi:${dvimode} omapdss.def_disp=${defaultdisplay} root=${nandroot} rootfstype=${nandrootfstype}
nandboot=echo Booting from nand ...; run nandargs; nand read ${loadaddr} 280000 400000; bootm ${loadaddr}
nandroot=ubi0:rootfs ubi.mtd=4
nandrootfstype=ubifs
stderr=serial
stdin=serial
stdout=serial
vram=12M