Rene Straub
0330a6b94f
hw25: add start reason detection
2020-11-27 15:46:39 +01:00
Rene Straub
7e9ca6d8fa
hw25: add methods for dio/serial PD entries
2020-11-27 15:42:23 +01:00
Rene Straub
f5b16d4cf7
hw21, 26: suppress power on with ignition off
...
power down system in SPL when ignition is not active on a
power-on start.
2020-11-18 16:49:50 +01:00
René Straub
f82ac7239a
hw21,26: add start/wakeup reason detection logic ( #58 )
...
Move detection logic before PMIC rails init
Add detection logic in hw21/26
Detect start events from pmic
Co-authored-by: Rene Straub <rene.straub@netmodule.com>
Reviewed-on: https://git.netmodule.intranet/nmrouter/u-boot/pulls/58
2020-11-09 10:13:45 +01:00
Rene Straub
dc6ed546db
hw25: take USB/SD converter out of reset
2020-10-20 07:51:47 +02:00
Rene Straub
55332e5582
hw25: change defaultconsole to ttyS0
2020-10-20 07:27:45 +02:00
Rene Straub
1de7ebd031
hw25: enable rx function for IO_IN[0..3] gpios
2020-10-19 16:50:27 +02:00
Rene Straub
d3f9300741
hw25: add board type detection
2020-10-19 16:49:35 +02:00
Rene Straub
50dbe9d830
hw25: fix Ethernet phy ids
2020-10-16 21:19:10 +02:00
Rene Straub
820db26639
hw25: remove shieldcmd from boot
2020-10-16 21:17:41 +02:00
Rene Straub
5e1b277281
Fixed C++ comment in header file
2020-10-06 08:54:51 +02:00
Rene Straub
9f0dd0d481
Review, minor changes
2020-10-06 08:49:41 +02:00
Nicolas Gugger
c8a4189cd1
hw25: modified comment
2020-09-10 16:33:03 +02:00
Nicolas Gugger
29a9c27aa3
hw25: updated board and mux - ready for review
2020-09-10 15:49:58 +02:00
Nicolas Gugger
14cbc05115
hw25: cleaned up board and mux
2020-09-09 15:40:21 +02:00
Nicolas Gugger
2bc5815cb6
hw25: muxing intermediate save
2020-09-08 16:31:34 +02:00
Nicolas Gugger
13b003ae3b
hw25: remove shield support
2020-09-08 14:24:28 +02:00
Nicolas Gugger
1ac538b956
hw25: initial setup based on hw24
2020-09-08 14:07:21 +02:00
Rene Straub
f89b5527b7
hw21,26: set hw type in device-tree
...
- hardware type is stored as string under
/proc/device-tree/nm,carrierboard,type
2020-08-17 16:57:42 +02:00
Rene Straub
08e8a21515
hw21: fix RTC trimming
...
- commit 7336361d5c broke PMIC RTC trim for hw21
- fixed hw type detection in init_bd_spl()
2020-08-17 11:24:56 +02:00
Rene Straub
9b04a8130e
hw26: add factory reset function
...
- check rs232 for break condition duration to invoke
factory reset or recovery boot. same logic as reset button.
- check rs232 break condition followed by command
- 'f': factory reset
- 'r': recovery boot
2020-08-13 13:53:38 +02:00
Lucien Mueller
93a35c7311
nmhw21: deactivate rs232 reset.
...
This makes it possible to boot normaly with disconnected uart line.
Previously the system booted into recovery in that case.
BugzID: 65200
Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
2020-08-07 10:30:55 +02:00
Rene Straub
567a630018
hw21,hw26: remove ATECC test function
2020-06-26 16:23:40 +02:00
Rene Straub
3d8a85df86
hw21,hw26: fix incorrect dtb name for fdt_image
2020-06-25 17:27:35 +02:00
Rene Straub
e2bf817634
nmhw21,26: fix incorrect indentation
2020-06-15 16:00:47 +02:00
Rene Straub
e0f24ed684
nmhw21,26: change sim_sel to timepulse
...
gpio2_16 is re-defined as timepulse input on hw26.
On hw21 it was the non-working SIM_SEL_N.
Mux config changed, keeping pin input.
2020-06-15 15:08:56 +02:00
Rene Straub
7336361d5c
nmhw21,26: init pmic based on hw type
2020-06-15 14:18:32 +02:00
Rene Straub
a02c9b9da3
nmhw21,26: getting hardware type from BD
...
this is the precursor to make the bootloader hw26 aware.
2020-06-15 13:45:51 +02:00
Rene Straub
f51b3b4fc3
nrhw: add board descriptor hw_type support
2020-06-15 13:33:46 +02:00
René Straub
7b1000b59d
nmhw21: board: add user reset option via rs232
...
allow invoking factory reset and recovery boot via:
- uart break, followed by command ('r', 'f')
- using uart rxd as reset line
Co-authored-by: Rene Straub <rene.straub@netmodule.com>
Reviewed-by: Patrick Zysset <patrick.zysset@netmodule.com>
2020-06-08 16:15:27 +02:00
Marcel Reichmuth
a3fd0500ec
nmhw21: sja1105: allow max length ethernet frames when using vlan tagging
...
Increase switch MTU size from 1518 up to 1522 for all ports.
Configuration reference:
repo: git.netmodule.intranet/hancock/nmhw-sja1105-configs
commit id: c20a8a3d87223f8fdbdcc60173ee11ec0514ad1d
BugzID: 61914, 57376
Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2020-03-20 02:09:11 +01:00
Rene Straub
2844abe1c2
nrhw20,24: board: respect ngpios entry
...
determine number of gpio entries in ft_set_gpio_name()
BugzId: 60387
2020-03-20 02:06:09 +01:00
Rene Straub
a583bb6eea
nmhw21: fct_atecc: add factory test for ATECC chip
...
BugzID: 61904
2020-03-20 02:04:55 +01:00
Rene Straub
ce70a04c33
nrhw: sync with NRSW, dualcan-passive shield fixes
...
BugzId: 61778
2020-02-27 14:10:43 +01:00
Rene Straub
41742d2865
nrhw: cleanup, let reset reason check in SPL
2020-02-27 07:23:13 +01:00
Rene Straub
6fabed9c5d
nrhw: enable IP fragmentation, tftp transfer size
...
TFTP blocksize can be increased with tftpblocksize
env variable to speed up transfers.
BugzID: 61739
2020-02-26 11:01:36 +01:00
Rene Straub
7c3defb4e0
nrhw: enable dtb entries for passive can shield
2019-12-19 07:44:34 +01:00
René Straub
3274638d7d
nrhw: support dual can passive shield ( #38 )
2019-12-12 12:13:23 +01:00
Rene Straub
7620f09ce4
nrhw: fix control pins for dual-can shield
...
- control io were swapped
- termination was applied to wrong port
BugzId: 60563
2019-12-12 09:20:44 +01:00
Lucien Mueller
a93f6f3874
nmhw21: sync ui leds with onboard leds.
...
BugzID: 59055
Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
2019-11-29 16:02:02 +01:00
Rene Straub
e940bb1802
am335x: add NRSW support for nmhw[20,21,24]
...
- NRSW board features
- memory layout update
- boot configuration update
- general cleanup
BugzID: 60384
Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
2019-11-29 14:08:31 +01:00
Lucien Mueller
cac1b16a16
u-boot-env: append preexisting bootargs to the ostree-bootargs.
...
BugzID: 59504
Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
2019-11-20 10:00:45 +01:00
Rene Straub
0530de83a0
nmhw24: remove debug print from ft_set_gpio_name()
2019-11-16 16:28:14 +01:00
Rene Straub
0cde66a780
nmhw24: configure com/io shield gpios in dtb
...
when a COM/IO shield is detected, its two IOs
are given names in the gpio section so that they
are accessible from Linux gpio chardev.
BugzId: 60150
2019-11-16 13:17:11 +01:00
Rene Straub
1ada49ca8c
crypt: updated/refactored pw hashing function
...
- updated to recent busybox version
- removed compiler warnings
- properly implemented missing lib functions
2019-11-11 07:43:39 +01:00
Rene Straub
05e24f04fe
nmhw: add spl version info for NRSW
...
- NRSW feature guarded by CONFIG_NRSW_BUILD
2019-11-11 07:39:10 +01:00
Rene Straub
19271e52e9
nrhw20: general cleanup of board files
2019-11-01 12:26:31 +01:00
Rene Straub
64a2a57636
nmhw21: general cleanup of board files
2019-10-30 19:41:53 +01:00
Rene Straub
da716b9200
nmhw: make NM packed bootloader configurable
...
- define CONFIG_NM_BOOTLOADER_FORMAT to support NM packed u-boot
2019-10-30 19:40:48 +01:00
Rene Straub
4d9788bdc8
nmhw: allow to define location of bootpass file
2019-10-24 09:21:00 +02:00