Bootloader & Flash

schardt g.schardt at fz-juelich.de
Fri Nov 9 23:07:12 EST 2007


Hi again,

i've learned a little bit :)

- I have download the zImage.elf via the EDK flash loader
- The flash loader creates a bootloader, this is also running on start up :)

But ... It stops with an error-message after a few seconds:

EDK Bootloader:
Bootloader: Processed (0x)000000b2 S-recordsERROR: SREC line is corrupted

What now ?

Georg


MingLiu wrote:
> Dear Georg,
> I guess you were talking about the booting process of the system, both HW and the SW, from the flash memory. This process should be like this:
>
> 1. Store your HW bitstream and Linux kernel in flash memories. If needed, perhaps you want another bootloader program, such as U-boot also inside. 
>
> 2. In your HW bitstream, you need one bootloader which helps you to load the software and execute it in DDR-ram. EDK helps you to generate such a bootloader when you design. 
>
> 3. Durong Power on, HW bitstream (with an EDK bootloader included) will be loaded into FPGA and configure the FPGA, then the EDK bootloader will load your Linux kernel into DDR-Ram and execute it there. Thus your linux could run. 
>
> This is a normal process. If you want to execute the program in flash directly, that's another story. Also you should know, for the booting process, MTD driver is not necessary. The driver is only used when you want to access flash memories when you booted your Linux kernel.
>
> Clear or not? :)
>
> Best Regards
> Ming
>
> ----------------------------------------> Date: Wed, 7 Nov 2007 13:00:35 +0100> From: g.schardt at fz-juelich.de> To: Linuxppc-embedded at ozlabs.org> Subject: Bootloader & Flash>> Hi,>> i use the AVnet Xilinx4 FX12 Minimodule and until now, i use system-ace> to configure the fpga and boot the linux kernel.> But now, i want to boot from the on board flash memory and have no idea> where to start.>> I think i have to:> - save the fpga configuration in the fpga-prom> - use/program some kind of bootloader store in fpga block ram to jump to> the flash-adress where the executable linux kernel resist> - use the mtd-device driver to mount root fs on the same flash some> address later>> Is this the right 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> Geschäftsführung: Prof. Dr. Achim Bachem (Vorsitzender), Dr. Ulrich Krafft (stellv.> Vorsitzender)> -----------------------------------------------------------------------------------------> -----------------------------------------------------------------------------------------> _______________________________________________> Linuxppc-embedded mailing list> Linuxppc-embedded at ozlabs.org> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
>
> _________________________________________________________________
> MSN 中文网,最新时尚生活资讯,白领聚集门户。
> http://cn.msn.com




-------------------------------------------------------------------------
----------------
-----------------------------------------------------------
------------------------------
Forschungszentrum Jülich GmbH
52425 Jülich


Sitz der Gesellschaft: Jülich
Eingetragen im Handelsregister des Amtsgeri
chts Düren Nr. HR B 3498
Vorsitzende des Aufsichtsrats: MinDirig'in Bärbel
 Brumme-Bothe
Geschäftsführung: Prof. Dr. Achim Bachem (Vorsitzender), Dr.
 Ulrich Krafft (stellv. 
Vorsitzender)
-------------------------------------
----------------------------------------------------
-----------------------
------------------------------------------------------------------





More information about the Linuxppc-embedded mailing list