On 11 April 2014 23:13, Roman Yeryomin <leroi.li...@gmail.com> wrote:
> 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
>

Probably ptgen has nothing to do with this issue - I have ext4 and
squashfs images working now and not crashing. I've submitted a patch
to fix the images.
jffs2 images are still broken for me though. Any ideas why?
Also pci seems to be broken as neither miniPCI slots nor VIA ethernet
ports are not working:

[    1.380000] PCI: Enabling device 0000:00:02.0 (0080 -> 0081)
[    1.384000] via-rhine 0000:00:02.0: Insufficient PCI resources, aborting
[    1.392000] via-rhine: probe of 0000:00:02.0 failed with error -5
[    1.396000] PCI: Enabling device 0000:00:03.0 (0080 -> 0081)
[    1.404000] via-rhine 0000:00:03.0: Insufficient PCI resources, aborting
[    1.412000] via-rhine: probe of 0000:00:03.0 failed with error -5

[    8.824000] ath5k 0000:00:04.0: cannot remap PCI memory region
[    8.832000] ath5k: probe of 0000:00:04.0 failed with error -5
[    8.840000] ath5k 0000:00:05.0: cannot remap PCI memory region
[    8.844000] ath5k: probe of 0000:00:05.0 failed with error -5


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