Commit Graph

14307 Commits

Author SHA1 Message Date
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
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