2012/6/26 Rafał Miłecki <zaj...@gmail.com>:
> 2012/6/22 Hauke Mehrtens <ha...@hauke-m.de>:
>> I had never problems with serial console on my bcma based devices
>> (bcm4716 and BCM5357). I think you stored the image on the wrong flash
>> chip. From the boot log of the original firmware it looks like it has a
>> 2MB serial flash and a 128MB NAND flash. One has the partition named
>> linux and the other a partition named kernel with round about the same
>> size. You could look into the source code provided by Netgear for your
>> device and find out how the booting works with the original firmware and
>> how the original firmware image is structured.
>
> I've compared firmware files: original one and OpenWRT's one. Both are
> chk files, both chk contain trx. However I can't understand what does
> original firmware's trx contain.
>
> OpenWRT's trx is understandable, it just contains gzipped loader.
>
> Does looking at official.analyze.txt make any sense to you?

OK, the code in trx (just after the header) is vmlinuz. I've unpacked
firmware source and it contains prebuilt vmlinuz. The code in trx
matches what I can see in:
WNDR4500-V1.0.0.58_1.0.13_src/src/router/compressed/vmlinuz-lzma

-- 
Rafał
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to