Alexander Couzens
6ae76c3541
dhcp: increase timeout counts to wait long enoguh for STP forward
2015-05-19 16:18:49 +02:00
Alexander Couzens
36f05d569d
cmd_recovery: remove old unused argument force
2015-05-19 11:00:29 +02:00
Alexander Couzens
e962169649
cmd_recovery: replace flashing with booting an initramfs image
2015-05-19 10:59:29 +02:00
Alexander Couzens
211d005623
jb02v3-skw: increase flash size to 16mb
2015-05-12 17:15:46 +02:00
Alexander Couzens
35dabe9f00
add missing configuration file for jb02v3-skw based on ap2
2015-05-12 16:11:51 +02:00
Alexander Couzens
4de88f22b4
add support for jb02v3-skw based on ap2
2015-05-12 16:10:06 +02:00
Alexander Couzens
92b0391332
rename jb02 into jb02v2-cb2
2015-05-12 16:09:47 +02:00
Alexander Couzens
7ea899a6d8
Revert "cmd_recovery: seperate multicommand lines by "&&"."
...
This reverts commit a418c264b2
.
run_command() doesn't understand &&.
2015-04-06 19:40:52 +02:00
Alexander Couzens
b5cd30559c
cmd_setmac/showserial: use value not the pointer as output
2015-04-06 18:52:39 +02:00
Alexander Couzens
a418c264b2
cmd_recovery: seperate multicommand lines by "&&".
2015-04-06 18:39:05 +02:00
Alexander Couzens
fa2f0a886c
cmd_setmac/setserial: fix incompatible pointer warning + unused variable
2015-04-06 18:30:52 +02:00
Alexander Couzens
ac606588bb
cmd_setmac/setserial: use simple_stroul instead of skip_atoi
2015-04-06 18:28:06 +02:00
Alexander Couzens
14586c76a0
cmd_setmac: remove unused include <stdlib.h>
2015-04-06 18:25:20 +02:00
Alexander Couzens
a32bdf95de
setserial: fix error message and rename var serialnumber -> serial_number
2015-04-06 18:23:11 +02:00
Alexander Couzens
2a21e331db
use skip_atoi instead of atoi
...
atoi requires a stdlib. skip_atoi is much simpler
2015-04-06 18:19:14 +02:00
Alexander Couzens
0e514396fa
add command setserial and showserial
2015-04-06 17:14:40 +02:00
Alexander Couzens
d54bbbc1e8
version: fix a typo
2015-04-04 20:42:13 +02:00
Alexander Couzens
04d016d730
version: use git tags matching "ar9331-v*" as version
2015-04-04 17:40:47 +02:00
Alexander Couzens
d6651043e2
replace 8devices/Caraboot version string with sysmocom
2015-04-04 17:30:14 +02:00
Alexander Couzens
38ad77b802
Makefile: limit git describe to tags "caraboot-v*"
2015-03-16 17:31:39 +01:00
Alexander Couzens
941f9e3083
README: update compile howto to include new buildroot configuration
2015-03-16 17:29:56 +01:00
Alexander Couzens
7de34dd008
Makefile: move buildroot toolchain to ./buildroot
2015-03-16 17:29:56 +01:00
Alexander Couzens
ada36ea014
Makefile: remove user specific path and replace them with relative paths
2015-03-16 17:29:56 +01:00
Alexander Couzens
2315facb0c
add buildroot.config: this config can be used to generate a sane crossgcc
...
The Caraboot doesn't compile with OpenWrt toolchain
2015-03-16 17:03:40 +01:00
Alexander Couzens
8a9d269a8e
configs: remove duplicate define BOOTDELAY from ar7240.h
...
It's not ar7240 specific and creates warning, because it's already defined in common.h.
2015-03-16 16:31:42 +01:00
Alexander Couzens
8398cb7f58
Makefile: use git describe as Caraboot version
2015-03-16 16:26:31 +01:00
Alexander Couzens
521b18c48a
configs: enable command saves - send a region over srecord
2015-03-16 16:16:11 +01:00
Alexander Couzens
4acb292f4e
configs: run recovery when bootm fails
2015-03-16 16:05:47 +01:00
Alexander Couzens
93aed6751b
cmd_recovery: fix run_command("set ...") `set <var>` -> `setenv <var>`
2015-03-12 01:47:51 +01:00
Alexander Couzens
72e548d4c5
add setmac/showmac commands to setmac or showmac
...
setmac <eth0> <eth1> <wlan0> [nobackup]
setmac first do a backup of the calibration sector. It copys the
sector to the sector before itself. This behavious can be overwritten by
adding `nobackup`.
showmac - show mac addreses.
2015-03-12 01:42:22 +01:00
Alexander Couzens
401b4f165b
cmd_mii/progmac: add ifdef CMD_PROGMAC to disable progmac
2015-03-11 18:05:07 +01:00
Alexander Couzens
41a2d23979
Makefile: add ap1 + jb02 targets
2015-03-11 17:59:14 +01:00
Alexander Couzens
476f1a788e
Makefile: replace make $(BOARD)_target's by global exports
2015-03-11 17:59:12 +01:00
Alexander Couzens
3d9467d828
configs: add configuration for ap1 and jb02
2015-03-11 17:58:41 +01:00
Alexander Couzens
4378289084
configs: carambola2 use carambola2 recovery image
2015-03-11 17:58:41 +01:00
Alexander Couzens
f401292cf7
Makefile: rename skylab targets to ap2
2015-03-11 17:58:37 +01:00
Alexander Couzens
01a658ce51
configs: rename skylab -> ap2
2015-03-11 17:40:17 +01:00
Alexander Couzens
96158b1b2e
configs: move CFG_BOOTM_LEN into common.h
2015-03-11 17:38:37 +01:00
Alexander Couzens
fd424cf047
configs: move CFG_BOOTM_LEN up to flash configuration
2015-03-11 17:37:45 +01:00
Alexander Couzens
9735e7c4b9
configs: move ETHADDR into common.h
2015-03-11 17:36:26 +01:00
Alexander Couzens
e38d63e12d
bootcycle: add argument value to cmd `inccycle`
...
value define how much the counter should increased
2015-03-11 16:37:33 +01:00
Alexander Couzens
b59bb608cd
configs/skylab: fix BOARDCAL location
...
BOARDCAL is used by progmac and ethernet code to load the mac address
from flash.
2015-03-10 14:54:12 +01:00
Alexander Couzens
aaa2d179da
configs: remove unused define WLANCAL
2015-03-10 14:52:56 +01:00
Alexander Couzens
90ec4c87c8
ag7240: fix valid mac address detection
...
replace mac[0] != 00 with mac[0] != ff otherwise the mac is wrong
2015-03-10 14:46:48 +01:00
Alexander Couzens
292f453210
congfigs/bootcmd: run recovery if bootm fails
2015-03-10 11:48:16 +01:00
Alexander Couzens
847feac483
recovery: introduce new define RECOVERY_FILENAME_STRING for tftp in cmd_recovery
...
It's used to define a different recovery image for ap1 and ap2
2015-03-09 19:33:35 +01:00
Alexander Couzens
d0ae6edf65
recovery: add comment to erase u-boot enviroment
2015-03-09 19:32:36 +01:00
Alexander Couzens
bedd2f78d2
recovery: remove old dead gpio checking code
2015-03-09 15:36:33 +01:00
Alexander Couzens
7c5985594c
recovery: fix image copy + resetcycle counter
2015-03-09 15:35:11 +01:00
Alexander Couzens
7966dca8a2
config/common: set bootdelay to 3 seconds
...
Fixes #1075
2015-03-09 15:21:29 +01:00