Hi all! I have been hacking around the BCM-based (bcm3349) cable modems recently, trying to get linux working on them. One of the tasks to be acomplished was to write a packer, that will prepare firmware images for the proprietary broadcom bootloader (that will contain the linux kernel). The first method initially implemented by Luke-jr involved running pieces of firmware in a small mips emulator (that was pain!). As the result of hacking I managed (Thanks to my friend who helped a lot with mips disassembly!) to create a small set of utils to pack/check images. I won't be around for a couple of weeks, butI think that these utils can be of use already while I am not around (I have attached the sourcecode to this emaill).
Compilation: tar vxf bcmutils.tzr.gz && cd bcmutils && cmake . && make That should produce bcm.makeimage and bcm.checkimage under sources directory. I haven't managed to get LZMA working yet. This is in my TODO list. The sourcecode is mostly commented (see bcmalgo.h if you would like to use the code) . Run with no arguments if you would like to see help built in. I guess scientific atlanta DPC2100 cable modems are not the only pieces of hardware utilising the broadcom bootloader, so it can be of use. That's it, hope it will be of use.
bcmutils-0.1.tar.gz
Description: GNU Zip compressed data
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel