Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Oct 2015 10:51:09 -0700
From:      Adrian Chadd <adrian.chadd@gmail.com>
To:        Eugene Grosbein <eugen@grosbein.net>
Cc:        "freebsd-mips@freebsd.org" <freebsd-mips@freebsd.org>
Subject:   Re: mib0 flash partition TL-WDR3600
Message-ID:  <CAJ-Vmo=apNZ-5kdoO3psgrpOwo8T1qJjUmqPUgszv-t4xbkT0g@mail.gmail.com>
In-Reply-To: <561B682E.8060607@grosbein.net>
References:  <561ADF43.8080005@grosbein.net> <CAJ-VmomAxNkQm6zdcrdhUbRahEqOL0pB_dgVui9U2oFxp%2B5wMQ@mail.gmail.com> <561B682E.8060607@grosbein.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Yes. The bootloader doesn't care what you do as long as:

* you don't overwrite uboot;
* you don't ovewrite uboot-env if it exists;
* you put the "uboot application" (ie, the kernel) in the right place
(which on these devices is at the beginning of the usable flash area);
and
* don't ovewrite ART.

Just make sure you erase the extra space before you write into it. :)



-a


On 12 October 2015 at 00:58, Eugene Grosbein <eugen@grosbein.net> wrote:
> On 12.10.2015 10:21, Adrian Chadd wrote:
>> It's just a hold-over from the atheros layout. On 16mb devices they
>> tended to have a mib0 partition that contained a bunch more leftover
>> space and would put things like a big overlayfs on it.
>>
>> until nandfs grows nor support and is actually stable, we can't really
>> use it. :(
>
> May I change geom_map layout on such 8mb device to eliminate mib0
> and use freed extra space for cfg in my private build? Won't it break anything?
>
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-Vmo=apNZ-5kdoO3psgrpOwo8T1qJjUmqPUgszv-t4xbkT0g>