On 11 April 2014 23:07, Bastian Bittorf <bitt...@bluebottle.com> wrote:
> * Roman Yeryomin <leroi.li...@gmail.com> [11.04.2014 20:18]:
>> > seems generating the rootfs is broken for you somehow.
>>
>> ptgen fault?
>> I have 64bit environment if that matters...
>
> please go into 'target/linux/rb532/image/gen_image.sh' and
> before ptgen, insert this:
>
> echo >>/tmp/BLA "OUTPUT=$OUTPUT KERNELSIZE=$KERNELSIZE 
> KERNELIMAGE=$KERNELIMAGE ROOTFSSIZE=$ROOTFSSIZE ROOTFSIMAGE=$ROOTFSIMAGE"
> echo >>/tmp/BLA "ptgen-out: '$( ptgen -o "$OUTPUT" -h 16 -s 32 -t 0x27 -p 
> ${KERNELSIZE}m -t 0x83 -p ${ROOTFSSIZE}m )'"
>
> after ptgen, insert this:
> echo >>/tmp/BLA "1: $1 3: $3"
>
> do an 'make' and show me your results in '/tmp/BLA', here:
>
> ###
> OUTPUT=/home/bastian/owrtbuild/openwrt/bin/rb532/openwrt-rb532-combined-jffs2-128k.bin
> KERNELSIZE=4
> KERNELIMAGE=/home/bastian/owrtbuild/openwrt/bin/rb532/openwrt-rb532-jffs2-128k.kernel
> ROOTFSSIZE=48
> ROOTFSIMAGE=/home/bastian/owrtbuild/openwrt/build_dir/target-mipsel_mips32_uClibc-0.9.33.2/linux-rb532/root.jffs2-128k
> ptgen-out: '16384
> 4440064
> 4472832
> 50577408'
> 1: 16384 3: 4472832
> ###

For the jffs2-128k part (looks same):

OUTPUT=/home/roman/dev/openwrt/rb532/bin/rb532/openwrt-rb532-combined-jffs2-128k.bin
KERNELSIZE=4
KERNELIMAGE=/home/roman/dev/openwrt/rb532/bin/rb532/openwrt-rb532-jffs2-128k.kernel
ROOTFSSIZE=48
ROOTFSIMAGE=/home/roman/dev/openwrt/rb532/build_dir/target-mipsel_mips32_uClibc-0.9.33.2/linux-rb532/root.jffs2-128k
ptgen-out: '16384
4440064
4472832
50577408'
1: 16384 3: 4472832


Regards,
Roman
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to