How to upgrade the uboot-1.3.3 to latest

Hi,

I'm Using devkit8000 board, when trying to boot the kernel from MMC
card, it is going up to "Starting kernel ..." message and stopped. I
have tried changing the bootargs but no use. I have tried different
kernel (2.6.32) on the same board it is booting but the latest kernel
is not working.

Request to provide the valuable inputs on this issue to take it
forward, Below are the environment and log

Please share the link for latest u-boot source for devkit8000 and
compilation procedure.

U-Boot version : 1.3.3-svn (Feb 6 2010 - 16:29:12)
Kernel version: 2.6.38-rc1

Log:

Texas Instruments X-Loader 1.41
Starting OS Bootloader...

U-Boot 1.3.3-svn (Feb 6 2010 - 16:29:12)

OMAP3530-GP rev 2, CPU-OPP2 L3-165MHz
OMAP3 DevKit8000 Board + LPDDR/NAND
DRAM: 256 MB
NAND: 256 MiB
In: serial
Out: serial
Err: serial
Hit any key to stop autoboot: 0
## Booting kernel from Legacy Image at 80300000 ...
   Image Name: Linux-2.6.38-rc1-g34a02d2-dirty
   Image Type: ARM Linux Kernel Image (uncompressed)
   Data Size: 2427808 Bytes = 2.3 MB
   Load Address: 80008000
   Entry Point: 80008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

---------- Not going ahead from his point -------------

Please share your thoughts, why it is not booting the kernel.

Hi,

I'm Using devkit8000 board, when trying to boot the kernel from MMC
card, it is going up to "Starting kernel ..." message and stopped. I
have tried changing the bootargs but no use. I have tried different
kernel (2.6.32) on the same board it is booting but the latest kernel
is not working.

I don't have a devkit8000. I'm not certain I'd do something with it
if I had one, but it would certainly increase the odds.

Request to provide the valuable inputs on this issue to take it
forward, Below are the environment and log

Please share the link for latest u-boot source for devkit8000 and
compilation procedure.

Why not use this opportunity to visit the home of u-boot[1] or their
git tree[2] and try the very latest u-boot out?

[1] http://www.denx.de/wiki/view/DULG/UBoot
[2] http://git.denx.de/?p=u-boot.git;a=summary

U-Boot version : 1.3.3-svn (Feb 6 2010 - 16:29:12)
Kernel version: 2.6.38-rc1

Log:

Texas Instruments X-Loader 1.41
Starting OS Bootloader...

U-Boot 1.3.3-svn (Feb 6 2010 - 16:29:12)

OMAP3530-GP rev 2, CPU-OPP2 L3-165MHz
OMAP3 DevKit8000 Board + LPDDR/NAND
DRAM: 256 MB
NAND: 256 MiB
In: serial
Out: serial
Err: serial
Hit any key to stop autoboot: 0
## Booting kernel from Legacy Image at 80300000 ...
Image Name: Linux-2.6.38-rc1-g34a02d2-dirty
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2427808 Bytes = 2.3 MB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK

Starting kernel ...

---------- Not going ahead from his point -------------

Please share your thoughts, why it is not booting the kernel.

Why do you assume it is the bootloader? I've found the eLinux page on
Linux kernel debug[3] to be fairly helpful.

[3] http://elinux.org/Kernel_Debugging_Tips

The devkit8000 is supported by u-boot.
The flashed u-boot 1.3.3 uses the wrong machine-id. Thatswhy the kernel
doesn't boot.

Thomas

Thank you for providing your valuable inputs.
I downloaded the latest U-boot, compiled and flashed in devkit board,
Now it is booting.
But I'm getting so many nand warnings and LCD is not coming up and
corresponding error logs are copied below:
Please provide the inputs on how to bring up LCD on devkit8000, Please
let me know if more information is required to conclude on this issue.

## Booting kernel from Legacy Image at 80300000 ...
   Image Name: Linux-2.6.38-rc1-g34a02d2-dirty
   Image Type: ARM Linux Kernel Image (uncompressed)
   Data Size: 2427808 Bytes = 2.3 MiB
   Load Address: 80008000
   Entry Point: 80008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[ 0.000000] Linux version 2.6.38-rc1-g34a02d2-dirty (andcoe@andcoe)
