OpenWrt Forum Archive

Topic: New Broadcom BCM63xx codebase with GPL'd Ethernet and USB support

The content of this topic has been archived between 8 Feb 2018 and 7 May 2018. Unfortunately there are posts – most likely complete pages – missing.

Following Orca's post linking to this thread.

I am thinking if what I've done so far will be of any help and/or if someone can help me out in getting openwrt on this device.

Briefly I have been able to get what they call "temp root" as they say on android. I have been able to get busybox on to the device and can extract any file or even the entire partition if required.

So if any binary drivers are required I could probably extract the same.

The full post is here

https://forum.openwrt.org/viewtopic.php … 92#p174892

Am I on the right track or what?

Thanks
Mavin

(Last edited by mavin on 16 Aug 2012, 08:06)

hello everyone ..I have can anyone sent a bcm6348 CFE file for me???? thanks soilfish@163.com

CPU + ADSL + USB: Broadcom BCM6358 - SOC
WiFi: Atheros AR5416 + Atheros AR2133,
LAN: Broadcom BCM5325,
RAM: EON EN29LV640H-90TCP,
Flash: EtronTech EM6AA160TS-5G,

linksys wag325n

console
http://pastebin.com/YqciAkRN

can it run openwrt?

(Last edited by snipers on 3 Dec 2012, 00:21)

Playing around with Siemens CL-040-I, a Broadcom BCM6338 based ADSL Modem with a couple of days now.
I know the ADSL part is closed source and will not work but I'm interested mainly in a network capable GPIO device.
After patching boardid (to RTA1320_16M), building trunk r35205 and flashing, the systems boots and is accessible by network (after configuring IP) as well on serial console.
The preinit scripts however tries to initialize the rootfs_data partition with some errors(?) and after a reset the cfe won't find a flash image (see http://pastebin.com/ApP1ebxf )
I was able to reflash and entered failsafe mode. The mdt3 contains the "deadC0de" marker. I can successfully erase the nvram partion (mtd4) or write anything to it, but if I write to mtd3 (the rootfs_data -- just to just remove the marker) and reboot, the cfe just answers "Flash image not found."

