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
19271e52e9
nrhw20: general cleanup of board files
2019-11-01 12:26:31 +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
Rene Straub
bb120c7271
nmhw24: align board file with nrsw implementation
2019-10-10 17:54:08 +02:00
Rene Straub
05a415b524
nmhw24: align environment for nrsw support
2019-10-10 17:36:15 +02:00
Rene Straub
161b30f72e
nmhw: reduce SPL image size
...
- disable unused u-boot load from partitions to save memory
2019-10-09 15:21:33 +02:00
Rene Straub
b1f61bad65
nrhw24: add pmic reset reason detection
2019-09-27 11:40:31 +02:00
Rene Straub
a8cc1f2d85
da9063: move driver to common netmodule codebase
...
- change nmhw21, nrhw24 makefiles/include
- change nrhw20 to use improved da9063 code (bus claim/release)
2019-09-26 18:38:57 +02:00
Rene Straub
82f1fedaa3
nmhw: add support for password login
...
- backport from nrsw
2019-09-26 09:08:02 +02:00
Rene Straub
d9bbba2295
nmhw: add support for late console initialization
...
- backport from nrsw to support COMIO shield
2019-09-26 08:19:19 +02:00
Rene Straub
b274acceb4
nmhw: redundant u-boot start from SPL
...
- copy redundant boot from nrsw implementation
- rewritten to fix issues with load size and load address
- support for NetModule packed or regulator bootloaders
in main and alternate location
- support is currently experimental.
write 0x12345678 to 0x90000004 to try out
2019-09-25 16:56:16 +02:00
Rene Straub
afbe8bf08d
nmhw: update emmc device names
...
- kernel 4 uses mmcblk1 instead of mmcblk0
- update documentation accordingly
2019-09-25 10:58:09 +02:00
Rene Straub
a28cffaf0f
nmhw24: rename to nrhw24
2019-09-25 10:43:32 +02:00
Rene Straub
8afc9caad2
nmhw24: next C90 comment fix
2019-08-14 09:07:57 +02:00
Rene Straub
0692b4d010
nmhw24: fix C90 comment style
2019-08-14 09:07:57 +02:00
Rene Straub
909be035f4
nmhw24: created target
2019-08-14 09:07:57 +02:00
Alexandre Bard
665f70c8a5
hw20: Update environnement to boot ostree image
...
BugzID: 57957
2019-07-16 17:30:30 +02:00
Alexandre Bard
71994a6136
nmhw21: Boot using only the fitImage
...
Since thud release, the initramfs used to start the ostree image
is also included in the fitImage. Therefore only this fitImage is
now required.
Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
2019-06-29 01:01:27 +02:00
Alexandre Bard
baa5e4fcea
hw16: Make compatible with ostree
2019-04-15 17:13:58 +02:00
Alexandre Bard
1862aa951b
hw16: Use mmcblk1 as root
...
Since Kernel 4.14 the mmc label have changed and root is on mmc1
while mmc0 is the mmc interface on which the wifi chip is conntected
2019-04-12 09:25:00 +02:00
Lucien Mueller
fe1a692af7
nmhw21: remove kernel_image=zImage from u-boot env.
...
BugzID: 54718
Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
2019-01-09 15:32:45 +01:00
Rene Straub
ec3ae39b9d
nmhw21: cleanup board config file 2
...
- remove Androind fast boot stuff
- remove i2c i/o extender cli
2019-01-05 16:05:49 +01:00
Rene Straub
92bbeca1d6
nmhw21: cleanup board config file
2019-01-05 15:56:28 +01:00
Rene Straub
7a70f41cd9
nmhw21: refactor memory map description/names
2019-01-05 15:48:40 +01:00
Rene Straub
49e124efb4
nmhw21: apply dynamic link detection to recovery boot
...
- replace fixed delay for pxe boot with mdio up command
- increase dhcp/bootp timeout to 10 seconds.
5 seconds have shown to be close when DHCP server observes link
by itself.
BugzID: 55019
2019-01-05 12:51:14 +01:00
Rene Straub
d6cecc7f62
nmhw21: add configuration option for Ethernet link timeout
...
- env variable linktimeout defines timeout in milliseconds
- valid range is 1000 to 10000 ms
- default timeout is 5 seconds
BugzID: 55019
2019-01-05 12:25:51 +01:00
Lucien Mueller
b35026d001
u-boot-env: changed fdt_high and initrd_high to 0xffffffff
...
BugzID: 54592
Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
2018-12-06 16:46:36 +01:00
Lucien Mueller
750ce01f67
am335x_nmhw21 env: Renamed fdt_addr to fdt_addr_r.
...
This will hinder pxe to try to load a devicetree.
BugzID: 54220
Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
2018-11-20 11:02:11 +01:00
Lucien Mueller
fc155929e5
am335x_nmhw21 env: Reworked the memory-addresses.
...
BugzID: 54210
Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
2018-11-20 11:02:01 +01:00
Patrick Zysset
cb21ed3b23
nmhw21: adjust bootenv due to changed WIC behavior
...
SPL and U-Boot are moved to raw mmc memory - thus partition numbering
for rootfs have been changed.
BugzID: 54224
Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
2018-11-14 19:27:45 +01:00
Patrick Zysset
1726e4f99c
nmhw21: fix bootcmd_otenv (filesize)
...
replaced file_size with filesize to get rid of data overriding ...
BugzID: 54229
Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
2018-11-10 18:03:33 +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
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
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
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
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