[Arm-netbook] A10 image size change
Tom Cubie
mr.hipboi at gmail.com
Thu Aug 9 15:06:10 BST 2012
On Thu, Aug 9, 2012 at 12:47 PM, Davin Gibb <davin.gibb at gmail.com> wrote:
> Hi Tom, we are doing a full livesuite image here, and repacking. Its
> not just an upgrade, but a full image update on flash. Emilio I'm not
> 100% sure what you mean in-device, I am simply rebuilding the
> livesuite image from scratch. This is what I did;
>
> After changing the BoardConfig and sys_config.fex I issued make (not
> make clean, just make) and then 'packed' the images and flashed the
> device with livesuite.
>
> Should we do a make clean? Should I re-make the kernel too? When the
No. No.
> device boots u-boot sees the partition with the correct size. I also
> took the compiled system.img and used sim2img and can mount this on my
> own host with no errors?
>
> I'm sure I'm missing something basic here?
No, what you are doing is right. I mean the partition can not be
changed at runtime, like you can not add a partition without flashing
the whole image(it seems the recent kernel and the nand-part tools
can, i have not tried).
>
> Clueless... Davin.
>
> On Thu, Aug 9, 2012 at 11:22 AM, Emilio López <turl at linux-sunxi.org> wrote:
>> El mié 08 ago 2012 22:03:11 ART, Tom Cubie escribió:
>>> On Thu, Aug 9, 2012 at 5:24 AM, Davin Gibb <davin.gibb at gmail.com> wrote:
>>>> Hi all, the image size of my A10 build had to grow beyond the original 256mb
>>>> and to support this I made the below changes.... However for the life of me
>>>> I can't get the system to boot anymore :(
>>>>
>>>> 1. update the BoardConfig.mk to 536870912
>>>> 2. update the sys_config.fex to [partition3] name = system, size_lo = 524288
>>>>
>>>> I also made sure I did a format when I upgraded my board. But when the board
>>>> boots the mount returns -1 for /dev/block/nandd? Any thoughts? Anyone have
>>>> to increase img size?
>>> where do you change the sys_config.fex?
>>> The partition size of allwinner nand can not be changed after a
>>> livesuite image is made because of the bad design. If you want to
>>> change the nand size, you need to re-pack a livesuite image.
>>
>> If you only need it changed in-device, you can use a (very recent)
>> source built kernel with the "expose nand" patch + nand-part from
>> sunxi-tools. You will need to reformat partitions as needed after
>> resizing stuff.
>>
>>
>> _______________________________________________
>> arm-netbook mailing list arm-netbook at lists.phcomp.co.uk
>> http://lists.phcomp.co.uk/mailman/listinfo/arm-netbook
>> Send large attachments to arm-netbook at files.phcomp.co.uk
>
> _______________________________________________
> arm-netbook mailing list arm-netbook at lists.phcomp.co.uk
> http://lists.phcomp.co.uk/mailman/listinfo/arm-netbook
> Send large attachments to arm-netbook at files.phcomp.co.uk
--
Keep simple, stay foolish.
More information about the arm-netbook
mailing list