Commit Graph

7 Commits

Author SHA1 Message Date
Holger Hans Peter Freyther ca2f91dbcb sysmobts-v2: Allow to remove the WP of the NAND flash
Starting from revision F we need to set nWP before writing to
flash. Create a new NAND command that can be used for that and
use it for fwup, booting and recovery mode. We assume that the
payload runs a RW filesystem so we set the GPIO before booting
the system.

Conflicts:
	board/davinci/sysmobts_v2/sysmobts_v2.c
	include/configs/davinci_sysmobts_v2.h
	include/nand.h
2015-02-05 20:06:49 +01:00
Holger Hans Peter Freyther 910946bf6a sysmobts-v2: UBL is setting the right A1CR values right now
Remove the code to set the A1CR values. UBL is now doing it for all
the flash chips supported by the sysmobts.
2014-07-11 09:39:56 +02:00
Holger Hans Peter Freyther a031c0833b sysmobts-v2: Change the rootfs partitioning for bigger u-boot
We are flashing multiple copies of the UBL and U-Boot to be more
tolerant for too many bit flips in the early messages.
2014-05-19 19:21:50 +02:00
Holger Hans Peter Freyther 6633b83bf5 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.
2012-12-18 14:46:28 +01:00
Holger Hans Peter Freyther 5ee9b97601 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.
2012-07-16 19:41:33 +02:00
Holger Hans Peter Freyther b637d39d5c 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.
2012-07-13 14:36:37 +02:00
Holger Hans Peter Freyther 89f30639d8 sysmobts_v2: Add support for the sysmocom bts version two. 2012-05-13 20:56:56 +02:00