[LEDE-DEV] [RFC] ADSL Modem Allnet All0333CJ Rev.C / Amazon-SE SoC

Tino Reichardt list-lede at mcmilk.de
Sun Nov 6 11:47:49 PST 2016


* Tino Reichardt <list-lede at mcmilk.de> wrote:
> * Mathias Kresin <dev at kresin.me> wrote:
> > 2016-11-04 9:46 GMT+01:00 Tino Reichardt <list-lede at mcmilk.de>:
> > > * Alberto Bursi <alberto.bursi at outlook.it> wrote:
> > >> On 11/03/2016 10:13 AM, Tino Reichardt wrote:
> > >> > Most of these Modems have only a very small flash of 2MB or 4MB .. so
> > >> > there is no need for lot of stuff. My aim is to have nice DSL modems
> > >> > with recent kernel and dsl firmware. pppoe is not really needed, but
> > >> > will fit also into that flash, I think.
> > >> >
> > >>
> > > ## Booting image at 80100000 ...
> > >    Image Name:   MIPS LEDE Linux-4.4.30
> > >    Created:      2016-11-03   7:34:38 UTC
> > >    Image Type:   MIPS Linux Kernel Image (lzma compressed)
> > >    Data Size:    1358940 Bytes =  1.3 MB
> > >    Load Address: 80002000
> > >    Entry Point:  80002000
> > >    Verifying Checksum ... OK
> > >    Uncompressing Kernel Image ... ERROR: LzmaDecode.c, 561
> > >
> > > Decoding error = 1
> > > LZMA ERROR 1 - must RESET board to recover
> > 
> > Not sure what the root cause of the error is, but I've two possible
> > workarounds in mind. You can try to tftp the kernel to memory address
> > 0x81000000:
> > 
> >   tftp 0x81000000 uImage; bootm 0x81000000
> 
> This hint was right, I tried 0x802000000, but then give up on this...
> I think, 0x81000000 (16MB) is to high, my dev has only 16MB ;)
> 
> But I used 6MB and now it boots. These commands are nedded:
> # tftpboot 0x80600000
> # bootm 0x80600000 does it.

This kernel does not boot correctly :/

This is a full log of it: http://pastebin.com/exrBW02s

The main thing is, the kernel stops very early, I have turned on every
debug option, but have not much info :(

[    0.000000] Linux version 4.4.30 (mcmilk at lap-00488) (gcc version 5.4.0 (LEDE GCC 5.4.0 r2084) ) #0 Sat Nov 5 20:54:43 2016
[    0.000000] SOC_ID_AMAZON_SE_* done!
[    0.000000] SoC: Amazon_SE rev 1.3
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001906c (MIPS 4KEc)
[    0.000000] MIPS: machine is ALL0333CJ - Allnet ALL0333CJ DSL Modem
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 00518000 @ 00002000 (usable)
[    0.000000]  memory: 00136000 @ 0051a000 (usable after init)
[    0.000000] Wasting 64 bytes for tracking 2 unused pages

Has someone an idea?

I used a modified dgn1000b.dts for my device settings, here is a copy of
it: http://pastebin.com/x7iPz43z


-- 
Best regards, TR



More information about the Lede-dev mailing list