From: Sathish V. <sv...@so...> - 2000-09-07 10:47:19
|
Hello, I seem to have a serious problem with the kernel I image built...This is all I get and then silence. --------------- Linux version 2.4.0-test5 (satish@posix) (gcc version 2.95.2 19991024 (release)) #1 Wed Sep 6 15:05:45 IST 2000 On node 0 totalpages: 8192 zone(0): 8192 pages. zone(1): 0 pages. zone(2): 0 pages. Kernel command line: mem=32M sh_mv=SolutionEngine console=ttySC1,115200 CPU clock: 80.00MHz Bus clock: 20.00MHz Module clock: 20.00MHz Interval = 50000 ------------------ It is true that my ramdisk does not include a 'linuxrc' or 'init' but atleast I expected the ramdisk to load. Is this a serial console problem ? Should I apply the sci patches mentioned in the linuxsh-dev mailing list ? Or is it due to the fact that cpu is 7709 and not 7709A ? Thank you for any pointers sathish My environment: MS7709SE01 target board (note : cpu is SH7709, not 7709A ) 2.4.0-test5 kernel + linux-sh-2000-07-31 diff GDB session: set {long}0x8c001000 = 1 set {long}0x8c001004 = 0 set {long}0x8c001008 = 0x0200 set {long}0x8c00100c = 1 set {long}0x8c001010 = 0x00360000 set {long}0x8c001014 = 0x00200000 set {long}0x8c001018 = 0 set $i = 0x8c001100 # set *$i++ = 0 set *$i++ = 'm' set *$i++ = 'e' ..... ----------------------- This is how I built the ram disk: mkdir rootfs mkdir rootfs/dev mknod rootfs/dev/ttySC0 c 204 8 mknod rootfs/dev/ttySC1 c 204 9 ln -s rootfs/dev/ttySC1 rootfs/dev/console mkdir rootfs/lib (cd $SH_INSTALL/sh-linux-gnu/lib ; tar cf - *.so*) | \ (cd rootfs/lib ; tar xf -) mkdir rootfs/{proc,sbin,bin,usr,etc} rootfs/usr/{bin,sbin} dd if=/dev/zero of=/dev/ram0 bs=1k count=4096 /sbin/mke2fs -F -vm0 /dev/ram0 4096 mkdir /tmp/fs mount /dev/ram0 /tmp/fs (cd rootfs ; tar cf - .) | (cd /tmp/fs ; tar xvf -) umount /tmp/fs dd if=/dev/ram0 of=/var/tmp/initrd.img cat /var/tmp/initrd.img | gzip -c > initrd.img sh-linux-gnu-objcopy -I binary -O elf32-shl initrd.img \ initrd.elf --adjust-vma=0x8c360000 |