not a popular device due to the crippled proprietary broadcom wifi... but as i have one and the support is imperfect... using this to make some notes for others / future patch...
there are two fixes that needed to be made that i know of...
- space ( possible cause / fix below ) sysup incorrectly thinks there is only 2MB > assert is fine for .bin < ~6.5mb~ probably more...
buildroot-device notes for space
target/linux/bcm53xx/patches-4.14/034-v4.20-0001-ARM-dts-BCM5301X-Specify-flash-partitions.patch
"rootfs"
+ reg = <0x240000 0xc00000>;
dmesg has > rootfs@0x000000240000-0x000000e40000 :
- leds tweaks ( need to find my patches / notes )... off the top of my head... a small tweak for wan activity / status
led-notes-notright-butwhatididlasttime?
leds {
compatible = "gpio-leds";
2ghz {
label = "bcm53xx:green:2ghz";
gpios = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
};
lan {
label = "bcm53xx:green:lan";
gpios = <&chipcommon 1 GPIO_ACTIVE_HIGH>;
};
usb2-port1 {
label = "bcm53xx:green:usb2-port1";
gpios = <&chipcommon 2 GPIO_ACTIVE_HIGH>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
};
power {
label = "bcm53xx:green:power";
gpios = <&chipcommon 4 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "default-on";
};
wan-green {
label = "bcm53xx:green:wan";
gpios = <&chipcommon 5 GPIO_ACTIVE_HIGH>;
};
wps {
label = "bcm53xx:green:wps";
gpios = <&chipcommon 6 GPIO_ACTIVE_HIGH>;
};
wan-amber {
label = "bcm53xx:amber:wan";
gpios = <&chipcommon 8 GPIO_ACTIVE_HIGH>;
};
5ghz {
label = "bcm53xx:green:5ghz";
gpios = <&chipcommon 12 GPIO_ACTIVE_HIGH>;
};
usb2-port2 {
label = "bcm53xx:green:usb2-port2";
gpios = <&chipcommon 13 GPIO_ACTIVE_HIGH>;
trigger-sources = <&ohci_port2>, <&ehci_port2>;
linux,default-trigger = "usbport";
};
};
+config led
+ option name 'wanon'
+ option sysfs 'bcm53xx:green:wan'
+ option default '1'
+ option trigger 'netdev'
+ option dev 'eth0.2'
+ option mode 'tx'
+
+config led
+ option name 'wanoff'
+ option sysfs 'bcm53xx:amber:wan'
+ option trigger 'netdev'
+ option dev 'eth0.2'
+ option mode 'link'
+ option default '1'
+
+config led
+ option default '0'
+ option name 'wasusb1'
+ option sysfs 'bcm53xx:green:usb2-port1'
+ option trigger 'usbport'
+ list port 'usb1-port1'
+ list port 'usb1-port2'
+ list port 'usb2-port1'
+ list port 'usb2-port2'
not sure if they are the right bits... if I ever build for it again i'll clean this up... because I had it setup to alternate the green / amber... but if anyone else wants to be my guest...
( the other threads were both closed )
hardware questions
Installing and Using