On Thursday 13 May 2010, Marko Foerster wrote:
> The kernel in backfire is too big to fit into the default kernel
> partition. This patch solves this problem by making it bigger.
> I have tested it on the Mikrotik Routerboard 433AH.
> 
> Signed-off-by: Marko Foerster <[email protected]>
> 
> Index: rb4xx_nand.c
> 
===================================================================
> --- rb4xx_nand.c        (Revision 21442)
> +++ rb4xx_nand.c        (Arbeitskopie)
> @@ -92,7 +92,7 @@
>        {
>                .name   = "kernel",
>                .offset = (256 * 1024),
> -               .size   = (4 * 1024 * 1024) - (256 * 1024),
> +               .size   = (6 * 1024 * 1024) - (256 * 1024),
>        },
>        {
>                .name   = "rootfs",
> _______________________________________________
> openwrt-devel mailing list
> [email protected]
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
> 
I am very surprised this worked.  The bootloader assumes the sizes
of the partitions, so what you have now two different views of the same
space which is hardly a good way of working.  While it may be that
more recent bootloaders on recent boards work, but I doubt this would
work on older rb4xx boards.  I would suggest that this need extensive
testing before being put to general use.

David
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to