Commit Graph

37995 Commits

Author SHA1 Message Date
Mikael Trigo 8805c1c6d3 nmhw_21: fix U-Boot phy config based on review 2018-11-09 10:10:50 +01:00
Patrick Zysset a94b7cce1f nmhw21: add ostree env to board settings
values taken from ostree documenation
additionally we removed legacy env which are never used on this hardware

Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
2018-11-08 19:35:08 +01:00
mikaeltrigo beb0d6dfd0 nmhw21: broadr configuration
add configure_broad_phys
remove uboot env variable for broadr
2018-11-08 15:49:41 +01:00
Rene Straub a0bd4715b0 nmhw21: prepare Ethernet v2.0 initialization 2018-11-02 18:24:19 +01:00
Rene Straub 7fda5662f3 nmhw21: update V2.0 gpio 2018-11-02 07:49:02 +01:00
Rene Straub a962411cbf nmhw21: prepare UI v2.0 implementation 2018-11-02 07:13:02 +01:00
Rene Straub c0550c87fb nmhw21: rename project 2018-11-01 09:38:53 +01:00
Rene Straub ac6d09c2b7 nmhw21: add support for JTAG boot
- trigger breakpoint in SPL during JTAG boot
- don't execute boot command/remain on console in bootloader
2018-10-27 01:22:18 +02:00
mikaeltrigo a7647131e0 nmhw21 : add V2.0 UI detection along V1.0
You will find a UI: xxx output in the startup log of U-Boot.

BugzID: 53817

Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
2018-10-25 20:52:11 +02:00
Patrick Zysset 57c634da98 nmhw21: rename defconfig file
Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
2018-10-20 01:44:07 +02:00
Mikael Trigo 462e9c4b5a vcu: set bootdelay to zero
I've successfully reduce boot time delay to 0 see case 53380 at the main
time I've added useful command to init BroadR phy until the Driver is
ready I've also fix the kernel_image definition

- set ubootdelay to 0
- add broadR init
- fix kernel image definition in u-boot env

BugzID: 53380

Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
2018-09-27 14:00:20 +02:00
Mikael Trigo 3a9388907a vcu: user interface detection improved
- detect ui once (remember status)
- normalize boot message format
- hide i2c errors in omap24xx driver if not ui is connected

BugzID: 53086
BugzID: 53087
BugzID: 53088

Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
2018-09-14 14:52:53 +02:00
Mikael Trigo 1923f7f14d vcu: UserInterface detetion
Detect availability of user interface using a dummy i2c access.
Change of DTS led depending on presence of UI boards.

Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
2018-09-14 14:29:37 +02:00
Rene Straub 92bdea79bc nrhw20: add shield support
- use OF library to enable shield nodes in devicetree
- delete command line based devicetree configuration
- add console configuration options for COMIO shield
2018-07-19 15:21:21 +02:00
Rene Straub cf9dd1423d nrhw20: cleanup file access module 2018-07-19 13:04:15 +02:00
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 0aee118629 nm: add HW patch entry to board descriptor system 2018-07-06 20:30:01 +02:00
Rene Straub afd8dd8f1e hancock: refactor sja1105 driver 2018-07-06 19:10:08 +02:00
Rene Straub 3df43b3f07 hancock: select console 3 (UART2) 2018-07-06 19:10:07 +02:00
straub 3f5bee91bb hancock: integration of sja1105 driver feature 2018-07-06 19:10:07 +02:00
Rene Straub b9270bf506 hancock: pmic configuration
- da9063 pmic driver refactoring
- fixing register settings for pre v1.3 configuration
2018-07-06 18:16:10 +02:00
Rene Straub 6f1368461f hancock: enable CAN driver supply 2018-07-06 18:16:10 +02:00
Rene Straub ec3fe359dd hancock: fix CAN pin muxing 2018-07-06 18:16:10 +02:00
Rene Straub d202e6b407 hancock: board update
- handle PMIC v3.14 (overprogrammed) as v1.0
- change default DTB name
2018-07-06 18:16:10 +02:00
Rene Straub 786c7ae6c3 hancock: change DTB default name 2018-07-06 18:16:09 +02:00
Rene Straub 48cf9930c5 hancock: set SIM mux default configuration 2018-07-06 18:16:09 +02:00
Rene Straub 75cf0fdbbb hancock: quirk for ethernet PHY reset
- implement 2nd ethernet reset to properly pinstrap ethernet PHY
  after Ethernet switch is booted.
2018-07-06 18:13:44 +02:00
Rene Straub 68329cfb6d hancock: add support for da9063 registers >0x100 2018-07-06 18:13:44 +02:00
Rene Straub 7227528d40 hancock: fix and increase bootp timeout 2018-07-06 18:13:44 +02:00
Rene Straub a3d404c7d9 hancock: enable GNSS supply at startup 2018-07-06 18:13:44 +02:00
Rene Straub 628115260b hancock: review sja1105 2018-07-06 18:13:44 +02:00
Patrick Zysset 54d13f60cb vcu: rename defconfig file (hancock -> vcu)
the board / machine name is set to vcu

Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
2018-06-18 20:25:39 +02:00
Rene Straub f69a6aff24 hancock: ethernet support 2018-06-18 16:19:16 +02:00
Rene Straub 9d93827bdb hancock: add sja1105 driver to Makefile 2018-06-18 14:56:30 +02:00
Rene Straub b91bd02285 hancock: add sja1105 eth switch driver 2018-06-18 14:56:08 +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 5454f978bf hancock: change console to UART2 2018-06-16 12:06:29 +02:00
Rene Straub b852061382 hancock: add da9063 LDO registers 2018-06-16 11:21:06 +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 6ec76da94a hancock: update I/O mux after review 2018-06-07 07:38:53 +02:00
Rene Straub a8a71f0287 hancock: initial commit 2018-06-06 14:24:01 +02:00
Rene Straub 88a9a458f4 nrhw20: release GNSS module reset 2018-06-01 19:47:51 +02:00
Rene Straub e21b076da4 nrhw20: hardware initialization update
- moved most hardware init functions to board_late_init
- enable wireless transmission for PCIe slot
- general cleanup
2018-05-25 17:09:58 +02:00
Rene Straub 9c31a29136 nrhw20: io mux settings updated and cleaned up 2018-05-25 17:07:25 +02:00
Rene Straub 765e9dd5a7 nrhw20: cleanup pin muxing
- disable rmii1 rxerr input (set as GPIO, pull down)
2018-03-16 13:47:48 +01:00
Rene Straub c9ce057a02 nrhw20: add da9063 files 2018-03-16 13:37:56 +01:00