ap105 flash
1.0.0
Herramienta para intercambiar el cargador de arranque Aruba AP-105 almacenado en un chip de flash MX25L12835 con UBOOT para flashear OpenWrt con un RaspberryPi.
Requisitos:
flashromConfigurar SPI en RaspberryPI:
sudo raspi-config
# Select Interfacing Options
# Select SPI
# Select Yes
# Select Ok
# Leave with finish or ESC
Para instalar flashrom :
sudo apt-get install flashrom
Conecte el chip flash AP105. El LED de estado rojo en AP105 debe brillar
*-------------------------------------*
| |
| ------|MX25L12835------ |
| | | |
| *-----|1 HOLD#/SIO3 CLK 16 |---|----*
| *-----|2 VCC SI/SIO0 15 |---* |
| | |3 RESET# | |
| | |4 | |
| | |5 | |
| | |6 | |
| | *--|7 CS# GND 10 |------* |
| *-|-----|8 SO/SIO1 WP#/SIO2 |-* | |
| | | | ----------------------- | | |
| | | | | | |
| | *-------------------------------* | |
| | | | | |
| | | *-------------------------------* | |
| | | | | |
| | | --------|RaspberryPi|------- | | |
| | | | 1 2| | | |
| | | | 3 4| | | |
| | | | 5 6| | | |
| | | | 7 8| | | |
| | | | 9 10| | | |
| | | |11 12| | | |
| | | |13 14| | | |
| | | |15 16| | | |
| | *---|17 +3V3 18| | | |
| *-----|19 MOSI/GPIO 20| | | |
*-------|21 MISO/GPIO 22| | | |
*-----|23 SCLK/GPIO GPIO 8/CE0# 24|-* | |
| *---|25 GND 26| | |
| | |27 28| | |
| | |29 30| | |
| | |31 32| | |
| | |33 34| | |
| | |35 36| | |
| | |37 38| | |
| | |39 40| | |
| | ---------------------------- | |
| | | |
| *------------------------------------* |
*----------------------------------------*
ap105-flash <SERIAL NUMBER>
El flash se asegurará en los archivos:
AP105-<SERIAL NUMBER>-dump0.romAP105-<SERIAL NUMBER>-dump1.rom El AP105-<SERIAL_NUMBER>-dump0.rom se parcará con UBOOT uboot.bin y se creará el archivo AP105-<SERIAL NUMBER>-patch.rom .
Después de una confirmación, el archivo parcheado se flasheará al dispositivo.
SPEED=1000 ap105-flash <SERIAL NUMBER>