event:2014:hacksession
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
project:hacksession [2014-03-21 01:41] – [#2-4 minikrebs upgrading] 78.42.84.17 | event:2014:hacksession [2020-07-20 16:38] (aktuell) – ↷ Links angepasst weil Seiten im Wiki verschoben wurden 192.168.146.218 | ||
---|---|---|---|
Zeile 18: | Zeile 18: | ||
* dd/cat new images | * dd/cat new images | ||
* flashing openwrt | * flashing openwrt | ||
- | * completely read through (not skim) wifi and forum entries, makefu completely overlooked that the bootloader contains two parts: | ||
- | * Boot-loader (mtd0) | ||
- | * 64k u-boot (pepe2k) | ||
- | * cd u-boot_mod; make tplink_mr3020 | ||
- | * 64k data (copy from old image) | ||
- | * dd if=old_image.bin of=data.bin bs=1 skip=65536 count=65536 | ||
- | * openwrt-image (mtd1-mtd3) | ||
- | * we built one which provides maximum size (16mb) for building and with write-protection removed from mtd0 and mtd4 | ||
- | * ART (mtd4) | ||
- | * 64k wifi config data (copy from old image) | ||
- | * dd if=old_image.bin of=art.bin bs=1 skip=$(($old_image_size - 65536)) | ||
- | * the u-boot_mod by pepe2k (https:// | ||
- | * | ||
- | Code here - [[https:// | + | |
+ | Code here - [[https:// | ||
===== Hardware TP-Link WR703N / WR702N / MR3020 ===== | ===== Hardware TP-Link WR703N / WR702N / MR3020 ===== | ||
Zeile 40: | Zeile 28: | ||
* possible flash-upgrade [[http:// | * possible flash-upgrade [[http:// | ||
* ram [[http:// | * ram [[http:// | ||
- | * SMA connector (not: RP SMA ... as in reverse pin) | + | * SMA connector (not: RP SMA ... as in reverse pin), these are astonishingly hard to get, we only got a 20-package: http:// |
- | ## Flasher | + | ==== Flasher |
WCH CH341A | WCH CH341A | ||
* seems not to be supported by flashrom: | * seems not to be supported by flashrom: | ||
Zeile 49: | Zeile 38: | ||
* we have not made it working in a VM ... with a broken usb cable as it turns out. | * we have not made it working in a VM ... with a broken usb cable as it turns out. | ||
- | # uboot | + | ===== uboot ===== |
* you need to upgrade uboot to be able to use new 16MB flash chip and find ART partition and more ... makefu go | * you need to upgrade uboot to be able to use new 16MB flash chip and find ART partition and more ... makefu go | ||
https:// | https:// | ||
- | #crosscompiling | + | ==== crosscompiling |
* get installer from: https:// | * get installer from: https:// | ||
- | ## gui didn't seem to be working | + | * gcc for MIPS seems to be working as well |
- | * ./installer -console | + | |
- | * click through... | + | |
- | * location: $HOME/ | + | |
- | ## add to path | + | ==== GUI ==== |
+ | gui didn't seem to be working for me: as a user | ||
+ | < | ||
+ | ./installer -console | ||
+ | # click through... | ||
+ | </ | ||
+ | install location: $HOME/ | ||
+ | ==== add to path ==== | ||
+ | < | ||
echo " | echo " | ||
- | + | </ | |
- | ## goto checked out project | + | ==== goto checked out project |
+ | < | ||
cd u-boot_mod | cd u-boot_mod | ||
make tplink_wr703n | make tplink_wr703n | ||
make tplink_mr3020 | make tplink_mr3020 | ||
+ | </ | ||
+ | ==== booting u-boot_mod ==== | ||
+ | |||
+ | Hold button for 3 seconds to get http-server at 192.168.1.1, | ||
+ | |||
+ | ===== Image ===== | ||
+ | We created the following image in the end: | ||
+ | * Boot-loader (mtd0) (128k) | ||
+ | * 64k u-boot (pepe2k) | ||
+ | * < | ||
+ | * 64k data (copy from old image) | ||
+ | * < | ||
+ | * openwrt-image (mtd1-mtd3) (rest space) | ||
+ | * we built one which provides maximum size (16mb) for building and with write-protection removed from mtd0 and mtd4 | ||
+ | * in < | ||
+ | | ||
+ | * ART (mtd4) (65k) | ||
+ | * 64k wifi config data (copy from old image) | ||
+ | * < | ||
+ | |||
+ | |||
Zeile 78: | Zeile 96: | ||
WR702N | WR702N | ||
* TP-Link wr702n [[ http:// | * TP-Link wr702n [[ http:// | ||
+ | * You will need to replace both, RAM and flash and you will not have a working USB adapter. just buy a wr703 | ||
| | ||
MR3020 | MR3020 | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
Zeile 102: | Zeile 124: | ||
* barbecue takes too much time away from your hacking session / albi | * barbecue takes too much time away from your hacking session / albi | ||
* rp SMA is not the plug you want | * rp SMA is not the plug you want | ||
+ | * completely read through (not skim) wifi and forum entries, i completely overlooked that the bootloader contains two parts: code AND config data /makefu | ||
+ | * Cross-Compiling (openWRT, u-boot) is not that hard /makefu | ||
+ | * the u-boot_mod by pepe2k (https:// | ||
+ | |||
===== #1: Soundflower ===== | ===== #1: Soundflower ===== | ||
- | * [[project: | + | * [[friedhof: |
event/2014/hacksession.txt · Zuletzt geändert: 2020-07-20 16:38 von 192.168.146.218