Re: Can't Boot - OSK Frame Buffer Support in Kernel 2.6.18-omap1

Dirk Behme
2006-10-06T19:30:56Z

[-- Attachment #1: Type: text/plain, Size: 1053 bytes --]

Sideleau, Scott R wrote:
> ## Booting image at 00100000 ...
> Image Name: OE
> Image Type: ARM Linux Kernel Image (gzip compressed)
> Data Size: 1065210 Bytes = 1 MB
> Load Address: 10c08000
> Entry Point: 10c08000
> Verifying Checksum ... OK
> Uncompressing Kernel Image ... OK

I wonder about the adresses used here. Do you followed

http://oskfordummies.hp.infoseek.co.jp/howto/flash_kernel.html

?

I would assume kernel at 0x40000 and start address/entry
point at 0x10008000. E.g.:

## Checking image at 00040000 ...
Image Name: Linux-2.6.11-omap1
Image Type: ARM Linux Kernel Image (umcompressed)
Data Size: 1159328 Bytes = 1.1 MB
Load Address: 10008000
Entry Point: 10008000
Veryfying Checksum ... OK

> Any ideas? Any and all help/direction is appreciated.

For debugging, enable

Kernel hacking -> Kernel debugging -> Kernel low-level
debugging functions

(and temporarily apply patch in attachment, seems to be
necessary to work low level debugging properly).

Dirk

[-- Attachment #2: temp_low_level_debug_patch.txt --]
[-- Type: text/plain, Size: 872 bytes --]

--- ./arch/arm/plat-omap/clock.c_orig 2006-10-06 21:16:49.000000000 +0200
+++ ./arch/arm/plat-omap/clock.c 2006-10-06 21:17:03.000000000 +0200
@@ -135,7 +135,7 @@ void clk_disable(struct clk *clk)
return;

spin_lock_irqsave(&clockfw_lock, flags);
- BUG_ON(clk->usecount == 0);
+ //BUG_ON(clk->usecount == 0);
if (arch_clock->clk_disable)
arch_clock->clk_disable(clk);
spin_unlock_irqrestore(&clockfw_lock, flags);
--- ./arch/arm/mach-omap1/clock.c_orig 2006-10-06 21:18:57.000000000 +0200
+++ ./arch/arm/mach-omap1/clock.c 2006-10-06 21:16:21.000000000 +0200
@@ -651,7 +651,7 @@ int __init omap1_clk_init(void)

/* USB_REQ_EN will be disabled later if necessary (usb_dc_ck) */
reg = omap_readw(SOFT_REQ_REG) & (1 << 4);
- omap_writew(reg, SOFT_REQ_REG);
+ //omap_writew(reg, SOFT_REQ_REG);
if (!cpu_is_omap15xx())
omap_writew(0, SOFT_REQ_REG2);

[-- Attachment #3: Type: text/plain, Size: 0 bytes --]