Hi Giuseppe,

On Sun, Jul 30, 2017 at 09:26:15PM +0200, Giuseppe Lippolis wrote:
> Dear community,
> I'm trying to port openwrt/lede on the dlink dwr921 (mt7620n arch).
> 
> Currently I get a kernel panic after the OS fail to find the wmac eeprom
> location.
> At the moment I use in the dts something clearly wrong:
> &ethernet {
>         mtd-mac-address = <&config 0xe2ac>;
>         mediatek,portmap = "wllll";
> };
> 
> &wmac {
>         ralink,mtd-eeprom = <&config 0xe000>;
> };
> 
> I'm quite sure the wmac eeprom is located in the "config" flash partition.
> What shall I search to find the proper address of the required section?

Look for the word 0x7620 at an even offset, that's the start of the
EEPROM.

> Here the complete bootlog:
> ...

You are on the right spot, the log confirms that the eeprom partition
or offset is certainly wrong.


Cheers


Daniel

_______________________________________________
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev

Reply via email to