Newbie and linux on virtex-II ppc
Hello,
im a student from germany and i try to run linux on a virtex-II with integrated powerpc.
i use the developer board DS-DB-2VP4/7-FG456 from Memec ( i think its now avnet)
i hope my questions are not too stupid :-)
what is running :
- Xilinx EDK project (standalone program running fine, and BSP files
are generated)
the project has only one UARTLITE, 82MB SDRAM and a few kByte
blockram, and the systemace interface
- crosscompiler toolchain works
- after modified some defines in the xparameters.h i got a linux 2.4.
kernel (linuxppc) without compiler errors
and yes, the uartlite driver is enabled :)
but, when downloading the zImage.elf via XMD to the SDRAM and starting it with the run command nothing happens , or i think that nothings happens because the serial port is quiet.
is it possible to run a kernel that way ? or need i some kind of bootloader ?
or is this complete the wrong way ?
Regards
Georg
-----------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------
Forschungszentrum Jülich GmbH
52425 Jülich
Sitz der Gesellschaft: Jülich
Eingetragen im Handelsregister des Amtsgerichts Düren Nr. HR B 3498 Vorsitzende des Aufsichtsrats: MinDirig'in Bärbel Brumme-Bothe
Vorstand: Prof. Dr. Achim Bachem (Vorsitzender), Dr. Ulrich Krafft (stellv. Vorsitzender)
-----------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------
Quoted 12 lines · schardt
im a student from germany and i try to run linux on a virtex-II with integrated powerpc.
i use the developer board DS-DB-2VP4/7-FG456 from Memec ( i think its now avnet)what is running :
- Xilinx EDK project (standalone program running fine, and BSP files
are generated)
the project has only one UARTLITE, 82MB SDRAM and a few kByte
blockram, and the systemace interface
Quoted 4 lines
- crosscompiler toolchain works
- after modified some defines in the
xparameters.hi got a linux 2.4.
kernel (linuxppc) without compiler errors
I strongly recommend trying to bring up a 2.6 kernel, it's much easier.
Quoted 1 line
and yes, the uartlite driver is enabled :)
Don't modify xparams by hand; it's not worth the trouble. Go into software setting in your EDK project and select 'linux-2.6' as the OS.
Generate the libraries and copy the generated xparameters_ml40x.h
into your kernel tree.
Quoted 5 lines
but, when downloading the zImage.elf via XMD to the SDRAM and starting it with the run command nothing happens , or i think that nothings happens because the serial port is quiet.
You can always use System.map in the kernel tree to find out where __log_buf was linked to. Look at that location with the debugger to see if there is a crash message that didn't get printed out.
Quoted 4 lines
is it possible to run a kernel that way ? or need i some kind of bootloader ?
or is this complete the wrong way ?
Yes, I use this same method to bring up a kernel on Virtex boards which don't have a bootloader.
Signature · 4 lines
Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd. [email protected] (403) 399-0195
Quoted 14 lines · Grant Likely
Quoted 12 lines · schardt
im a student from germany and i try to run linux on a virtex-II with integrated powerpc.
i use the developer board DS-DB-2VP4/7-FG456 from Memec ( i think its now avnet)what is running :
- Xilinx EDK project (standalone program running fine, and BSP files
are generated)
the project has only one UARTLITE, 82MB SDRAM and a few kByte
blockram, and the systemace interface
Quoted 8 lines
Quoted 5 lines
- crosscompiler toolchain works
- after modified some defines in the
xparameters.hi got a linux 2.4.
kernel (linuxppc) without compiler errorsI strongly recommend trying to bring up a 2.6 kernel, it's much easier.
okay, i'll try it :)
Quoted 10 lines
Quoted 3 lines
and yes, the uartlite driver is enabled :)
Don't modify xparams by hand; it's not worth the trouble. Go into software setting in your EDK project and select 'linux-2.6' as the OS.
Generate the libraries and copy the generatedxparameters_ml40x.h
into your kernel tree.
i dont have this option. do i need a update ?
G
-----------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------
Forschungszentrum Jülich GmbH
52425 Jülich
Sitz der Gesellschaft: Jülich
Eingetragen im Handelsregister des Amtsgerichts Düren Nr. HR B 3498 Vorsitzende des Aufsichtsrats: MinDirig'in Bärbel Brumme-Bothe
Vorstand: Prof. Dr. Achim Bachem (Vorsitzender), Dr. Ulrich Krafft (stellv. Vorsitzender)
-----------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------
Quoted 7 lines · schardt
Quoted 6 lines
Don't modify xparams by hand; it's not worth the trouble. Go into software setting in your EDK project and select 'linux-2.6' as the OS.
Generate the libraries and copy the generatedxparameters_ml40x.h
into your kernel tree.i dont have this option. do i need a update ?
Probably, but you can use the montavista 2.4 option also. You're only interested in the xparameters.h file, not the whole BSP. (Letting EDK generate files into your kernel tree is scary)
Cheers,
g.
Signature · 4 lines
Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd. [email protected] (403) 399-0195
Good morning,
last night i got a 2.6. kernel ready and ive got a "Now booting the kernel" message on the serial port *yeah* :)
... but nothing more :(
the __log_buffer says something like "Linux version ..." is there a more useable way to read out the buffer ? i use the xmd debugger and the mrd command
Regards
Georg
Quoted 42 lines · Grant Likely
Quoted 12 lines · schardt
im a student from germany and i try to run linux on a virtex-II with integrated powerpc.
i use the developer board DS-DB-2VP4/7-FG456 from Memec ( i think its now avnet)what is running :
- Xilinx EDK project (standalone program running fine, and BSP files
are generated)
the project has only one UARTLITE, 82MB SDRAM and a few kByte
blockram, and the systemace interfaceQuoted 5 lines
- crosscompiler toolchain works
- after modified some defines in the
xparameters.hi got a linux 2.4.
kernel (linuxppc) without compiler errorsI strongly recommend trying to bring up a 2.6 kernel, it's much easier.
Quoted 2 lines
and yes, the uartlite driver is enabled :)
Don't modify xparams by hand; it's not worth the trouble. Go into software setting in your EDK project and select 'linux-2.6' as the OS.
Generate the libraries and copy the generatedxparameters_ml40x.h
into your kernel tree.Quoted 4 lines
but, when downloading the zImage.elf via XMD to the SDRAM and starting it with the run command nothing happens , or i think that nothings happens because the serial port is quiet.
You can always use System.map in the kernel tree to find out where
__log_bufwas linked to. Look at that location with the debugger to see if there is a crash message that didn't get printed out.
Quoted 9 lines
Quoted 4 lines
is it possible to run a kernel that way ? or need i some kind of bootloader ?
or is this complete the wrong way ?Yes, I use this same method to bring up a kernel on Virtex boards which don't have a bootloader.
-----------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------
Forschungszentrum Jülich GmbH
52425 Jülich
Sitz der Gesellschaft: Jülich
Eingetragen im Handelsregister des Amtsgerichts Düren Nr. HR B 3498 Vorsitzende des Aufsichtsrats: MinDirig'in Bärbel Brumme-Bothe
Vorstand: Prof. Dr. Achim Bachem (Vorsitzender), Dr. Ulrich Krafft (stellv. Vorsitzender)
-----------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 9 lines · schardt
Hi Grant,
i need your help again :)
my 2.6. kernel is running. now i want to add the system ace driver to mount a rootfs on the systemace-flash.
but i don't know how to import the EKD driver to the linux kernel, or is there a ready to go driver in the kernel tree ?
i didn't find anything...
You've got 2 choices:
1. use the new sysace driver; it's already in mainline. The new driver is faster, but it doesn't handle hotswap of the CF card (yet)
2. use the EDK driver; easiest way is to use my tree which already has it merged: http://git.secretlab.ca
Cheers,
g.
Signature · 4 lines
Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd. [email protected] (403) 399-0195
Quoted 13 lines · Grant Likely
Quoted 10 lines · schardt
Hi Grant,
i need your help again :)
my 2.6. kernel is running. now i want to add the system ace driver to mount a rootfs on the systemace-flash.
but i don't know how to import the EKD driver to the linux kernel, or is there a ready to go driver in the kernel tree ?
i didn't find anything...
Quoted 4 lines
You've got 2 choices:
1. use the new sysace driver; it's already in mainline. The new driver is faster, but it doesn't handle hotswap of the CF card (yet)
But where in menuconfig could i find the sysace driver ? i'm blind, i think :)
Quoted 4 lines
2. use the EDK driver; easiest way is to use my tree which already has it merged: http://git.secretlab.ca
i made an EDK update and now i have the linux_2_2 os in the software options. the bsp with all drivers is generated.
and now ?
- copy to kernel tree
- use the xmake to build the kernel, or make ?
and why is there no dokumentation :)
Thanks a lot
Georg
Quoted 4 lines
Cheers,
g.
-----------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------
Forschungszentrum Jülich GmbH
52425 Jülich
Sitz der Gesellschaft: Jülich
Eingetragen im Handelsregister des Amtsgerichts Düren Nr. HR B 3498 Vorsitzende des Aufsichtsrats: MinDirig'in Bärbel Brumme-Bothe
Vorstand: Prof. Dr. Achim Bachem (Vorsitzender), Dr. Ulrich Krafft (stellv. Vorsitzender)
-----------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------
Quoted 8 lines · schardt
Quoted 5 lines · Grant Likely
You've got 2 choices:
1. use the new sysace driver; it's already in mainline. The new driver is faster, but it doesn't handle hotswap of the CF card (yet)But where in menuconfig could i find the sysace driver ? i'm blind, i think :)
Which version of kernel are you using? The new sysace driver was merged into 2.6.22
Quoted 10 lines
Quoted 5 lines
2. use the EDK driver; easiest way is to use my tree which already has it merged: http://git.secretlab.ca
i made an EDK update and now i have the
linux_2_2os in the software options. the bsp with all drivers is generated.
and now ?
- copy to kernel tree
- use the xmake to build the kernel, or make ?
Don't use EDK to build you're kernel. It's too fragile and you need to use the *exact* version of kernel that EDK expects. You're better off to manually copy the xparams file from the generated BSP. (ie. Don't let EDK know where your real kernel source tree is)
Quoted 2 lines
and why is there no dokumentation :)
Care to write some?
g.
Signature · 4 lines
Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd. [email protected] (403) 399-0195
Quoted 9 lines · Grant Likely
Quoted 7 lines · schardt
Quoted 5 lines · Grant Likely
You've got 2 choices:
1. use the new sysace driver; it's already in mainline. The new driver is faster, but it doesn't handle hotswap of the CF card (yet)
Quoted 8 lines
Quoted 3 lines
But where in menuconfig could i find the sysace driver ? i'm blind, i think :)
Which version of kernel are you using? The new sysace driver was merged into 2.6.22
linux-2.6.22.5
Quoted 11 lines
Quoted 11 lines
Quoted 5 lines
2. use the EDK driver; easiest way is to use my tree which already hasGrant Likely <[email protected]> it merged: http://git.secretlab.ca
i made an EDK update and now i have the
linux_2_2os in the software options. the bsp with all drivers is generated.
and now ?
- copy to kernel tree
- use the xmake to build the kernel, or make ?
Quoted 6 lines
Grant Likely <[email protected]>
Don't use EDK to build you're kernel. It's too fragile and you need to use the *exact* version of kernel that EDK expects. You're better off to manually copy the xparams file from the generated BSP. (ie. Don't let EDK know where your real kernel source tree is)
wuh ? i dont need all the driver from the generatet bsp files ? what about the gpios and leds ?
i compile the kernel with a self made cross toolchain, not with the edk. until now i copied the bsp files into the kernel tree (modfied some defines) und compile with "make zImage". But know with the linux_2_6 option there is some more stuff in the bsp directory and i don't know what to do with :)
Quoted 7 lines
Quoted 3 lines
and why is there no dokumentation :)
Care to write some?
huh, not really :)
im just a little newbie
G
Quoted 3 lines
g.
-----------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------
Forschungszentrum Jülich GmbH
52425 Jülich
Sitz der Gesellschaft: Jülich
Eingetragen im Handelsregister des Amtsgerichts Düren Nr. HR B 3498 Vorsitzende des Aufsichtsrats: MinDirig'in Bärbel Brumme-Bothe
Vorstand: Prof. Dr. Achim Bachem (Vorsitzender), Dr. Ulrich Krafft (stellv. Vorsitzender)
-----------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------
Quoted 14 lines · schardt
Quoted 13 lines · Grant Likely
Quoted 10 lines · schardt
Quoted 5 lines · Grant Likely
You've got 2 choices:
1. use the new sysace driver; it's already in mainline. The new driver is faster, but it doesn't handle hotswap of the CF card (yet)But where in menuconfig could i find the sysace driver ? i'm blind, i think :)
Quoted 5 lines
Quoted 4 lines
Which version of kernel are you using? The new sysace driver was merged into 2.6.22
linux-2.6.22.5
Should be under drivers->block devices then.
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 5 lines
2. use the EDK driver; easiest way is to use my tree which already hasGrant Likely <[email protected]> it merged: http://git.secretlab.ca
i made an EDK update and now i have the
linux_2_2os in the software options. the bsp with all drivers is generated.
and now ?
- copy to kernel tree
- use the xmake to build the kernel, or make ?
Quoted 8 lines
Quoted 6 lines
Grant Likely <[email protected]>
Don't use EDK to build you're kernel. It's too fragile and you need to use the *exact* version of kernel that EDK expects. You're better off to manually copy the xparams file from the generated BSP. (ie. Don't let EDK know where your real kernel source tree is)wuh ? i dont need all the driver from the generatet bsp files ? what about the gpios and leds ?
Most drivers are already in my tree; any that are missing you can copy over manually.
Quoted 7 lines
i compile the kernel with a self made cross toolchain, not with the edk. until now i copied the bsp files into the kernel tree (modfied some defines) und compile with "make zImage". But know with the
linux_2_6option there is some more stuff in the bsp directory and i don't know what to do with :)Quoted 1 line
Quoted 6 lines
Quoted 4 lines
Quoted 1 line
and why is there no dokumentation :)
Care to write some?
huh, not really :)
im just a little newbie
best way to learn. :-)
g.
Signature · 4 lines
Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd. [email protected] (403) 399-0195
Okay, im really blind i think, so i started again :
- 2.6.22 kernel from kernel.org
- cp /arch/ppc/configs/ml300_defconfig .config
- edit Makefile to use ARCH=ppc and CROSS_COMPILE=powerpc-405-linux-gnu-
- copy xparams
- make menuconfig -> no SYSACE blockdevice :((( *aaaaargh*
i will try the grant kernel now :)
G
Quoted 71 lines · Grant Likely
Quoted 18 lines · schardt
Quoted 16 lines · Grant Likely
Quoted 13 lines · schardt
Quoted 6 lines · Grant Likely
You've got 2 choices:
1. use the new sysace driver; it's already in mainline. The new driver is faster, but it doesn't handle hotswap of the CF card (yet)But where in menuconfig could i find the sysace driver ? i'm blind, i think :)
Quoted 7 lines
Quoted 5 lines
Which version of kernel are you using? The new sysace driver was merged into 2.6.22
linux-2.6.22.5
Should be under
drivers->blockdevices then.Quoted 20 lines
Quoted 13 lines
Quoted 6 lines
Quoted 6 lines
2. use the EDK driver; easiest way is to use my tree which already hasGrant Likely <[email protected]> it merged: http://git.secretlab.ca
Quoted 7 lines
i made an EDK update and now i have the
linux_2_2os in the software options. the bsp with all drivers is generated.
and now ?
- copy to kernel tree
- use the xmake to build the kernel, or make ?Quoted 7 lines
Grant Likely <[email protected]>
Don't use EDK to build you're kernel. It's too fragile and you need to use the *exact* version of kernel that EDK expects. You're better off to manually copy the xparams file from the generated BSP. (ie. Don't let EDK know where your real kernel source tree is)Quoted 3 lines
wuh ? i dont need all the driver from the generatet bsp files ? what about the gpios and leds ?
Most drivers are already in my tree; any that are missing you can copy over manually.
Quoted 12 lines
i compile the kernel with a self made cross toolchain, not with the edk. until now i copied the bsp files into the kernel tree (modfied some defines) und compile with "make zImage". But know with the
linux_2_6option there is some more stuff in the bsp directory and i don't know what to do with :)Quoted 5 lines
Quoted 2 lines
and why is there no dokumentation :)
Care to write some?
Quoted 8 lines
Quoted 3 lines
huh, not really :)
im just a little newbiebest way to learn. :-)
g.
-----------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------
Forschungszentrum Jülich GmbH
52425 Jülich
Sitz der Gesellschaft: Jülich
Eingetragen im Handelsregister des Amtsgerichts Düren Nr. HR B 3498 Vorsitzende des Aufsichtsrats: MinDirig'in Bärbel Brumme-Bothe
Vorstand: Prof. Dr. Achim Bachem (Vorsitzender), Dr. Ulrich Krafft (stellv. Vorsitzender)
-----------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------
Quoted 5 lines · schardt
Okay, im really blind i think, so i started again :
- 2.6.22 kernel from kernel.org
- cp /arch/ppc/configs/ml300_defconfig .config
- editMakefileto use ARCH=3Dppc and CROSS_COMPILE=3Dpowerpc-405-linux-g=
nu-
Quoted 2 lines
- copy xparams
- make menuconfig -> no SYSACE blockdevice :((( *aaaaargh*
grant@trillian:~/linux-hacking/linux-2.6$ grep SYSACE drivers/block/Kconfig=
-A 6
config XILINX_SYSACE
tristate "Xilinx SystemACE support"
depends on 4xx
help
Include support for the Xilinx SystemACE CompactFlash interfaceQuoted 20 lines
i will try the grant kernel now :)
G
Quoted 13 lines · Grant Likely
Quoted 11 lines · schardt
Quoted 9 lines · Grant Likely
Quoted 6 lines · schardt
Quoted 3 lines · Grant Likely
You've got 2 choices:
1. use the new sysace driver; it's already in mainline. The new driver is faster, but it doesn't handle hotswap of the CF card (yet=
)
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 3 lines
But where in menuconfig could i find the sysace driver ? i'm blind, =
i
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 3 lines
think :)
Which version of kernel are you using? The new sysace driver was merged into 2.6.22
Quoted 7 lines
Quoted 7 lines
Quoted 2 lines
linux-2.6.22.5
Should be under
drivers->blockdevices then.Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
2. use the EDK driver; easiest way is to use my tree which already =
hasGrant Likely <[email protected]>
Quoted 23 lines
Quoted 23 lines
Quoted 22 lines
Quoted 12 lines
Quoted 5 lines
Quoted 5 lines
it merged: http://git.secretlab.ca
Quoted 7 lines
i made an EDK update and now i have the
linux_2_2os in the software options. the bsp with all drivers is generated.
and now ?
- copy to kernel tree
- use the xmake to build the kernel, or make ?Quoted 7 lines
Grant Likely <[email protected]>
Don't use EDK to build you're kernel. It's too fragile and you need to use the *exact* version of kernel that EDK expects. You're better off to manually copy the xparams file from the generated BSP. (ie. Don't let EDK know where your real kernel source tree is)wuh ? i dont need all the driver from the generatet bsp files ? what about the gpios and leds ?
Quoted 5 lines
Quoted 5 lines
Most drivers are already in my tree; any that are missing you can copy over manually.
Quoted 1 line
i compile the kernel with a self made cross toolchain, not with the ed=
k.
Quoted 15 lines
Quoted 15 lines
Quoted 14 lines
until now i copied the bsp files into the kernel tree (modfied some defines) und compile with "make zImage". But know with the
linux_2_6option there is some more stuff in the bsp directory and i don't know what to do with :)Quoted 5 lines
Quoted 2 lines
and why is there no dokumentation :)
Care to write some?
huh, not really :)
im just a little newbie
Quoted 8 lines
Quoted 4 lines
best way to learn. :-)
g.
-------------------------------------------------------------------------=
----------------
Quoted 1 line
-------------------------------------------------------------------------=
----------------
Quoted 7 lines
Forschungszentrum J=FClich GmbH
52425 J=FClichSitz der Gesellschaft: J=FClich
Eingetragen im Handelsregister des Amtsgerichts D=FCren Nr. HR B 3498 Vorsitzende des Aufsichtsrats: MinDirig'in B=E4rbel Brumme-Bothe
Vorstand: Prof. Dr. Achim Bachem (Vorsitzender), Dr. Ulrich Krafft (stell=
v.
Quoted 2 lines
Vorsitzender)
-------------------------------------------------------------------------=
----------------
Quoted 1 line
-------------------------------------------------------------------------=
----------------
Quoted 5 lines
_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded
--=20
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
[email protected]
(403) 399-0195
Quoted 5 lines · Grant Likely
Quoted 4 lines · schardt
Okay, im really blind i think, so i started again :
- 2.6.22 kernel from kernel.org
- cp /arch/ppc/configs/ml300_defconfig .config
BTW, "make ml300_defconfig" does this for you.
g.
Signature · 4 lines
Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd. [email protected] (403) 399-0195
Step by step i becomes running :)
kernel is booting, root-fs is mounting on systemace, busybox compiled and rootfs installed (i used klingauf's mkrootfs)
but now it says:
[ 2.964978] Freeing unused kernel memory: 92k init [ 3.081332] Warning: unable to open an initial console. [ 3.306406] request_module: runaway loop modprobe binfmt-4c46 [ 3.375612] request_module: runaway loop modprobe binfmt-4c46 [ 3.446800] request_module: runaway loop modprobe binfmt-4c46
and i don't know what this is :(
Can give me a hint, where to look ?
thx
Georg
Quoted 6 lines · Grant Likely
Quoted 4 lines · Grant Likely
Quoted 2 lines · schardt
Okay, im really blind i think, so i started again :
Quoted 9 lines
Quoted 3 lines
Quoted 3 lines
- 2.6.22 kernel from kernel.org
- cp /arch/ppc/configs/ml300_defconfig .configBTW, "make
ml300_defconfig" does this for you.g.
-----------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------
Forschungszentrum Jülich GmbH
52425 Jülich
Sitz der Gesellschaft: Jülich
Eingetragen im Handelsregister des Amtsgerichts Düren Nr. HR B 3498 Vorsitzende des Aufsichtsrats: MinDirig'in Bärbel Brumme-Bothe
Vorstand: Prof. Dr. Achim Bachem (Vorsitzender), Dr. Ulrich Krafft (stellv. Vorsitzender)
-----------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------
me again :)
i added a /dev/ttyUL0 (mknod ttyUL0 c 204 187) device and and a console link to it.
no warning anymore, but i think i'm listen on the "wrong" console ??? i see bootmessages
and an errormessage from init ("init: can't open /dev/null: no such device or directory")
but the messages from init.d/rcS did not appear
this is my inittab (from klingauf mkrootfs):
::sysinit:/etc/init.d/rcS
::askfirst:-/bin/sh
::ctrlaltdel:/sbin/reboot
::shutdown:/sbin/swapoff -a
::shutdown:/bin/umount -a -r
::restart:/sbin/init
::respawn:/sbin/getty 9600 tts/0
Georg
Quoted 35 lines · schardt
Step by step i becomes running :)
kernel is booting, root-fs is mounting on systemace, busybox compiled and rootfs installed (i used klingauf's mkrootfs)
but now it says:
[ 2.964978] Freeing unused kernel memory: 92k init [ 3.081332] Warning: unable to open an initial console. [ 3.306406] request_module: runaway loop modprobe binfmt-4c46 [ 3.375612] request_module: runaway loop modprobe binfmt-4c46 [ 3.446800] request_module: runaway loop modprobe binfmt-4c46and i don't know what this is :(
Can give me a hint, where to look ?
thx
GeorgGrant Likely wrote:
=20Quoted 14 lines · Grant Likely
=20
=20Quoted 9 lines · schardt
=20 =20Quoted 6 lines
Okay, im really blind i think, so i started again :
- 2.6.22 kernel from kernel.org
- cp /arch/ppc/configs/ml300_defconfig .config=20 =20BTW, "make
ml300_defconfig" does this for you.
Quoted 8 lines
Quoted 4 lines
g.
=20
=20-----------------------------------------------------------------------=
------------------
Quoted 1 line
-----------------------------------------------------------------------=
------------------
Quoted 7 lines
Forschungszentrum J=FClich GmbH
52425 J=FClichSitz der Gesellschaft: J=FClich
Eingetragen im Handelsregister des Amtsgerichts D=FCren Nr. HR B 3498 Vorsitzende des Aufsichtsrats: MinDirig'in B=E4rbel Brumme-Bothe
Vorstand: Prof. Dr. Achim Bachem (Vorsitzender), Dr. Ulrich Krafft (ste=
llv.=20
Quoted 2 lines
Vorsitzender)
-----------------------------------------------------------------------=
------------------
Quoted 1 line
-----------------------------------------------------------------------=
------------------
Quoted 6 lines
_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded=20
-------------------------------------------------------------------------=
----------------
-------------------------------------------------------------------------=
----------------
Forschungszentrum J=FClich GmbH
52425 J=FClich
Sitz der Gesellschaft: J=FClich
Eingetragen im Handelsregister des Amtsgerichts D=FCren Nr. HR B 3498 Vorsitzende des Aufsichtsrats: MinDirig'in B=E4rbel Brumme-Bothe
Vorstand: Prof. Dr. Achim Bachem (Vorsitzender), Dr. Ulrich Krafft (stell= v.=20
Vorsitzender)
-------------------------------------------------------------------------=
----------------
-------------------------------------------------------------------------=
----------------
Quoted 4 lines · schardt
me again :)
i added a
/dev/ttyUL0(mknod ttyUL0 c 204 187) device and and a console link to it.
Yeah, you don't want a symlink, you want a console device node instead:
mknod /dev/tty 5 0
mknod /dev/console 5 1
Quoted 4 lines
no warning anymore, but i think i'm listen on the "wrong" console ??? i see bootmessages
and an errormessage from init ("init: can't open/dev/null: no such device or directory")
I would say you need to add a /dev/null device node, or fix it's permissions. :-)
mknod /dev/null 1 3
Quoted 13 lines
but the messages from init.d/rcS did not appear
this is my inittab (from klingauf mkrootfs):
::sysinit:/etc/init.d/rcS
::askfirst:-/bin/sh
::ctrlaltdel:/sbin/reboot
::shutdown:/sbin/swapoff -a
::shutdown:/bin/umount -a -r
::restart:/sbin/init
::respawn:/sbin/getty 9600 tts/0
Quoted 46 lines
Georg
Quoted 43 lines · schardt
Step by step i becomes running :)
kernel is booting, root-fs is mounting on systemace, busybox compiled and rootfs installed (i used klingauf's mkrootfs)
but now it says:
[ 2.964978] Freeing unused kernel memory: 92k init [ 3.081332] Warning: unable to open an initial console. [ 3.306406] request_module: runaway loop modprobe binfmt-4c46 [ 3.375612] request_module: runaway loop modprobe binfmt-4c46 [ 3.446800] request_module: runaway loop modprobe binfmt-4c46and i don't know what this is :(
Can give me a hint, where to look ?
thx
GeorgQuoted 8 lines · Grant Likely
Quoted 5 lines · Grant Likely
Quoted 2 lines · schardt
Okay, im really blind i think, so i started again :
Quoted 10 lines
Quoted 4 lines
Quoted 4 lines
- 2.6.22 kernel from kernel.org
- cp /arch/ppc/configs/ml300_defconfig .configBTW, "make
ml300_defconfig" does this for you.g.
-----------------------------------------------------------------------=
------------------
Quoted 1 line
Quoted 1 line
-----------------------------------------------------------------------=
------------------
Quoted 7 lines
Quoted 7 lines
Forschungszentrum J=FClich GmbH
52425 J=FClichSitz der Gesellschaft: J=FClich
Eingetragen im Handelsregister des Amtsgerichts D=FCren Nr. HR B 3498 Vorsitzende des Aufsichtsrats: MinDirig'in B=E4rbel Brumme-Bothe
Vorstand: Prof. Dr. Achim Bachem (Vorsitzender), Dr. Ulrich Krafft (ste=
llv.
Quoted 2 lines
Quoted 2 lines
Vorsitzender)
-----------------------------------------------------------------------=
------------------
Quoted 1 line
Quoted 1 line
-----------------------------------------------------------------------=
------------------
Quoted 10 lines
Quoted 6 lines
_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded-------------------------------------------------------------------------=
----------------
Quoted 1 line
-------------------------------------------------------------------------=
----------------
Quoted 7 lines
Forschungszentrum J=FClich GmbH
52425 J=FClichSitz der Gesellschaft: J=FClich
Eingetragen im Handelsregister des Amtsgerichts D=FCren Nr. HR B 3498 Vorsitzende des Aufsichtsrats: MinDirig'in B=E4rbel Brumme-Bothe
Vorstand: Prof. Dr. Achim Bachem (Vorsitzender), Dr. Ulrich Krafft (stell=
v.
Quoted 2 lines
Vorsitzender)
-------------------------------------------------------------------------=
----------------
Quoted 1 line
-------------------------------------------------------------------------=
----------------
Quoted 5 lines
_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded
--=20
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
[email protected]
(403) 399-0195
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 5 lines · schardt
Hi Grant,
i added the devices, but stil no tty access
i have no vga-card or something to use, i'm listening on one serial port. i think i must forward the tty to ttyUL0 or something like that ???=
?
You should check that /etc/inittab is using the correct device.
BTW, Please remember to CC: the mailing list
Cheers,
g.
Quoted 10 lines
Georg
Quoted 5 lines · Grant Likely
Quoted 3 lines · schardt
me again :)
i added a
/dev/ttyUL0(mknod ttyUL0 c 204 187) device and and a consol=
e
Quoted 10 lines
Quoted 10 lines
Quoted 2 lines
link to it.
Yeah, you don't want a symlink, you want a console device node instead:
mknod
/dev/tty5 0
mknod/dev/console5 1Quoted 1 line
no warning anymore, but i think i'm listen on the "wrong" console ??? =
i
Quoted 66 lines
Quoted 66 lines
Quoted 4 lines
see bootmessages
and an errormessage from init ("init: can't open/dev/null: no such device or directory")I would say you need to add a
/dev/nulldevice node, or fix it's permissions. :-)mknod
/dev/null1 3Quoted 55 lines
but the messages from init.d/rcS did not appear
this is my inittab (from klingauf mkrootfs):
::sysinit:/etc/init.d/rcS
::askfirst:-/bin/sh
::ctrlaltdel:/sbin/reboot
::shutdown:/sbin/swapoff -a
::shutdown:/bin/umount -a -r
::restart:/sbin/init
::respawn:/sbin/getty 9600 tts/0Georg
Quoted 39 lines · schardt
Step by step i becomes running :)
kernel is booting, root-fs is mounting on systemace, busybox compiled and rootfs installed (i used klingauf's mkrootfs)
but now it says:
[ 2.964978] Freeing unused kernel memory: 92k init [ 3.081332] Warning: unable to open an initial console. [ 3.306406] request_module: runaway loop modprobe binfmt-4c46 [ 3.375612] request_module: runaway loop modprobe binfmt-4c46 [ 3.446800] request_module: runaway loop modprobe binfmt-4c46and i don't know what this is :(
Can give me a hint, where to look ?
thx
GeorgQuoted 17 lines · Grant Likely
Quoted 11 lines · Grant Likely
Quoted 7 lines · schardt
Okay, im really blind i think, so i started again :
- 2.6.22 kernel from kernel.org
- cp /arch/ppc/configs/ml300_defconfig .configBTW, "make
ml300_defconfig" does this for you.
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 5 lines
g.
---------------------------------------------------------------------=
--------------------
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
---------------------------------------------------------------------=
--------------------
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Forschungszentrum J=FClich GmbH
52425 J=FClichSitz der Gesellschaft: J=FClich
Eingetragen im Handelsregister des Amtsgerichts D=FCren Nr. HR B 3498 Vorsitzende des Aufsichtsrats: MinDirig'in B=E4rbel Brumme-Bothe
Vorstand: Prof. Dr. Achim Bachem (Vorsitzender), Dr. Ulrich Krafft (s=
tellv.
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Vorsitzender)
---------------------------------------------------------------------=
--------------------
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
---------------------------------------------------------------------=
--------------------
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 7 lines
_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded----------------------------------------------------------------------=
-------------------
Quoted 1 line
Quoted 1 line
Quoted 1 line
----------------------------------------------------------------------=
-------------------
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Forschungszentrum J=FClich GmbH
52425 J=FClichSitz der Gesellschaft: J=FClich
Eingetragen im Handelsregister des Amtsgerichts D=FCren Nr. HR B 3498 Vorsitzende des Aufsichtsrats: MinDirig'in B=E4rbel Brumme-Bothe
Vorstand: Prof. Dr. Achim Bachem (Vorsitzender), Dr. Ulrich Krafft (st=
ellv.
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Vorsitzender)
----------------------------------------------------------------------=
-------------------
Quoted 1 line
Quoted 1 line
Quoted 1 line
----------------------------------------------------------------------=
-------------------
Quoted 12 lines
Quoted 9 lines
Quoted 6 lines
_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded
Quoted 1 line
-------------------------------------------------------------------------=
----------------
Quoted 1 line
-------------------------------------------------------------------------=
----------------
Quoted 7 lines
Forschungszentrum J=FClich GmbH
52425 J=FClichSitz der Gesellschaft: J=FClich
Eingetragen im Handelsregister des Amtsgerichts D=FCren Nr. HR B 3498 Vorsitzende des Aufsichtsrats: MinDirig'in B=E4rbel Brumme-Bothe
Vorstand: Prof. Dr. Achim Bachem (Vorsitzender), Dr. Ulrich Krafft (stell=
v.
Quoted 2 lines
Vorsitzender)
-------------------------------------------------------------------------=
----------------
Quoted 1 line
-------------------------------------------------------------------------=
----------------
Quoted 1 line
--=20
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
[email protected]
(403) 399-0195
Dear Georg,
Quoted 3 lines
is it possible to run a kernel that way ? or need i some kind of bootloader ?
or is this complete the wrong way ?
Yes, you can. Actually what I did is to include a bootloop in the hardware bitstream and that will keep your CPU waiting until the kernel's running.
BR
Ming
_________________________________________________________________
与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn