Partitions are generated depending on the size of the flash chip.
The layout on which the partition based is hardcoded into the module.
Using this new partition layout it makes possible to have 8mb and 16mb within
the same board definition.
Port0 is uplink/PD port (IDC)
Port1-3 are downink/PSE ports (IDC)
Port4 is admin port (RJ45)
* we only have 8 MByte flash
* we use the hardware LEDs for switch ports 1-5
The image boots and is able to establish links on both eth0 and eth1.
However, the LED support is not yet working as expected.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r42955
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42956 3c298f89-4303-0410-b956-a3cf2f4a3e73
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
Backport of r42130
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42393 3c298f89-4303-0410-b956-a3cf2f4a3e73