Commit Graph

6 Commits

Author SHA1 Message Date
Holger Hans Peter Freyther de83b50dec misc: Build with no strict aliasing to avoid compiler warnings
I have not looked at the change in binary size but it seems to
be fine and still works on the device.

nandboot.c:61:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
   magicNum = *((uint32_t *) nand_header);
   ^
nand.c:800:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
     uart_send_hexnum(*((uint32_t *) &read_buf[k]), 8);
2014-11-20 18:38:32 +01:00
Holger Hans Peter Freyther d04f24974a interrupt: Allow to interrupt the NAND boot by sending a command
Before doing the NAND boot the 'I_ME' message will be sent and the
ubl will wait up to a second for a response. This interruption mode
can be disabled, e.g. when deploying the system in a publically
accessible system. Right now the possibility of easy recovery is
more important.
2012-07-11 09:05:23 +02:00
Holger Hans Peter Freyther 8bb73db43a sysmobts_v2: Add sysmobts_v2 with runtime detection of DDR/NAND
Add the sysmobts_v2 board, move the DDR type detection into the ubl
with a fallback for the sysmobts_v1 with the current type of ram.
2012-04-25 09:20:55 +02:00
Holger Hans Peter Freyther 091a793e08 gzip: Remove the gunzip option from ubl to save some space in the binary 2012-04-25 09:20:55 +02:00
Holger Hans Peter Freyther d92d124eea sysmobts_v1: Add sysmobts_v1 changes to the UBL code. 2012-04-25 09:20:55 +02:00
Holger Hans Peter Freyther 4b779cf0d2 dvnixload/ubl copy as of pre 0.2.6 svn 2012-04-25 09:20:50 +02:00