> -----Original Message-----
> From: EXT Wolfgang Denk [mailto:w...@denx.de]
> Sent: Thursday, October 22, 2015 7:16 PM
> To: Krzeminski, Marcin (Nokia - PL/Wroclaw)
> <marcin.krzemin...@nokia.com>
> Cc: u-boot@lists.denx.de
> Subject: Re: [U-Boot] Reading data from SPI flash before relocation - what is
> the best way to do this?
> 
> Dear Marcin,
> 
> In message
> <ca0e6f9ba6aed7458c23277bd87075e50f731...@demumbx014.nsn-
> intra.net> you wrote:
> >
> > I want to chose the best aproach to achive something like this:
> > There is a u-boot without SPL and it is copied by bootrom to SDRAM.
> 
> OK, the question why you don't use SPL has already been asked.
> 
> > In first phase (while running  *_f functions) I need to read some
> configuration data from SPI NOR, and it must be done before DDR config.
> 
> Why do you need to read it separately?  Can you not "attach" it to the
> U-Boot image, so the boot ROM will read that combined image (U-Boot
> plus your config data) ?
> 

Because many configuration are expected, so avoiding many u-boot binaries is 
the target.

Generally it seems that I want to do something that is against u-boot design, 
so my question should be,
how to do it harmless?

I changed linker script, cleared bss and it seem that this is working fine, so 
probably I'll try this way.

> 
> Best regards,
> 
> Wolfgang Denk
> 
> --
> DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de
> Until you walk a mile in another man's moccasins, you  can't  imagine
> the smell.

Best regards,
Marcin KrzemiƄski
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to