Carambola

Toolchain

git clone https://github.com/8devices/carambola carambola
./scripts/feeds update -a
./scripts/feeds install -a

make kernel_menuconfig
make menuconfig
make

patching Kernel's VLAN Settings

Note to myself: Is this still needed? http://8devices.com/community/viewtopic.php?f=6&t=42

in /builddir/linux-ramipsrt305x/linux-2.6.39.4/arch/mips/ralink/rt305x/mach-carambola.c:

replace:

rt305x_esw_data.vlan_config = RT305X_ESW_VLAN_CONFIG_LLLLW;

with:

rt305x_esw_data.vlan_config = RT305X_ESW_VLAN_CONFIG_WLLLL;

result:

=> eth0: WAN Port 
=> eth1: LAN Port

flashing

install atftp

TFTPD_ROOT="/home/eric/share"
TFTPD_OPTS="--daemon --user nobody --group nobody"

Connect serial cable to carambola. When this message appears, press "2":

Please choose the operation: 
  1: Load system code to SDRAM via TFTP. 
  2: Load system code then write to Flash via TFTP. 
  3: Boot system code via Flash (default).
  4: Entr boot command line interface.
  9: Load Boot Loader code then write to Flash via TFTP.