* Newbie and linux on virtex-II ppc @ 2007-08-27 12:55 schardt 2007-08-27 13:09 ` Grant Likely 2007-08-27 13:54 ` Ming Liu 0 siblings, 2 replies; 18+ messages in thread From: schardt @ 2007-08-27 12:55 UTC (permalink / raw) To: linuxppc-embedded 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) ----------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------- ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Newbie and linux on virtex-II ppc 2007-08-27 12:55 Newbie and linux on virtex-II ppc schardt @ 2007-08-27 13:09 ` Grant Likely 2007-08-27 14:17 ` schardt ` (2 more replies) 2007-08-27 13:54 ` Ming Liu 1 sibling, 3 replies; 18+ messages in thread From: Grant Likely @ 2007-08-27 13:09 UTC (permalink / raw) To: schardt; +Cc: linuxppc-embedded On 8/27/07, schardt <g.schardt@fz-juelich.de> wrote: > 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 > > - crosscompiler toolchain works > > - after modified some defines in the xparameters.h i 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. > 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. > > > 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. > > 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. -- Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd. grant.likely@secretlab.ca (403) 399-0195 ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Newbie and linux on virtex-II ppc 2007-08-27 13:09 ` Grant Likely @ 2007-08-27 14:17 ` schardt 2007-08-27 14:21 ` Grant Likely 2007-08-28 6:51 ` schardt [not found] ` <46D2CFFB.6050602@fz-juelich.de> 2 siblings, 1 reply; 18+ messages in thread From: schardt @ 2007-08-27 14:17 UTC (permalink / raw) To: linuxppc-embedded Grant Likely wrote: > On 8/27/07, schardt <g.schardt@fz-juelich.de> wrote: > >> 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 >> >> - crosscompiler toolchain works >> >> - after modified some defines in the xparameters.h i 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. > okay, i'll try it :) > >> 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. > > 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) ----------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------- ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Newbie and linux on virtex-II ppc 2007-08-27 14:17 ` schardt @ 2007-08-27 14:21 ` Grant Likely 0 siblings, 0 replies; 18+ messages in thread From: Grant Likely @ 2007-08-27 14:21 UTC (permalink / raw) To: schardt; +Cc: linuxppc-embedded On 8/27/07, schardt <g.schardt@fz-juelich.de> wrote: > > 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. > > > > > 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. -- Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd. grant.likely@secretlab.ca (403) 399-0195 ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Newbie and linux on virtex-II ppc 2007-08-27 13:09 ` Grant Likely 2007-08-27 14:17 ` schardt @ 2007-08-28 6:51 ` schardt [not found] ` <46D2CFFB.6050602@fz-juelich.de> 2 siblings, 0 replies; 18+ messages in thread From: schardt @ 2007-08-28 6:51 UTC (permalink / raw) Cc: linuxppc-embedded 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 Grant Likely wrote: > On 8/27/07, schardt <g.schardt@fz-juelich.de> wrote: > >> 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 >> >> - crosscompiler toolchain works >> >> - after modified some defines in the xparameters.h i 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. > > >> 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. > > >> 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. > > >> 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) ----------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------- ^ permalink raw reply [flat|nested] 18+ messages in thread
[parent not found: <46D2CFFB.6050602@fz-juelich.de>]
[parent not found: <fa686aa40708270719s1fd230e9g188948ef02b3eda7@mail.gmail.com>]
[parent not found: <46D41298.7060109@fz-juelich.de>]
* Re: Newbie and linux on virtex-II ppc [not found] ` <46D41298.7060109@fz-juelich.de> @ 2007-08-28 13:06 ` Grant Likely 2007-08-28 13:24 ` schardt 0 siblings, 1 reply; 18+ messages in thread From: Grant Likely @ 2007-08-28 13:06 UTC (permalink / raw) To: schardt, Linux PPC Linux PPC On 8/28/07, schardt <g.schardt@fz-juelich.de> wrote: > 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. -- Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd. grant.likely@secretlab.ca (403) 399-0195 ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Newbie and linux on virtex-II ppc 2007-08-28 13:06 ` Grant Likely @ 2007-08-28 13:24 ` schardt 2007-08-28 13:30 ` Grant Likely 0 siblings, 1 reply; 18+ messages in thread From: schardt @ 2007-08-28 13:24 UTC (permalink / raw) Cc: Linux PPC Linux PPC Grant Likely wrote: > On 8/28/07, schardt <g.schardt@fz-juelich.de> wrote: > >> 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) > But where in menuconfig could i find the sysace driver ? i'm blind, i think :) > 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 > 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) ----------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------- ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Newbie and linux on virtex-II ppc 2007-08-28 13:24 ` schardt @ 2007-08-28 13:30 ` Grant Likely 2007-08-28 13:39 ` schardt 0 siblings, 1 reply; 18+ messages in thread From: Grant Likely @ 2007-08-28 13:30 UTC (permalink / raw) To: schardt; +Cc: Linux PPC Linux PPC On 8/28/07, schardt <g.schardt@fz-juelich.de> wrote: > Grant Likely wrote: > > > > 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 > > > 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 ? 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) > > and why is there no dokumentation :) Care to write some? g. -- Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd. grant.likely@secretlab.ca (403) 399-0195 ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Newbie and linux on virtex-II ppc 2007-08-28 13:30 ` Grant Likely @ 2007-08-28 13:39 ` schardt 2007-08-28 13:55 ` Grant Likely 0 siblings, 1 reply; 18+ messages in thread From: schardt @ 2007-08-28 13:39 UTC (permalink / raw) Cc: Linux PPC Linux PPC Grant Likely wrote: > On 8/28/07, schardt <g.schardt@fz-juelich.de> wrote: > >> Grant Likely wrote: >> >>> 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 > > linux-2.6.22.5 >>> 2. use the EDK driver; easiest way is to use my tree which already hasGrant Likely <grant.likely@secretlab.ca> >>> 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 ? >> > Grant Likely <grant.likely@secretlab.ca> > 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 :) > >> and why is there no dokumentation :) >> > > Care to write some? > > huh, not really :) im just a little newbie G > 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) ----------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------- ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Newbie and linux on virtex-II ppc 2007-08-28 13:39 ` schardt @ 2007-08-28 13:55 ` Grant Likely 2007-08-28 14:12 ` schardt 0 siblings, 1 reply; 18+ messages in thread From: Grant Likely @ 2007-08-28 13:55 UTC (permalink / raw) To: schardt; +Cc: Linux PPC Linux PPC On 8/28/07, schardt <g.schardt@fz-juelich.de> wrote: > Grant Likely wrote: > > On 8/28/07, schardt <g.schardt@fz-juelich.de> wrote: > > > >> Grant Likely wrote: > >> > >>> 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 > > > > > linux-2.6.22.5 Should be under drivers->block devices then. > >>> 2. use the EDK driver; easiest way is to use my tree which already hasGrant Likely <grant.likely@secretlab.ca> > >>> 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 ? > >> > > Grant Likely <grant.likely@secretlab.ca> > > 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. > 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 :) > > > > >> and why is there no dokumentation :) > > > > Care to write some? > > > huh, not really :) > im just a little newbie best way to learn. :-) g. -- Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd. grant.likely@secretlab.ca (403) 399-0195 ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Newbie and linux on virtex-II ppc 2007-08-28 13:55 ` Grant Likely @ 2007-08-28 14:12 ` schardt 2007-08-28 14:43 ` Grant Likely 0 siblings, 1 reply; 18+ messages in thread From: schardt @ 2007-08-28 14:12 UTC (permalink / raw) To: Linux PPC Linux PPC 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 Grant Likely wrote: > On 8/28/07, schardt <g.schardt@fz-juelich.de> wrote: > >> Grant Likely wrote: >> >>> On 8/28/07, schardt <g.schardt@fz-juelich.de> wrote: >>> >>> >>>> Grant Likely wrote: >>>> >>>> >>>>> 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 >>> >>> >>> >> linux-2.6.22.5 >> > > Should be under drivers->block devices then. > > >>>>> 2. use the EDK driver; easiest way is to use my tree which already hasGrant Likely <grant.likely@secretlab.ca> >>>>> 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 ? >>>> >>>> >>> Grant Likely <grant.likely@secretlab.ca> >>> 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. > > >> 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 :) >> >> >>>> and why is there no dokumentation :) >>>> >>> Care to write some? >>> >>> >> huh, not really :) >> im just a little newbie >> > > best 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) ----------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------- ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Newbie and linux on virtex-II ppc 2007-08-28 14:12 ` schardt @ 2007-08-28 14:43 ` Grant Likely 2007-08-28 14:44 ` Grant Likely 0 siblings, 1 reply; 18+ messages in thread From: Grant Likely @ 2007-08-28 14:43 UTC (permalink / raw) To: schardt; +Cc: Linux PPC Linux PPC On 8/28/07, schardt <g.schardt@fz-juelich.de> wrote: > 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=3Dppc and CROSS_COMPILE=3Dpowerpc-405-linux-g= nu- > - 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 interface > > i will try the grant kernel now :) > > G > > > Grant Likely wrote: > > On 8/28/07, schardt <g.schardt@fz-juelich.de> wrote: > > > >> Grant Likely wrote: > >> > >>> On 8/28/07, schardt <g.schardt@fz-juelich.de> wrote: > >>> > >>> > >>>> Grant Likely wrote: > >>>> > >>>> > >>>>> 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 > >>> > >>> > >>> > >> linux-2.6.22.5 > >> > > > > Should be under drivers->block devices then. > > > > > >>>>> 2. use the EDK driver; easiest way is to use my tree which already = hasGrant Likely <grant.likely@secretlab.ca> > >>>>> 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 ? > >>>> > >>>> > >>> Grant Likely <grant.likely@secretlab.ca> > >>> 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. > > > > > >> i compile the kernel with a self made cross toolchain, not with the ed= k. > >> 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 :) > >> > >> > >>>> and why is there no dokumentation :) > >>>> > >>> Care to write some? > >>> > >>> > >> huh, not really :) > >> im just a little newbie > >> > > > > best way to learn. :-) > > > > g. > > > > > > -------------------------------------------------------------------------= ---------------- > -------------------------------------------------------------------------= ---------------- > 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. > Vorsitzender) > -------------------------------------------------------------------------= ---------------- > -------------------------------------------------------------------------= ---------------- > _______________________________________________ > Linuxppc-embedded mailing list > Linuxppc-embedded@ozlabs.org > https://ozlabs.org/mailman/listinfo/linuxppc-embedded > --=20 Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd. grant.likely@secretlab.ca (403) 399-0195 ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Newbie and linux on virtex-II ppc 2007-08-28 14:43 ` Grant Likely @ 2007-08-28 14:44 ` Grant Likely 2007-08-29 9:29 ` schardt 0 siblings, 1 reply; 18+ messages in thread From: Grant Likely @ 2007-08-28 14:44 UTC (permalink / raw) To: schardt; +Cc: Linux PPC Linux PPC On 8/28/07, Grant Likely <grant.likely@secretlab.ca> wrote: > On 8/28/07, schardt <g.schardt@fz-juelich.de> wrote: > > 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. -- Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd. grant.likely@secretlab.ca (403) 399-0195 ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Newbie and linux on virtex-II ppc 2007-08-28 14:44 ` Grant Likely @ 2007-08-29 9:29 ` schardt 2007-08-29 13:31 ` schardt 0 siblings, 1 reply; 18+ messages in thread From: schardt @ 2007-08-29 9:29 UTC (permalink / raw) To: Linux PPC Linux PPC 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 Grant Likely wrote: > On 8/28/07, Grant Likely <grant.likely@secretlab.ca> wrote: > >> On 8/28/07, schardt <g.schardt@fz-juelich.de> wrote: >> >>> 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. > > ----------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------- 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) ----------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------- ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Newbie and linux on virtex-II ppc 2007-08-29 9:29 ` schardt @ 2007-08-29 13:31 ` schardt 2007-08-29 14:44 ` Grant Likely 0 siblings, 1 reply; 18+ messages in thread From: schardt @ 2007-08-29 13:31 UTC (permalink / raw) To: Linux PPC Linux PPC 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 schardt wrote: > 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 > > Grant Likely wrote: > =20 >> On 8/28/07, Grant Likely <grant.likely@secretlab.ca> wrote: >> =20 >> =20 >>> On 8/28/07, schardt <g.schardt@fz-juelich.de> wrote: >>> =20 >>> =20 >>>> 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 >>>> =20 >> BTW, "make ml300_defconfig" does this for you. >> >> g. >> >> =20 >> =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 (ste= llv.=20 > Vorsitzender) > -----------------------------------------------------------------------= ------------------ > -----------------------------------------------------------------------= ------------------ > _______________________________________________ > Linuxppc-embedded mailing list > Linuxppc-embedded@ozlabs.org > 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) -------------------------------------------------------------------------= ---------------- -------------------------------------------------------------------------= ---------------- ^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Newbie and linux on virtex-II ppc 2007-08-29 13:31 ` schardt @ 2007-08-29 14:44 ` Grant Likely [not found] ` <46DBA4F9.2010703@fz-juelich.de> 0 siblings, 1 reply; 18+ messages in thread From: Grant Likely @ 2007-08-29 14:44 UTC (permalink / raw) To: schardt; +Cc: Linux PPC Linux PPC On 8/29/07, schardt <g.schardt@fz-juelich.de> wrote: > 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 > 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 > > 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 > > schardt wrote: > > 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 > > > > Grant Likely wrote: > > > >> On 8/28/07, Grant Likely <grant.likely@secretlab.ca> wrote: > >> > >> > >>> On 8/28/07, schardt <g.schardt@fz-juelich.de> wrote: > >>> > >>> > >>>> 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. > >> > >> > >> > > > > > > > > -----------------------------------------------------------------------= ------------------ > > -----------------------------------------------------------------------= ------------------ > > 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 (ste= llv. > > Vorsitzender) > > -----------------------------------------------------------------------= ------------------ > > -----------------------------------------------------------------------= ------------------ > > _______________________________________________ > > Linuxppc-embedded mailing list > > Linuxppc-embedded@ozlabs.org > > https://ozlabs.org/mailman/listinfo/linuxppc-embedded > > > > > > > > -------------------------------------------------------------------------= ---------------- > -------------------------------------------------------------------------= ---------------- > 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. > Vorsitzender) > -------------------------------------------------------------------------= ---------------- > -------------------------------------------------------------------------= ---------------- > _______________________________________________ > Linuxppc-embedded mailing list > Linuxppc-embedded@ozlabs.org > https://ozlabs.org/mailman/listinfo/linuxppc-embedded > --=20 Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd. grant.likely@secretlab.ca (403) 399-0195 ^ permalink raw reply [flat|nested] 18+ messages in thread
[parent not found: <46DBA4F9.2010703@fz-juelich.de>]
* Re: Newbie and linux on virtex-II ppc [not found] ` <46DBA4F9.2010703@fz-juelich.de> @ 2007-09-03 13:41 ` Grant Likely 0 siblings, 0 replies; 18+ messages in thread From: Grant Likely @ 2007-09-03 13:41 UTC (permalink / raw) To: schardt, Linux PPC Linux PPC On 9/3/07, schardt <g.schardt@fz-juelich.de> wrote: > 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. > > Georg > > > Grant Likely wrote: > > On 8/29/07, schardt <g.schardt@fz-juelich.de> wrote: > > > >> me again :) > >> > >> i added a /dev/ttyUL0 (mknod ttyUL0 c 204 187) device and and a consol= e > >> 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 > > > > > >> 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 > > > > > >> 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 > >> > >> schardt wrote: > >> > >>> 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 > >>> > >>> Grant Likely wrote: > >>> > >>> > >>>> On 8/28/07, Grant Likely <grant.likely@secretlab.ca> wrote: > >>>> > >>>> > >>>> > >>>>> On 8/28/07, schardt <g.schardt@fz-juelich.de> wrote: > >>>>> > >>>>> > >>>>> > >>>>>> 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. > >>>> > >>>> > >>>> > >>>> > >>> > >>> ---------------------------------------------------------------------= -------------------- > >>> ---------------------------------------------------------------------= -------------------- > >>> 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 (s= tellv. > >>> Vorsitzender) > >>> ---------------------------------------------------------------------= -------------------- > >>> ---------------------------------------------------------------------= -------------------- > >>> _______________________________________________ > >>> Linuxppc-embedded mailing list > >>> Linuxppc-embedded@ozlabs.org > >>> https://ozlabs.org/mailman/listinfo/linuxppc-embedded > >>> > >>> > >>> > >> > >> ----------------------------------------------------------------------= ------------------- > >> ----------------------------------------------------------------------= ------------------- > >> 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 (st= ellv. > >> Vorsitzender) > >> ----------------------------------------------------------------------= ------------------- > >> ----------------------------------------------------------------------= ------------------- > >> _______________________________________________ > >> Linuxppc-embedded mailing list > >> Linuxppc-embedded@ozlabs.org > >> https://ozlabs.org/mailman/listinfo/linuxppc-embedded > >> > >> > > > > > > > > > > -------------------------------------------------------------------------= ---------------- > -------------------------------------------------------------------------= ---------------- > 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. > Vorsitzender) > -------------------------------------------------------------------------= ---------------- > -------------------------------------------------------------------------= ---------------- > --=20 Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd. grant.likely@secretlab.ca (403) 399-0195 ^ permalink raw reply [flat|nested] 18+ messages in thread
* RE: Newbie and linux on virtex-II ppc 2007-08-27 12:55 Newbie and linux on virtex-II ppc schardt 2007-08-27 13:09 ` Grant Likely @ 2007-08-27 13:54 ` Ming Liu 1 sibling, 0 replies; 18+ messages in thread From: Ming Liu @ 2007-08-27 13:54 UTC (permalink / raw) To: g.schardt, linuxppc-embedded Dear Georg, >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 ^ permalink raw reply [flat|nested] 18+ messages in thread
end of thread, other threads:[~2007-09-03 13:41 UTC | newest] Thread overview: 18+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2007-08-27 12:55 Newbie and linux on virtex-II ppc schardt 2007-08-27 13:09 ` Grant Likely 2007-08-27 14:17 ` schardt 2007-08-27 14:21 ` Grant Likely 2007-08-28 6:51 ` schardt [not found] ` <46D2CFFB.6050602@fz-juelich.de> [not found] ` <fa686aa40708270719s1fd230e9g188948ef02b3eda7@mail.gmail.com> [not found] ` <46D41298.7060109@fz-juelich.de> 2007-08-28 13:06 ` Grant Likely 2007-08-28 13:24 ` schardt 2007-08-28 13:30 ` Grant Likely 2007-08-28 13:39 ` schardt 2007-08-28 13:55 ` Grant Likely 2007-08-28 14:12 ` schardt 2007-08-28 14:43 ` Grant Likely 2007-08-28 14:44 ` Grant Likely 2007-08-29 9:29 ` schardt 2007-08-29 13:31 ` schardt 2007-08-29 14:44 ` Grant Likely [not found] ` <46DBA4F9.2010703@fz-juelich.de> 2007-09-03 13:41 ` Grant Likely 2007-08-27 13:54 ` Ming Liu
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).