[Clfs-support] Qemu-system-arm error with arm varsetaipbl kernel
Satish Patel
satish at linuxbug.org
Tue Sep 16 16:15:07 PDT 2008
Regards,
Satish Patel
Quoting Borre van Doorninck <borrev at telus.net>:
> A comment from the sidelines...
>
> I am still watching this list but have not been LFSing recently. In
> regards to ARM, you might want to look at what gumstix (gumstix.com and
> variations...) has done. They have gone the Open Embedded route on
> their ARM boards. You might want to use this for ideas... Keenly
> interested in how you do, as I don't find the OE environment terribly
> clear or intuitive....
>
> Good luck!
> Borre van Doorninck
> ----- Original Message ----- From: "Satish Patel" <satish at linuxbug.org>
> To: "CLFS Support" <clfs-support at lists.cross-lfs.org>; "Binghoo Dang"
> <dangbinghoo at gmail.com>
> Sent: Tuesday, September 16, 2008 5:39 AM
> Subject: Re: [Clfs-support] Qemu-system-arm error with arm varsetaipbl kernel
>
>
>>
>> Regards,
>>
>> Satish Patel
>>
>>
>> Quoting Binghoo Dang <dangbinghoo at gmail.com>:
>>
>>> satish patel 写道:
>>>> I have compile kernel for arm with the help of sysroot CLFS books
>>>> but kernel
>>>> size is 22 MB I don't know how ??
>>>>
>>>> I got this error when I am runing it on my qemu but when I download
>>>> readyment image from debian ARM kernel it work on it..
>>>>
>>>> C:\Program Files\Qemu>qemu-system-arm.exe -M versatilepb -kernel
>>>> g:\clfskernel-
>>>> .6.22.6
>>>> qemu: fatal: Trying to execute code outside RAM or ROM at 0xc0008000
>>>>
>>>> R00=00000000 R01=00000000 R02=00000000 R03=00000000
>>>> R04=00000000 R05=00000000 R06=00000000 R07=00000000
>>>> R08=00000000 R09=00000000 R10=00000000 R11=00000000
>>>> R12=00000000 R13=00000000 R14=00000000 R15=c0008000
>>>> PSR=400001d3 -Z-- A svc32 769f741e
>>>> s00=00000000( 0) s01=00000000( 0)
>>>> d00=0000000000000000( 0)
>>>> s02=00000000( 0) s03=00000000( 0)
>>>> d01=0000000000000000( 0)
>>>> s04=00000000( 0) s05=00000000( 0)
>>>> d02=0000000000000000( 0)
>>>> s06=00000000( 0) s07=00000000( 0)
>>>> d03=0000000000000000( 0)
>>>> s08=00000000( 0) s09=00000000( 0)
>>>> d04=0000000000000000( 0)
>>>> s10=00000000( 0) s11=00000000( 0)
>>>> d05=0000000000000000( 0)
>>>> s12=00000000( 0) s13=00000000( 0)
>>>> d06=0000000000000000( 0)
>>>> s14=00000000( 0) s15=00000000( 0)
>>>> d07=0000000000000000( 0)
>>>> s16=00000000( 0) s17=00000000( 0)
>>>> d08=0000000000000000( 0)
>>>> s18=00000000( 0) s19=00000000( 0)
>>>> d09=0000000000000000( 0)
>>>> s20=00000000( 0) s21=00000000( 0)
>>>> d10=0000000000000000( 0)
>>>> s22=00000000( 0) s23=00000000( 0)
>>>> d11=0000000000000000( 0)
>>>> s24=00000000( 0) s25=00000000( 0)
>>>> d12=0000000000000000( 0)
>>>> s26=00000000( 0) s27=00000000( 0)
>>>> d13=0000000000000000( 0)
>>>> s28=00000000( 0) s29=00000000( 0)
>>>> d14=0000000000000000( 0)
>>>> s30=00000000( 0) s31=00000000( 0)
>>>> d15=0000000000000000( 0)
>>>> FPSCR: 00000000
>>>>
>>>> This application has requested the Runtime to terminate it in an unusual
>>>> way.
>>>> Please contact the application's support team for more information.
>>>>
>>>> C:\Program Files\Qemu>
>>>>
>>>> Regards,
>>>>
>>>> Satish Patel _______________________________________________
>>>> Clfs-support mailing list
>>>> Clfs-support at lists.cross-lfs.org
>>>> http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org
>>>>
>>> kernel image wrong! A gziped image is usually 1~3 M.It seems that your
>>> kernel is the vmlinux . You need to install bootloader to run the
>>> kernel image,not like that.
>>> _______________________________________________
>>> Clfs-support mailing list
>>> Clfs-support at lists.cross-lfs.org
>>> http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org
>>
>> Thanks but now thing is that which bootloader support it ? Grub ?
>> can i install grub on it any boot machine via qemu ?? is it
>> possible ? how to install bootloader on image file ??
>>
>> But one more this is when i have compile kernel for arm versetail
>> from arch/arm/config and select readyment .config file and compile
>> it and create zImage file and i have run that image file on qemu
>> its workin but my rootfs not mounted caz i dont have IDE driver in
>> that kernel but i can use NFS to mount rootfs.
>>
>> _______________________________________________
>> Clfs-support mailing list
>> Clfs-support at lists.cross-lfs.org
>> http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org
>>
>
> _______________________________________________
> Clfs-support mailing list
> Clfs-support at lists.cross-lfs.org
> http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org
Hi all
I appreciate all CLFS support i have spent 3 day behind ARM
compilation sysroot book of CLFS and i got stuck many place during
compile time, but now i have find out my problem after lots of hits..
first things is in CLFS ARM sysroot kernel compilation method is diff
then my compilation process i have used default config of versetail PB
(arch/arm/config) directory where i got ARM default config fir
versatial. i have compile my kernel with that .config file and my
kernel compile sucessful
second thing when i boot that zImage kernel on qemu i got rootfs
problem caz i font have drive of IDE. then i have read versetail PB
board hardware specs and i got it use SCSI LSI5308XX driver and then i
have compile my kernel with that driver and its able to mount my IDE
and rootfs
Third i got error on start INIT process caz in CLFS the user diff
option in /etc/inittab file
1:2345:respawn:/sbin/agetty -I '\033(K' tty1 9600
change it like this
1:2345:respawn:/sbin/agetty tty1 9600
and it start working correctly now i got Login:
Thanks all CLFS supports now i am runing ARM on qemu successfuly....:)
More information about the Clfs-support
mailing list