(gcc version 4.4.3 (GCC) ) #5 Fri Mar 11 16:37:31 IST1
[ 0.000000] CPU: ARMv7 Processor [411fc083] revision 3 (ARMv7),
cr=10c53c7f
[ 0.000000] CPU: VIPT nonaliasing data cache, VIPT nonaliasing
instruction cache
[ 0.000000] Machine: OMAP3 Devkit8000
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] OMAP3430/3530 ES3.1 (l2cache iva sgx neon isp )
[ 0.000000] SRAM: Mapped pa 0x40200000 to va 0xfe400000 size:
0x10000
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on.
Total pages: 65024
[ 0.000000] Kernel command line: console=ttyO2,115200n8 root=/dev/
mmcblk0p2 rw rootwait video=omapfb:mode:4.3inch_LCD
[ 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: 256MB = 256MB total
[ 0.000000] Memory: 255008k/255008k available, 7136k 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] DMA : 0xffc00000 - 0xffe00000 ( 2 MB)
[ 0.000000] vmalloc : 0xd0800000 - 0xf8000000 ( 632 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .init : 0xc0008000 - 0xc0035000 ( 180 kB)
[ 0.000000] .text : 0xc0035000 - 0xc0465628 (4290 kB)
[ 0.000000] .data : 0xc0466000 - 0xc0498c40 ( 204 kB)
[ 0.000000] NR_IRQS:402
[ 0.000000] Clocking rate (Crystal/Core/MPU): 26.0/332/500 MHz
[ 0.000000] Reprogramming SDRC clock to 332000000 Hz
[ 0.000000] GPMC revision 5.0
[ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 4.0) with 96
interrupts
[ 0.000000] Total of 96 interrupts on 1 active controller
[ 0.000000] OMAP clockevent source: GPTIMER12 at 32768 Hz
[ 0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns,
wraps every 131071999ms
[ 0.000000] Console: colour dummy device 80x30
[ 0.000244] Calibrating delay loop... 473.71 BogoMIPS (lpj=1851392)
[ 0.170837] pid_max: default: 32768 minimum: 301
[ 0.171081] Mount-cache hash table entries: 512
[ 0.171539] CPU: Testing write buffer coherency: ok
[ 0.175476] print_constraints: dummy:
[ 0.175628] NET: Registered protocol family 16
[ 0.178680] omap_device: omap_gpio.0: new worst case activate
latency 0: 30517
[ 0.178771] OMAP GPIO hardware version 2.5
[ 0.178863] OMAP GPIO hardware version 2.5
[ 0.178955] OMAP GPIO hardware version 2.5
[ 0.179046] OMAP GPIO hardware version 2.5
[ 0.179138] OMAP GPIO hardware version 2.5
[ 0.179229] OMAP GPIO hardware version 2.5
[ 0.181121] omap_mux_init: Add partition: #1: core, flags: 0
[ 0.182617] omap_device: omap_uart.0: new worst case deactivate
latency 0: 30517
[ 0.183166] omap_device: omap_uart.1: new worst case activate
latency 0: 30517
[ 0.187347] Found NAND on CS0
[ 0.187377] Registering NAND on CS0
[ 0.194152] OMAP DMA hardware revision 4.0
[ 0.214294] bio: create slab <bio-0> at 0
[ 0.217224] SCSI subsystem initialized
[ 0.220275] usbcore: registered new interface driver usbfs
[ 0.220550] usbcore: registered new interface driver hub
[ 0.220855] usbcore: registered new device driver usb
[ 0.222015] omap_device: omap_i2c.1: new worst case activate
latency 0: 30517
[ 0.222106] omap_i2c omap_i2c.1: bus 1 rev3.12 at 2600 kHz
[ 0.225982] twl4030: PIH (irq 7) chaining IRQs 368..375
[ 0.226043] twl4030: power (irq 373) chaining IRQs 376..383
[ 0.226715] twl4030: gpio (irq 368) chaining IRQs 384..401
[ 0.230682] print_constraints: VUSB1V5: 1500 mV normal standby
[ 0.231597] print_constraints: VUSB1V8: 1800 mV normal standby
[ 0.232421] print_constraints: VUSB3V1: 3100 mV normal standby
[ 0.234405] twl4030_usb twl4030_usb: Initialized TWL4030 USB module
[ 0.235992] print_constraints: VPLL1: 1800 mV normal standby
[ 0.238128] print_constraints: VIO: 1800 mV normal standby
[ 0.239196] print_constraints: VMMC1: 1850 <--> 3150 mV at 3000 mV
normal standby
[ 0.240081] print_constraints: VDAC: 1800 mV normal standby
[ 0.240264] omap_device: omap_i2c.1: new worst case deactivate
latency 0: 30517
[ 0.240417] omap_i2c omap_i2c.3: bus 3 rev3.12 at 400 kHz
[ 0.242218] Advanced Linux Sound Architecture Driver Version
1.0.23.
[ 0.243286] Switching to clocksource 32k_counter
[ 0.271972] musb-hdrc: version 6.0, tusb-omap-dma, otg (peripheral
+host), debug=0
[ 0.272674] NET: Registered protocol family 2
[ 0.272857] IP route cache hash table entries: 2048 (order: 1, 8192
bytes)
[ 0.273345] TCP established hash table entries: 8192 (order: 4,
65536 bytes)
[ 0.273590] TCP bind hash table entries: 8192 (order: 3, 32768
bytes)
[ 0.273712] TCP: Hash tables configured (established 8192 bind
8192)
[ 0.273742] TCP reno registered
[ 0.273742] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.273773] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.274169] NET: Registered protocol family 1
[ 0.274566] RPC: Registered udp transport module.
[ 0.274566] RPC: Registered tcp transport module.
[ 0.274597] RPC: Registered tcp NFSv4.1 backchannel transport
module.
[ 0.274902] NetWinder Floating Point Emulator V0.97 (double
precision)
[ 0.277465] VFS: Disk quotas dquot_6.5.2
[ 0.277557] Dquot-cache hash table entries: 1024 (order 0, 4096
bytes)
[ 0.278198] JFFS2 version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.
[ 0.278533] msgmni has been set to 498
[ 0.279541] io scheduler noop registered
[ 0.279541] io scheduler deadline registered
[ 0.279632] io scheduler cfq registered (default)
[ 0.337280] OMAP DSS rev 2.0
[ 0.337371] OMAP DISPC rev 3.0
[ 0.337432] OMAP VENC rev 2
[ 0.502838] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 0.505371] omap_uart.0: ttyO0 at MMIO 0x4806a000 (irq = 72) is a
OMAP UART0
[ 0.505889] omap_uart.1: ttyO1 at MMIO 0x4806c000 (irq = 73) is a
OMAP UART1
[ 0.506408] omap_uart.2: ttyO2 at MMIO 0x49020000 (irq = 74) is a
OMAP UART2
[ 1.096130] console [ttyO2] enabled
[ 1.115112] brd: module loaded
[ 1.125762] loop: module loaded
[ 1.132110] omap2-nand driver initializing
[ 1.136810] ONFI flash detected
[ 1.140380] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xba
(Micron NAND 256MiB 1,8V 16-bit)
[ 1.149902] cmdlinepart partition parsing not available
[ 1.155395] Creating 5 MTD partitions on "omap2-nand.0":
[ 1.161041] 0x000000000000-0x000000080000 : "X-Loader"
[ 1.168853] 0x000000080000-0x000000260000 : "U-Boot"
[ 1.176818] 0x000000260000-0x000000280000 : "U-Boot Env"
[ 1.184448] 0x000000280000-0x000000680000 : "Kernel"
[ 1.193328] 0x000000680000-0x000010000000 : "File System"
[ 1.301361] dm9000 Ethernet Driver, V1.31
[ 1.400573] eth0: dm9000a at d086a000,d086e400 IRQ 185 MAC:
02:c0:03:00:d0:12 (platform data)
[ 1.409881] usbmon: debugfs is not available
[ 1.414367] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI)
Driver
[ 2.423156] ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
[ 2.429168] ehci-omap ehci-omap.0: new USB bus registered, assigned
bus number 1
[ 2.437347] ehci-omap ehci-omap.0: irq 77, io mem 0x48064800
[ 2.454406] ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
[ 2.460632] usb usb1: New USB device found, idVendor=1d6b,
idProduct=0002
[ 2.467803] usb usb1: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[ 2.475433] usb usb1: Product: OMAP-EHCI Host Controller
[ 2.481048] usb usb1: Manufacturer: Linux 2.6.38-rc1-g34a02d2-dirty
ehci_hcd
[ 2.488494] usb usb1: SerialNumber: ehci-omap.0
[ 2.494567] hub 1-0:1.0: USB hub found
[ 2.498535] hub 1-0:1.0: 3 ports detected
[ 2.534210] input: TWL4030 Keypad as /devices/platform/omap/
omap_i2c.1/i2c-1/1-004a/twl4030_keypad/input/input0
[ 2.547210] ads7846 spi2.0: touchscreen, irq 187
[ 2.553039] input: ADS7846 Touchscreen as /devices/platform/
omap2_mcspi.2/spi2.0/input/input1
[ 2.563323] twl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0
[ 2.569976] twl_rtc twl_rtc: Power up reset detected.
[ 2.575653] twl_rtc twl_rtc: Enabling TWL-RTC.
[ 2.580902] i2c /dev entries driver
[ 2.586303] sdhci: Secure Digital Host Controller Interface driver
[ 2.592834] sdhci: Copyright(c) Pierre Ossman
[ 2.603820] usbcore: registered new interface driver usbhid
[ 2.609680] usbhid: USB HID core driver
[ 2.615570] OMAP3 Beagle/Devkit8000 SoC init
[ 2.706481] asoc: twl4030-hifi <-> omap-mcbsp-dai.1 mapping ok
[ 2.714416] ALSA device list:
[ 2.717529] #0: omap3beagle
[ 2.720916] TCP cubic registered
[ 2.724334] NET: Registered protocol family 17
[ 2.729064] NET: Registered protocol family 15
[ 2.733795] Registering the dns_resolver key type
[ 2.738830] VFP support v0.3: implementor 41 architecture 3 part 30
variant c rev 1
[ 2.748199] omap_voltage_late_init: Unable to create voltage
debugfs main dir
[ 2.755798] vdd_debugfs_init: Unable to create debugfs directory
for vdd_mpu
[ 2.763275] vdd_debugfs_init: Unable to create debugfs directory
for vdd_core
[ 2.771575] Power Management for TI OMAP3.
[ 2.779937] omapfb omapfb: no driver for display
[ 2.784881] omapfb omapfb: no driver for display
[ 2.789733] omapfb omapfb: failed to setup omapfb
[ 2.797149] regulator_init_complete: VDAC: incomplete constraints,
leaving on
[ 2.805725] twl_rtc twl_rtc: setting system clock to 2000-01-01
00:00:00 UTC (946684800)
[ 2.814819] Waiting for root device /dev/mmcblk0p2...
[ 2.938842] mmc0: new high speed SD card at address b368
[ 2.945220] mmcblk0: mmc0:b368 SDC 3.81 GiB
[ 2.952423] mmcblk0: p1 p2
[ 3.037261] EXT3-fs: barriers not enabled
[ 6.220336] kjournald starting. Commit interval 5 seconds
[ 6.234802] EXT3-fs (mmcblk0p2): using internal journal
[ 6.240356] EXT3-fs (mmcblk0p2): recovery complete
[ 6.255065] EXT3-fs (mmcblk0p2): mounted filesystem with writeback
data mode
[ 6.262573] VFS: Mounted root (ext3 filesystem) on device 179:2.
[ 6.269012] Freeing init memory: 180K
INIT: version 2.86 booting
Please wait: booting...