Commit Graph

44 Commits

Author SHA1 Message Date
Alexander Couzens 451635eda3 configs/jb02v2: remove 'v2' from initramfs file
the jb02v2 must match the openwrt board name which doesn't contain a v2 and isn't
easy changable
2015-07-19 21:01:53 +02:00
Alexander Couzens d97d1ee1f2 correct recovery filenames to be in sync with openwrt builds
removed prefix -skw and -cb2 from jb names
2015-07-19 19:02:34 +02:00
Alexander Couzens aa579e90e9 configs: rename recovery image filename to be consistant
sed -i 's/-sysmo-/-sysmocom-/g'
2015-06-30 19:17:30 +02:00
Alexander Couzens 7923dcb950 correct recovery file names to match openwrt initramfs names 2015-06-03 21:57:16 +02:00
Alexander Couzens 07469c59e3 detect flash chips by jedec ids instead of using hardcoded values 2015-06-02 11:38:54 +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 92b0391332 rename jb02 into jb02v2-cb2 2015-05-12 16:09:47 +02: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 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 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 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 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 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 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 7966dca8a2 config/common: set bootdelay to 3 seconds
Fixes #1075
2015-03-09 15:21:29 +01:00
Alexander Couzens 96e8e39feb configs: use bootcycle to detect a recovery case and run_recovery if needed 2015-03-04 21:12:51 +01:00
Alexander Couzens 935d074b4e configs: set STOP str to ap-stop and increase bootdelay to 8 secs 2015-03-04 20:58:02 +01:00
Alexander Couzens bcb1638b70 remove carambola_factory
we have our own recovery mechanism
2015-03-04 20:03:51 +01:00
Alexander Couzens a1c127f9a1 micro: move more config stuff into common.h 2015-03-04 20:00:39 +01:00
Alexander Couzens ed5b09c07a micro: move more config stuff into common.h 2015-03-04 19:59:01 +01:00
Alexander Couzens 2f28c555cf micro: move more config stuff into common.h 2015-03-04 19:55:51 +01:00
Alexander Couzens b8232ca19c micro: move more config stuff into common.h 2015-03-04 19:53:55 +01:00
Alexander Couzens b1860e6426 micro: move more config stuff into common.h 2015-03-04 19:53:19 +01:00
Alexander Couzens 9ab171012d FIXUP: remove EHCI stuff 2015-03-04 19:45:39 +01:00
Alexander Couzens 894d58c911 configs: remove unused define FLASH_SIZE 2015-03-04 19:32:48 +01:00
Alexander Couzens d169957dff configs: move generic ar7240 ddr + pll configuration into ar7240_freq.h 2015-03-04 19:23:44 +01:00
Alexander Couzens cb87eab8a2 configs: move board specific config vars from Makefile to configs/<board>.h 2015-03-04 18:55:02 +01:00
Alexander Couzens 19e56e0de4 remove USB support for skylab/carambola 2015-03-04 18:28:30 +01:00
Alexander Couzens 781503ce81 add bootcycle counter
Introduce 2 new commands.
`inccycle` to increase the bootcycle by one
`checkcycle` to check if bootcycle is reached. Returncode must be evaluated.
2015-03-03 14:38:18 +01:00
Alexander Couzens 21a475020e carambola/skylab: use hw watchdog 2015-03-03 01:41:27 +01:00
Alexander Couzens 8fda131810 add support for skylab 2015-03-03 01:40:56 +01:00
Mantas Pucka 49247b6229 Update baudrate table
FTDI does not support anything >3Mbaud
2014-10-28 10:59:19 +02:00
Mantas Pucka 8754f50b55 Add new UART driver, support for configurable baudrates 2014-10-24 13:47:59 +03:00
Mantas Pucka 2d5f7782ce Add option to configure char sequence for stopping boot process
Sequence is stored in 'bootstopkey' environment variable, default
sequence is <ESC> key (\x1B).
Non-printable chars in env variable should be escaped
using (\x1F) notation. Max len of sequence 40 chars for env
variable, 20 chars for raw (unescaped) string.
2014-10-23 09:38:12 +03:00
Mantas Pucka 2875718480 Initial code import 2014-10-21 15:40:42 +03:00