Is there a problem with the flash layout or the checksum?
This seems to be the flash layout from other similar devices (also see http://wiki.openwrt.org/doc/techref/flash.layout)

<--- CFE --->|<---                   linux                             --->|<--- nvram --->
             |<-- 256b header -->|<-- kernel -->|<--       rootfs       -->|
                                                       |<-- rootfs_data -->|

I've tried to issue an "mtd fixtrx linux" manually:

Trying to fix trx header in linux at 0x0...
Verifying we actually have an imagetag.
Checking current fixed status.
Setting root length to 0.
Recalculating CRCs.
Erasing imagetag block
New image crc32: 0xe26731ac, rewriting block
New header crc32: 0x925bf34b, rewriting block
Done.

But this seems to currupt the kernel with lines of 0xFF, I verified which hexdump/md5sum.

The mtd3 partion looks real strange after normal init, the 0x1985 magic seems mirrored every 0x10000 bytes... (see pastebin)

I ended up by renaming /sbin/firstboot for now...

This seems to be another warrior on this paticular platform.

Hi Heimi,

I used the 'mtd fixtrx linux' command before. see: https://forum.openwrt.org/viewtopic.php … 34#p128434
This is because our CFE unfortunatly has 'Dual Linux Image Support'.
This can be seen from the following messages:
"Checking running image.....
Running image good. Comparing running image to backup.....
Backup image is different from running image. Copying running to backup(2686980).....
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Image copied to running.(2686980)"
But I don't see this in your pastbin.

I used it for this router: http://wiki.openwrt.org/toh/davolink/dv-201amr

You might want to have a look at the description of the patch Cshore introduced.
Or send him an email (seems he was still active not to long ago: https://dev.openwrt.org/changeset/34433).

Hi I am new to this openwrt world and i compiled sdk backfire_10.03.1 for my compex wp543 board and when i try to port my firmware through Gui it says that error bad memory and how to adjust firmware size while compiling while my normal firmware side is 3.4 mb but open wrt firmware size is big how to solve this issue please help

Hi,
was looking for some info about BT HomeHub 2A and stumbled upon Huawei HG 556a

i am no programmer but i think it has open source adsl driver and seems to be complete

Huaweil HG 556A OpenSource

I found the code here (http://consumer.huawei.com/en/support/d … m?id=18086) too, but though I can write code, It is too much for me. I could help, if someone have the guts (and know-how) to start coding. Tried to contact with the developers, but no success in finding any adress...

Thank you for the code.

Good day, wondering if BCM6328 in GT784WN is supported in OpenWRT for ADSL use?

Through the device list I see devices with BCM6328 in which some day not supported and others say nothing.  The actual GT784WN does not mention that xDSL is not supported.

Thanks

Hi, all,

I can't believe it's been 10 years since this thread started.

I hope you can help me with a compile error when I try to compile openwrt/lede with ffmpeg:

allformats.o -c -o libavformat/allformats.o libavformat/allformats.c
In file included from ./libavutil/internal.h:169:0,
                 from ./libavutil/common.h:467,
                 from ./libavutil/avutil.h:290,
                 from ./libavutil/samplefmt.h:24,
                 from ./libavcodec/avcodec.h:31,
                 from libavformat/avformat.h:319,
                 from libavformat/allformats.c:22:
./libavutil/libm.h:54:32: error: static declaration of 'cbrt' follows non-static declaration
 static av_always_inline double cbrt(double x)
                                ^~~~
In file included from ./libavutil/common.h:36:0,
                 from ./libavutil/avutil.h:290,
                 from ./libavutil/samplefmt.h:24,
                 from ./libavcodec/avcodec.h:31,
                 from libavformat/avformat.h:319,
                 from libavformat/allformats.c:22:
/media/hala/compile/lede/staging_dir/toolchain-mips_mips32_gcc-7.3.0_musl/include/math.h:151:13: note: previous declaration of 'cbrt' was here
 double      cbrt(double);
             ^~~~
In file included from ./libavutil/internal.h:169:0,
                 from ./libavutil/common.h:467,
                 from ./libavutil/avutil.h:290,
                 from ./libavutil/samplefmt.h:24,
                 from ./libavcodec/avcodec.h:31,
                 from libavformat/avformat.h:319,
                 from libavformat/allformats.c:22:
./libavutil/libm.h:61:31: error: static declaration of 'cbrtf' follows non-static declaration
 static av_always_inline float cbrtf(float x)
                               ^~~~~
In file included from ./libavutil/common.h:36:0,
                 from ./libavutil/avutil.h:290,
                 from ./libavutil/samplefmt.h:24,
                 from ./libavcodec/avcodec.h:31,
                 from libavformat/avformat.h:319,
                 from libavformat/allformats.c:22:
/media/hala/compile/lede/staging_dir/toolchain-mips_mips32_gcc-7.3.0_musl/include/math.h:152:13: note: previous declaration of 'cbrtf' was here
 float       cbrtf(float);
             ^~~~~
In file included from ./libavutil/internal.h:169:0,
                 from ./libavutil/common.h:467,
                 from ./libavutil/avutil.h:290,
                 from ./libavutil/samplefmt.h:24,
                 from ./libavcodec/avcodec.h:31,
                 from libavformat/avformat.h:319,
                 from libavformat/allformats.c:22:
./libavutil/libm.h:68:32: error: static declaration of 'copysign' follows non-static declaration
 static av_always_inline double copysign(double x, double y)
                                ^~~~~~~~
In file included from ./libavutil/common.h:36:0,
                 from ./libavutil/avutil.h:290,
                 from ./libavutil/samplefmt.h:24,
                 from ./libavcodec/avcodec.h:31,
                 from libavformat/avformat.h:319,
                 from libavformat/allformats.c:22:
/media/hala/compile/lede/staging_dir/toolchain-mips_mips32_gcc-7.3.0_musl/include/math.h:159:13: note: previous declaration of 'copysign' was here
 double      copysign(double, double);
             ^~~~~~~~
In file included from ./libavutil/internal.h:169:0,
                 from ./libavutil/common.h:467,
                 from ./libavutil/avutil.h:290,
                 from ./libavutil/samplefmt.h:24,
                 from ./libavcodec/avcodec.h:31,
                 from libavformat/avformat.h:319,
                 from libavformat/allformats.c:22:
./libavutil/libm.h:121:22: error: static declaration of 'erf' follows non-static declaration
 static inline double erf(double z)
                      ^~~
In file included from ./libavutil/common.h:36:0,
                 from ./libavutil/avutil.h:290,
                 from ./libavutil/samplefmt.h:24,
                 from ./libavcodec/avcodec.h:31,
                 from libavformat/avformat.h:319,
                 from libavformat/allformats.c:22:
/media/hala/compile/lede/staging_dir/toolchain-mips_mips32_gcc-7.3.0_musl/include/math.h:171:13: note: previous declaration of 'erf' was here
 double      erf(double);
             ^~~
In file included from ./libavutil/internal.h:169:0,
                 from ./libavutil/common.h:467,
                 from ./libavutil/avutil.h:290,
                 from ./libavutil/samplefmt.h:24,
                 from ./libavcodec/avcodec.h:31,
                 from libavformat/avformat.h:319,
                 from libavformat/allformats.c:22:
./libavutil/libm.h:340:0: warning: "isnan" redefined
 #define isnan(x)                  \
 
In file included from ./libavutil/common.h:36:0,
                 from ./libavutil/avutil.h:290,
                 from ./libavutil/samplefmt.h:24,
                 from ./libavcodec/avcodec.h:31,
                 from libavformat/avformat.h:319,
                 from libavformat/allformats.c:22:
/media/hala/compile/lede/staging_dir/toolchain-mips_mips32_gcc-7.3.0_musl/include/math.h:66:0: note: this is the location of the previous definition
 #define isnan(x) ( \
 
In file included from ./libavutil/internal.h:169:0,
                 from ./libavutil/common.h:467,
                 from ./libavutil/avutil.h:290,
                 from ./libavutil/samplefmt.h:24,
                 from ./libavcodec/avcodec.h:31,
                 from libavformat/avformat.h:319,
                 from libavformat/allformats.c:22:
./libavutil/libm.h:359:0: warning: "isfinite" redefined
 #define isfinite(x)                  \
 
In file included from ./libavutil/common.h:36:0,
                 from ./libavutil/avutil.h:290,
                 from ./libavutil/samplefmt.h:24,
                 from ./libavcodec/avcodec.h:31,
                 from libavformat/avformat.h:319,
                 from libavformat/allformats.c:22:
/media/hala/compile/lede/staging_dir/toolchain-mips_mips32_gcc-7.3.0_musl/include/math.h:76:0: note: this is the location of the previous definition
 #define isfinite(x) ( \
 
In file included from ./libavutil/internal.h:169:0,
                 from ./libavutil/common.h:467,
                 from ./libavutil/avutil.h:290,
                 from ./libavutil/samplefmt.h:24,
                 from ./libavcodec/avcodec.h:31,
                 from libavformat/avformat.h:319,
                 from libavformat/allformats.c:22:
./libavutil/libm.h:366:31: error: static declaration of 'hypot' follows non-static declaration
 static inline av_const double hypot(double x, double y)
                               ^~~~~
In file included from ./libavutil/common.h:36:0,
                 from ./libavutil/avutil.h:290,
                 from ./libavutil/samplefmt.h:24,
                 from ./libavcodec/avcodec.h:31,
                 from libavformat/avformat.h:319,
                 from libavformat/allformats.c:22:
/media/hala/compile/lede/staging_dir/toolchain-mips_mips32_gcc-7.3.0_musl/include/math.h:223:13: note: previous declaration of 'hypot' was here
 double      hypot(double, double);
             ^~~~~
In file included from ./libavutil/internal.h:169:0,
                 from ./libavutil/common.h:467,
                 from ./libavutil/avutil.h:290,
                 from ./libavutil/samplefmt.h:24,
                 from ./libavcodec/avcodec.h:31,
                 from libavformat/avformat.h:319,
                 from libavformat/allformats.c:22:
./libavutil/libm.h: In function 'hypot':
./libavutil/libm.h:368:12: warning: unused variable 'ret' [-Wunused-variable]
     double ret, temp;
            ^~~
./libavutil/libm.h: At top level:
./libavutil/libm.h:423:22: error: static declaration of 'rint' follows non-static declaration
 static inline double rint(double x)
                      ^~~~
In file included from ./libavutil/common.h:36:0,
                 from ./libavutil/avutil.h:290,
                 from ./libavutil/samplefmt.h:24,
                 from ./libavcodec/avcodec.h:31,
                 from libavformat/avformat.h:319,
                 from libavformat/allformats.c:22:
/media/hala/compile/lede/staging_dir/toolchain-mips_mips32_gcc-7.3.0_musl/include/math.h:307:13: note: previous declaration of 'rint' was here
 double      rint(double);
             ^~~~
In file included from ./libavutil/internal.h:169:0,
                 from ./libavutil/common.h:467,
                 from ./libavutil/avutil.h:290,
                 from ./libavutil/samplefmt.h:24,
                 from ./libavcodec/avcodec.h:31,
                 from libavformat/avformat.h:319,
                 from libavformat/allformats.c:22:
./libavutil/libm.h:430:43: error: static declaration of 'lrint' follows non-static declaration
 static av_always_inline av_const long int lrint(double x)
                                           ^~~~~
In file included from ./libavutil/common.h:36:0,
                 from ./libavutil/avutil.h:290,
                 from ./libavutil/samplefmt.h:24,
                 from ./libavcodec/avcodec.h:31,
                 from libavformat/avformat.h:319,
                 from libavformat/allformats.c:22:
/media/hala/compile/lede/staging_dir/toolchain-mips_mips32_gcc-7.3.0_musl/include/math.h:267:13: note: previous declaration of 'lrint' was here
 long        lrint(double);
             ^~~~~
In file included from ./libavutil/internal.h:169:0,
                 from ./libavutil/common.h:467,
                 from ./libavutil/avutil.h:290,
                 from ./libavutil/samplefmt.h:24,
                 from ./libavcodec/avcodec.h:31,
                 from libavformat/avformat.h:319,
                 from libavformat/allformats.c:22:
./libavutil/libm.h:437:43: error: static declaration of 'lrintf' follows non-static declaration
 static av_always_inline av_const long int lrintf(float x)
                                           ^~~~~~
In file included from ./libavutil/common.h:36:0,
                 from ./libavutil/avutil.h:290,
                 from ./libavutil/samplefmt.h:24,
                 from ./libavcodec/avcodec.h:31,
                 from libavformat/avformat.h:319,
                 from libavformat/allformats.c:22:
/media/hala/compile/lede/staging_dir/toolchain-mips_mips32_gcc-7.3.0_musl/include/math.h:268:13: note: previous declaration of 'lrintf' was here
 long        lrintf(float);
             ^~~~~~
In file included from ./libavutil/internal.h:169:0,
                 from ./libavutil/common.h:467,
                 from ./libavutil/avutil.h:290,
                 from ./libavutil/samplefmt.h:24,
                 from ./libavcodec/avcodec.h:31,
                 from libavformat/avformat.h:319,
                 from libavformat/allformats.c:22:
./libavutil/libm.h:444:41: error: static declaration of 'round' follows non-static declaration
 static av_always_inline av_const double round(double x)
                                         ^~~~~
In file included from ./libavutil/common.h:36:0,
                 from ./libavutil/avutil.h:290,
                 from ./libavutil/samplefmt.h:24,
                 from ./libavcodec/avcodec.h:31,
                 from libavformat/avformat.h:319,
                 from libavformat/allformats.c:22:
/media/hala/compile/lede/staging_dir/toolchain-mips_mips32_gcc-7.3.0_musl/include/math.h:311:13: note: previous declaration of 'round' was here
 double      round(double);
             ^~~~~
In file included from ./libavutil/internal.h:169:0,
                 from ./libavutil/common.h:467,
                 from ./libavutil/avutil.h:290,
                 from ./libavutil/samplefmt.h:24,
                 from ./libavcodec/avcodec.h:31,
                 from libavformat/avformat.h:319,
                 from libavformat/allformats.c:22:
./libavutil/libm.h:451:40: error: static declaration of 'roundf' follows non-static declaration
 static av_always_inline av_const float roundf(float x)
                                        ^~~~~~
In file included from ./libavutil/common.h:36:0,
                 from ./libavutil/avutil.h:290,
                 from ./libavutil/samplefmt.h:24,
                 from ./libavcodec/avcodec.h:31,
                 from libavformat/avformat.h:319,
                 from libavformat/allformats.c:22:
/media/hala/compile/lede/staging_dir/toolchain-mips_mips32_gcc-7.3.0_musl/include/math.h:312:13: note: previous declaration of 'roundf' was here
 float       roundf(float);
             ^~~~~~
In file included from ./libavutil/internal.h:169:0,
                 from ./libavutil/common.h:467,
                 from ./libavutil/avutil.h:290,
                 from ./libavutil/samplefmt.h:24,
                 from ./libavcodec/avcodec.h:31,
                 from libavformat/avformat.h:319,
                 from libavformat/allformats.c:22:
./libavutil/libm.h:458:41: error: static declaration of 'trunc' follows non-static declaration
 static av_always_inline av_const double trunc(double x)
                                         ^~~~~
In file included from ./libavutil/common.h:36:0,
                 from ./libavutil/avutil.h:290,
                 from ./libavutil/samplefmt.h:24,
                 from ./libavcodec/avcodec.h:31,
                 from libavformat/avformat.h:319,
                 from libavformat/allformats.c:22:
/media/hala/compile/lede/staging_dir/toolchain-mips_mips32_gcc-7.3.0_musl/include/math.h:347:13: note: previous declaration of 'trunc' was here
 double      trunc(double);
             ^~~~~
In file included from ./libavutil/internal.h:169:0,
                 from ./libavutil/common.h:467,
                 from ./libavutil/avutil.h:290,
                 from ./libavutil/samplefmt.h:24,
                 from ./libavcodec/avcodec.h:31,
                 from libavformat/avformat.h:319,
                 from libavformat/allformats.c:22:
./libavutil/libm.h:465:40: error: static declaration of 'truncf' follows non-static declaration
 static av_always_inline av_const float truncf(float x)
                                        ^~~~~~
In file included from ./libavutil/common.h:36:0,
                 from ./libavutil/avutil.h:290,
                 from ./libavutil/samplefmt.h:24,
                 from ./libavcodec/avcodec.h:31,
                 from libavformat/avformat.h:319,
                 from libavformat/allformats.c:22:
/media/hala/compile/lede/staging_dir/toolchain-mips_mips32_gcc-7.3.0_musl/include/math.h:348:13: note: previous declaration of 'truncf' was here
 float       truncf(float);
             ^~~~~~
common.mak:60: recipe for target 'libavformat/allformats.o' failed
make[4]: *** [libavformat/allformats.o] Error 1
make[4]: Leaving directory '/media/hala/compile/lede/build_dir/target-mips_mips32_musl/ffmpeg-mini/ffmpeg-3.2.10'
Makefile:714: recipe for target '/media/hala/compile/lede/build_dir/target-mips_mips32_musl/ffmpeg-mini/ffmpeg-3.2.10/.built' failed
make[3]: *** [/media/hala/compile/lede/build_dir/target-mips_mips32_musl/ffmpeg-mini/ffmpeg-3.2.10/.built] Error 2
make[3]: Leaving directory '/media/hala/compile/lede/feeds/packages/multimedia/ffmpeg'
package/Makefile:107: recipe for target 'package/feeds/packages/ffmpeg/compile' failed
make[2]: *** [package/feeds/packages/ffmpeg/compile] Error 2
make[2]: Leaving directory '/media/hala/compile/lede'
package/Makefile:103: recipe for target '/media/hala/compile/lede/staging_dir/target-mips_mips32_musl/stamp/.package_compile' failed
make[1]: *** [/media/hala/compile/lede/staging_dir/target-mips_mips32_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/media/hala/compile/lede'
/media/hala/compile/lede/include/toplevel.mk:216: recipe for target 'world' failed
make: *** [world] Error 2

Kind regards

The discussion might have continued from here.