Newbie and linux on virtex-II ppc

schardt g.schardt at fz-juelich.de
Tue Aug 28 16:51:57 EST 2007


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 at 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)
-----------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------


More information about the Linuxppc-embedded mailing list