Re: [LEDE-DEV] Older u-boot mangles UBI from ubinize 1.5.2

2016-08-11 Thread J Mo
On 08/11/2016 04:28 AM, J Mo wrote: Hm, I just found another example. I don't know why this didn't turn up in my searches yesterday since it's a perfect match with the EXACT error. This too was on a QSDK AP148: https://patchwork.ozlabs.org/patch/509468/ I think I'll go rip that patch out

Re: [LEDE-DEV] Older u-boot mangles UBI from ubinize 1.5.2

2016-08-11 Thread Daniel Golle
Hi J, On Thu, Aug 11, 2016 at 06:15:32AM -0700, J Mo wrote: > > > On 08/11/2016 05:31 AM, Daniel Golle wrote: > > That's what I told you in the previous mail, removing the rootfs= > > parameter from the dts should do the trick, because you just cannot > > mount a ubi device (which is a

Re: [LEDE-DEV] Older u-boot mangles UBI from ubinize 1.5.2

2016-08-11 Thread J Mo
On 08/11/2016 05:31 AM, Daniel Golle wrote: That's what I told you in the previous mail, removing the rootfs= parameter from the dts should do the trick, because you just cannot mount a ubi device (which is a character device in Linux) with a block-based filesystem (like squashfs). This cannot

Re: [LEDE-DEV] Older u-boot mangles UBI from ubinize 1.5.2

2016-08-11 Thread Daniel Golle
On Thu, Aug 11, 2016 at 02:22:58PM +0200, Richard Weinberger wrote: > Did you intentional drop linux-mtd from the CC's after I offered you > to discuss your patches on linux-mtd? ;-) I replied twice, once including all the CC's with the intention to contribute to the general debate. And once to

Re: [LEDE-DEV] Older u-boot mangles UBI from ubinize 1.5.2

2016-08-11 Thread Daniel Golle
Hi! On Thu, Aug 11, 2016 at 04:28:47AM -0700, J Mo wrote: > > I got that good old feeling... like I just jumped onto a bag of flaming poo. > Ha ha > > > > On 08/11/2016 03:40 AM, Daniel Golle wrote: > > > > Understandable. However, we also need to experiment and figure out the > > mess left

Re: [LEDE-DEV] Older u-boot mangles UBI from ubinize 1.5.2

2016-08-11 Thread J Mo
I got that good old feeling... like I just jumped onto a bag of flaming poo. Ha ha On 08/11/2016 03:40 AM, Daniel Golle wrote: Understandable. However, we also need to experiment and figure out the mess left behind by $vendor which often doesn't leave a lot of reasonable options for

Re: [LEDE-DEV] Older u-boot mangles UBI from ubinize 1.5.2

2016-08-11 Thread Daniel Golle
Hi Richard, On Thu, Aug 11, 2016 at 11:51:10AM +0200, Richard Weinberger wrote: > Hi! > > On Thu, Aug 11, 2016 at 4:26 AM, J Mo wrote: > > I tried re-flashing my UBI and tftpbooting my kernel before u-boot could > > ever get a chance to mangle it, and now I get much further,

Re: [LEDE-DEV] Older u-boot mangles UBI from ubinize 1.5.2

2016-08-11 Thread Richard Weinberger
Hi! On Thu, Aug 11, 2016 at 4:26 AM, J Mo wrote: > I tried re-flashing my UBI and tftpbooting my kernel before u-boot could > ever get a chance to mangle it, and now I get much further, though I'm still > not able to mount my rootfs for unknown reasons: > > [3.772502]

[LEDE-DEV] Older u-boot mangles UBI from ubinize 1.5.2

2016-08-10 Thread J Mo
Greetings I am attempting to port LEDE/OpenWRT to a new device; the TRENDnet TEW-827DRU, which is a IPQ806X-based (AP148) system. It has a NAND flash for storage with a UBI (kernel + squashfs + ubifs). When my system attempts to attach the UBI, I see the following error from linux: [