From: Fabio G. <fg...@ti...> - 2002-04-16 15:59:59
|
Hi, when I try to boot form ata cf I read something like the following: SH IPL+g version 0.9, Copyright (C) 2000 Free Software Foundation, Inc. This software comes with ABSOLUTELY NO WARRANTY; for details type `w'. This is free software, and you are welcome to redistribute it under certain conditions; type `l' for details. > b init_ata_card_config() : exit. Disk drive detected: SanDisk SDCFB-16 vde 1.10 24352331513 Set Transfer Mode result: 51 Initialize Device Parameters result: 50 IDLE result: 50 Booting... LILO boot: first-image Loading 2.4.18........done. Uncompressing Linux... Ok, booting the kernel. ...and no more. If I execute the same kernel using g command of sh-ipl+g I can see the correct behaviour. What Do I have to check? Thanks Note: 1) this is ,my lilo.conf which I use to run lilo -r /mnt/target with: linear boot=/dev/hde disk=/dev/hde bios=0x80 vga=normal delay=30 image=/boot/zImage label=2.4.18 root=/dev/hda1 read-only 2) this is my .gdbinit which I run sh-linux-gnu-gdb echo set endian little \n set endian little echo set remotebaud 115200 \n set remotebaud 115200 echo target remote /dev/ttyS0 \n target remote /dev/ttyS0 echo load \n load /root/sh/linux/arch/sh/boot/compressed/vmlinux set {long}0x8c001000 = 1 set {long}0x8c001004 = 0 # Set this value to 0x0301 to boot from /dev/hda1 # or to 0x0100 to boot from the initial ramdisk. set {long}0x8c001008 = 0x0100 set {long}0x8c00100c = 1 # This value is the initial ramdisk RAM start address set {long}0x8c001010 = 0x0 # This value is the initial ramdisk RAM size in bytes set {long}0x8c001014 = 0x0 set {long}0x8c001018 = 0 # The kernel command line. Comment out the second line and uncomment # out the remainder if you want to use the example. set $i = 0x8c001100 # set *$i++ = 0 #set *$i++ = 'm' #set *$i++ = 'e' #set *$i++ = 'm' #set *$i++ = '=' #set *$i++ = '3' #set *$i++ = '2' #set *$i++ = 'M' #set *$i++ = ' ' #set *$i++ = 's' #set *$i++ = 'h' #set *$i++ = '_' #set *$i++ = 'm' #set *$i++ = 'v' #set *$i++ = '=' #set *$i++ = 'c' #set *$i++ = 'a' #set *$i++ = 'r' #set *$i++ = 'd' #set *$i++ = '-' #set *$i++ = 'e' #set *$i++ = '0' #set *$i++ = '9' #set *$i++ = 'a' #set *$i++ = ' ' set *$i++ = 'c' set *$i++ = 'o' set *$i++ = 'n' set *$i++ = 's' set *$i++ = 'o' set *$i++ = 'l' set *$i++ = 'e' set *$i++ = '=' set *$i++ = 't' set *$i++ = 't' set *$i++ = 'y' set *$i++ = 'S' set *$i++ = 'C' set *$i++ = '0' set *$i++ = ',' set *$i++ = '1' set *$i++ = '1' set *$i++ = '5' set *$i++ = '2' set *$i++ = '0' set *$i++ = '0' set *$i++ = 0 # Uncommenting this will allow you to view the remote protocol packets. # set remotedebug 1 |