Denis Pynkin
88720cc579
net: Use packed structures for networking
...
PXE boot is broken with GCC 7.1 due option '-fstore-merging' enabled
by default for '-O2':
BOOTP broadcast 1
data abort
pc : [<8ff8bb30>] lr : [<00004f1f>]
reloc pc : [<17832b30>] lr : [<878abf1f>]
sp : 8f558bc0 ip : 00000000 fp : 8ffef5a4
r10: 8ffed248 r9 : 8f558ee0 r8 : 8ffef594
r7 : 0000000e r6 : 8ffed700 r5 : 00000000 r4 : 8ffed74e
r3 : 00060101 r2 : 8ffed230 r1 : 8ffed706 r0 : 00000ddd
Flags: nzcv IRQs off FIQs off Mode SVC_32
Resetting CPU ...
Core reason is usage of structures for network headers without packed
attribute.
Reviewed-by: Yauheni Kaliuta <yauheni.kaliuta@redhat.com>
Signed-off-by: Denis Pynkin <denis.pynkin@collabora.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Conflicts:
include/net.h
2018-07-17 12:41:18 +02:00
Rene Straub
34e91fa6e1
hancock: set board version in device-tree
2018-07-06 20:30:27 +02:00
Rene Straub
786c7ae6c3
hancock: change DTB default name
2018-07-06 18:16:09 +02:00
Rene Straub
7227528d40
hancock: fix and increase bootp timeout
2018-07-06 18:13:44 +02:00
Rene Straub
957b2967e0
hancock: spi driver test
2018-06-16 13:24:43 +02:00
Rene Straub
5fc651b1ae
hancock: change console to UART2 (board config file)
2018-06-16 12:07:14 +02:00
Rene Straub
17a0af95a9
hancock: update during board bringup
2018-06-16 11:20:37 +02:00
Rene Straub
713f471820
hancock: add SMSC Ethernet PHY support
2018-06-08 13:53:15 +02:00
Rene Straub
b85f04e84a
hancock: prepare spi driver for ethernet switch configuration
...
- enable spi1 unit peripheral clock
- add test function for hw integration
2018-06-07 08:52:47 +02:00
Rene Straub
a8a71f0287
hancock: initial commit
2018-06-06 14:24:01 +02:00
Rene Straub
29f4a69460
nrhw20: update default environment
...
- fix DTB file name
- change boot partition to /dev/mmcblk1
- cleanup
2018-02-28 14:56:29 +01:00
Rene Straub
32bd1aef95
nrhw20: cleanup board config file
...
- Remove clock synthesizer
- Cleanup and formatting
2018-02-23 09:24:17 +01:00
Rene Straub
619d72886f
nrhw20: revert changes to EEPROM config
2018-02-23 08:43:14 +01:00
Rene Straub
f5664dbb12
nrhw20: remove spl command
2018-02-23 08:38:38 +01:00
Rene Straub
09dd80b40d
nrhw20: update default config
...
- add high addresses for fdt, init ramdisc
- add cpsw Ethernet driver maximum frame size to bootline
2018-02-19 12:05:08 +01:00
Rene Straub
7ea38f55a4
nrhw20: refactore and cleanup board file
...
- move environment to eMMC
- add i2c io extender driver
- enable RTC backup battery charging
- remove occurances of 2nd ethernet port
- remove dead code
2018-02-09 14:06:56 +01:00
Rene Straub
4efe96de7f
nrhw20: add mv88e60xx to phy library
2018-02-08 12:53:35 +01:00
Rene Straub
d4d8afa3f0
nrhw20: first implementation of 88E6071 switch
2018-02-06 17:09:40 +01:00
Rene Straub
4ebdf0876f
nrhw20: preparations for GPIO, I2C
2018-01-06 18:33:29 +01:00
Rene Straub
756fa2b3e3
nrhw20: review, cleanup
2018-01-04 17:33:53 +01:00
Rene Straub
7518ca5631
nrhw20: initial commit
2017-12-15 15:00:24 +01:00
Stefan Eichenberger
22506ffe45
nbhw16: add shield command (dualcan and comio)
2017-07-05 16:18:00 +02:00
Stefan Eichenberger
8fcb0f99f7
netbird_v2: pxe boot: update environment
2017-03-30 15:13:19 +02:00
Stefan Eichenberger
e494b8cf62
netbird_v2: set addresses direct not via variables
...
Variable assignment via variables does not work in the predefined
configuration.
2017-03-22 09:45:51 +01:00
Stefan Eichenberger
36db1ecf18
netbird_v2: make address hexadecimal
2017-03-21 12:43:40 +01:00
Stefan Eichenberger
1cf38b946c
netbird_v2: set correct pxefileaddr
2017-03-21 12:42:08 +01:00
Stefan Eichenberger
237c554f79
netbird_v2: fix previous commit
2017-03-21 11:58:56 +01:00
Stefan Eichenberger
a9612b4971
netbird_v2: enable pxe boot
2017-03-20 17:43:15 +01:00
Stefan Eichenberger
18ea9aa748
netbird: use fdt_image for bringupboot too
2017-03-01 10:14:12 +01:00
Stefan Eichenberger
2ce29e8019
netbird: remove iso partition support
2017-02-28 17:08:35 +01:00
Stefan Eichenberger
d79da774b6
netbird_v2: use ttyS instead of ttyO
2017-01-13 16:30:13 +01:00
Stefan Eichenberger
d30c6e69e7
config: am335x_netbird: remove unnecessary commands
2017-01-13 09:34:31 +01:00
Stefan Eichenberger
dc68897256
netbird_v2: remove unused commands enable usb0 disable usb1
2017-01-12 16:43:09 +01:00
Stefan Eichenberger
4642adbd4e
netbird: prodboot: use correct dtb
2017-01-09 10:40:35 +01:00
Stefan Eichenberger
8fef81eb07
netbird_v2: load nbhw16-nb800 devicetree file
2016-12-28 09:36:10 +01:00
Stefan Eichenberger
5590a82b6d
netbird: add netbird version 2
...
Add the netbird version 2 configuration, this is the prototype release
of the final NB800 product.
2016-12-14 15:02:53 +01:00
Stefan Eichenberger
046cd824c1
netbird: set V_OSCK to 0, this will autodetect the clock
...
This patch uses the autodetection of the Oszillator frequency from
sysboot1.
2016-08-12 16:48:31 +02:00
Marcel Reichmuth
d799d21b6e
nbhw16: fixed auto boot for sdprod script
...
nbhw16: added nbsw style u-boot environment settings
nbhw16: added factory reset and recovery boot support via reset button
nbhw16: set hardware version on kernel command line
nbhw16: removed dummy u-boot partition
2016-07-11 16:16:43 +02:00
Stefan Eichenberger
ac41d11958
nbhw16: create a separate board under nm/netbird
...
Because i2c must be available extremly early (before RAM setup) to get
the board configuration, I decided to create a new board instead of
adding everything to the am335 stuff rom ti. This is not uncommon (see
baltos)
Now the a reset will start the SPL correctly again.
2016-07-06 16:27:56 +02:00
Stefan Eichenberger
de6cd2da88
nbhw16: move u-boot env to eeprom
2016-07-05 14:35:23 +02:00
Stefan Eichenberger
f91d77603f
nbhw16: correct bootcommands to work with root_part
2016-07-04 20:02:30 +02:00
Stefan Eichenberger
0393225ec7
nbhw16: add root partition selection
...
The rootpartition is selected trough the partition table or trough the
boot_part flag.
2016-07-01 16:48:49 +02:00
Stefan Eichenberger
114d6a3472
nbhw16: set mac from boarddescritpor
2016-07-01 13:10:52 +02:00
Stefan Eichenberger
555bfd5165
nbhw16: clear PFM bit in pmci for dcdc4
2016-06-24 11:33:44 +02:00
Stefan Eichenberger
3e725c050c
nbhw16: set correct i2c timings
2016-06-24 09:24:21 +02:00
Stefan Eichenberger
c571abc51c
netbird: power on modem correctly, change ram timings
...
Power on the modem correctly, change ram timings to the ones from the
ddr3 tuning program, enable memtest
2016-06-23 17:48:55 +02:00
Stefan Eichenberger
e0c59bc1fa
am335x: changes after bringup
...
This changes were made to bringup nbhw16.
2016-06-22 13:09:16 +02:00
mr
c52db0fa6b
set default netbox environment
2016-06-08 16:40:32 +02:00
mr
ce337590fc
Added netbird target
2016-06-02 12:37:48 +02:00
Tom Rini
da6e2fab5d
Merge branch 'master' of git://git.denx.de/u-boot-mips
2016-05-31 10:26:14 -04:00