janne.kario wrote:
> --- In Christian Gagneraud <>
> wrote:
>
>> How do you boot ur kernel?
>
> Vanilla 2.6.28.3
> make ep93xx_defconfig
> make bzImage
>
>
> RedBoot> load -r -h 192.168.1.101 -b 0x00218000 2628
> Using default protocol (TFTP)
> Raw file loaded 0x00218000-0x0039ab57, assumed entry at 0x00218000
> RedBoot> exec -c "console=ttyAM0 root=/dev/sda1 rootdelay=10 ip=dhcp"
> Using base address 0x00218000 and length 0x00182b58
> Uncompressing
> Linux.....................................................................................................
> done, booting the kernel.
>
> Error: unrecognized/unsupported machine ID (r1 = 0x00000163).
Finally got the same, i applied the force_machine_id patch.
By printing chars on the console i was able to go until the end of the
execution of __mmap_switched (arch/arm/kernel/head-common.S), that is
just before the jump to start_kernel() in init/main.c.
then from start kernel i was not able to print any trace, which mean
that the code doesn't execute start_kernel() or i'm using the wrong
way to print messages on the serial port
In the assembler files, i use this kind of things:
loadsp r1
mov r2, #'R' @ will print a single 'R'
writeb r2, r1
In C files like init/main.c, i've tried using putc() from
arch/arm/mach-ep93xx/include/mach/uncompress.h, but i'm not sure if i
can still use __raw_readb() and __raw_writeb() with physical address...
Anyway, i'm done for tonight, hope we'll find what's going wrong.
Chris.
>
> Available machine support:
>
> ID (hex)\0x09NAME
> 000002d3\0x09ADS Sphere board
> 0000021a\0x09Cirrus Logic EDB9302 Evaluation Board
> 00000467\0x09Cirrus Logic EDB9302A Evaluation Board
> 000001c3\0x09Cirrus Logic EDB9312 Evaluation Board
> 000001cf\0x09Cirrus Logic EDB9315 Evaluation Board
> 00000304\0x09Cirrus Logic EDB9315A Evaluation Board
> 000003be\0x09Glomation GESBC-9312-sx
> 000002a1\0x09Technologic Systems TS-72xx SBC
>
> Please check your kernel config and/or bootloader.
>
>
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|