Why dont you print the first few bytes of the kernel before actually 
jumping to the kernel in Ram. ie just before calling the BootKernel in 
blob (main.c). If it prints 00 AE 00 AE 00. then the kernel has been put 
in the proper place. Sometimes, it so happened to me that, the kernel 
worked with angel boot and the same kernel did not work with blob [with 
the angel option removed].

This way you can isolate the problem to blob or kernel. What i found 
was, the stock kernel 2.4.2-rmk2-np1 dosent work on my assabet with blob 
(with the angel option removed ofcourse). I removed all unwanted (for 
me) options, like DOS file support, NFS, and a lot of others in the 
kernel config, and the kernel started working with blob,.. its strange 
but true.

Hope this helps
regards
-Kishan


namsuelee wrote:

>> On Sat, Apr 21, 2001 at 06:30:04PM +0900, namsuelee wrote:
>> 
>>> - linux-2.4.2-rmk1 
>> 
>> Did you add any of nico's patches?
>>    _____
>>   |_____| ------------------------------------------------- ---+---+-
>>   |   |        Russell King       [EMAIL PROTECTED]      --- ---
>>   | | | |            http://www.arm.linux.org.uk/            /  /  |
>>   | +-+-+                                                     --- -+-
>>   /   |               THE developer of ARM Linux              |+| /|\
>>  /  | | |                                                     ---  |
>>     +-+-+ -------------------------------------------------  /\\\  |
> 
> 
> thanks for your answer, russell.
> however, i add patches.  
> I used kernel, linux-2.4.2, patch-2.4.2-rmk1, diff-2.4.2-rmk1-np2.
> but kernel didn't boot.
> I saw the blob source. The blob load the kernel image from 0x10000 to
> 0xc0008000 and ramdisk image from 0xd0000 to 0xc0800000. 
> So i binded three files(blob, zImage, ramdisk.gz).
> 
> %dd if=blob of=blob-linux bs=1024
> %dd if=zImage of=blob-linux bs=1024 seek=64
> %dd if=ramdisk_img.gz of=blob-linux bs=1024 seek=832
> 
> How about the above command?  Is it right?  I think it's right command.
> I think the blob loaded the kernel to ram, but maybe the kernel has problem.
> When kernel configuraton, besides disabling of 'Load kernel using Angel Debuf
> Monitor'  what should i check?   Or, what should i do to make the kernel work?
> Please tell me the howto detaily.
> Good luck to your Linux !!! 
> 
> 
> _______________________________________________
> http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
> Please visit the above address for information on this list.



_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.

Reply via email to