Commit Graph

5 Commits

Author SHA1 Message Date
Holger Hans Peter Freyther 6d8f8e005e sysmobts-v2: Introduce a recovery command to reflash the system image
When pressing the reset button on boot the system will enter the
recovery mode, this is done by setting a preboot command. Inside the
preboot command we will sleep and then check if the button is still
pressed, then tftp will be used to download the image and flash it. If
something fails after the DHCP state the network console will be
enabled.
2013-01-14 19:40:53 +01:00
Holger Hans Peter Freyther 487b90c40c sysmobts-v2: Enable the LED code with the GPIO LED driver.
LED0 is the "RF Active"/Yellow LED on the sysmobts-v2. We are not
using the 'yellow' LED alias as one needs to provide two functions
that call __led_set on led_yellow_on and led_yellow_off. Initialize
the GPIO direction in the board routine as the status_led code will
not be used.
2013-01-14 19:39:35 +01:00
Holger Hans Peter Freyther 26af5ee6e6 boot: Enable the option to interrupt the boot with phrase
The serial console might be connected to other equipment,
do not let it interrupt the auto-boot.
2013-01-14 19:36:40 +01:00
Holger Hans Peter Freyther 1528f96e4b sysmobts_v2: Add RevisionD for the sysmoBTSv2 hardware
The only ARM/kernel visible change is the change of the EEPROM. U-Boot
sadly does not support to select EEPROM with different page sizes and
address length. This is why we need to patch the common epprom code.

Introduce a new command to allow dynamic configuration of the EEPROM,
move the eeprom parameters into variables and change the code. This sadly
copies the SPI_X code as well. The address creation could be moved to
a different variable.

This code has been tested on RevC and RevD hardware and an IP address
could be obtained in both cases.
2013-01-14 19:36:40 +01:00
Holger Hans Peter Freyther d069eab228 sysmobts_v2: Add support for the sysmocom bts version two. 2013-01-14 19:36:39 +01:00