=> arch debian i386 or amd64, open a term :
apt-get install git fakeroot build-essential ncurses-dev xz-utils libssl-dev bc liblz4-tool kernel-package u-boot-tools
wget https://raw.githubusercontent.com/jbsky/Debian-On-WRT1900AC-V1/master/kernel/mkKNLWRT1900AC
chmod +x mkKNLWRT1900AC
- Edit script to adjust vars.
./mkKNLWRT1900AC
=> arch debian i386 or amd64, open a term :
apt-get install debootstrap qemu-user-static arm-none-eabi*
wget https://raw.githubusercontent.com/jbsky/Debian-On-WRT1900AC-V1/master/kernel/mkFSWRT1900AC
chmod +x mkFSWRT1900AC
- Edit script to adjust vars.
./mkFSWRT1900AC
see https://github.com/Chadster766/McWRT/wiki/Flashing-Firmware-using-a-USB-to-TTL-Cable
=> update U-Boot Env
marvell>>setenv pri_kern_size 0x2800000
marvell>>setenv alt_kern_size 0x2800000
marvell>>setenv flash_alt_image 'tftp ${default_load_addr} ${firmware_name}; nand erase ${alt_kern_addr} ${alt_kern_size};nand write ${default_load_addr} ${alt_kern_addr} ${filesize};'
marvell>>setenv flash_alt_image 'tftp ${default_load_addr} ${firmware_name}; nand erase ${alt_kern_addr} ${alt_kern_size};nand write ${default_load_addr} ${alt_kern_addr} ${filesize};'
marvell>>setenv flash_pri_image 'tftp ${default_load_addr} ${firmware_name}; nand erase ${pri_kern_addr} ${pri_kern_size};nand write ${default_load_addr} ${pri_kern_addr} ${filesize};'
marvell>>saveenv
Tmin=50
Tmax=80
Vmax=255
V=Vmax*(CurTemp-Tmin)/(Tmax-Tmin)
Sea diagram : fancontrol.jpg
Script is inspired from debian.org's forum.
- add vm.min_free_kbytes = 16384
Always latest
- Care with an Intel 7260AC client
Roaming => min
Power => max
- see /usr/local/src/gpio_keys.c
- not working