On 03/31/2012 02:49 PM, simon h wrote:

Pieter, does this have nand or nor flash?  if nand and you are having
problems with it, then it's worth having a chat and examining my
initial patches for the bthhv2b.  I had problems with nand/pci clashes
and 8bit vs 32bit accesses.  Also had to add to the types of flash
probed in lantiq-flash.c

Hi Simon,

I understand your problem of the flash not being accessible during pci init. My 
board has a spi-nor flash, so just like nand it is not directly 
accessible/addressable.
Changing the init sequence won't get you much fans I think. I see no perfect 
way of handling this eeprom when it should be in the platfomdata.
Two reasonably "clean" options:

- Preload the eeprom blob in u-boot to a fixed memory area, copy it during 
board init and free the region
- Load the eeprom afterwards via sysfs in linux and do a re-scan


Kind regards, Pieter


_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to