Jeffrey Townsend
4825296fe1
Restore loader upgrade policy.
2018-12-26 15:43:38 +00:00
Jeffrey Townsend
91b007c63e
Rename kernel-4.14-arm-iproc to kernel-4.14-armel-iproc.
2018-12-25 16:44:13 +00:00
Jeffrey Townsend
96a697bdcc
Tool updates to support armhf.
2018-12-25 15:42:07 +00:00
Jeffrey Townsend
1e9fbe9932
Merge branch 'master' of github.com:opencomputeproject/OpenNetworkLinux into iproc-4.14
...
Conflicts:
packages/base/any/kernels/modules/ym2651y.c
packages/platforms/accton/armel/arm-accton-as4610/arm-accton-as4610-30/platform-config/r0/builds/dtb/arm-accton-as4610-54-r0.dts
packages/platforms/accton/armel/arm-accton-as4610/arm-accton-as4610-54/platform-config/r0/builds/dtb/arm-accton-as4610-54-r0.dts
2018-12-20 07:34:35 -08:00
Jeffrey Townsend
e885ccba45
Move imports of urllib2 into wget() as it has caused some tricky issues with downstream code.
2018-12-04 22:49:20 +00:00
Jeffrey Townsend
4404a41f68
Make the onlswi script marginally less stupid.
2018-12-04 14:27:30 +00:00
Jeffrey Townsend
3c7c37f706
Add Platform Revision field.
2018-11-30 22:50:38 +00:00
Jeffrey Townsend
a5ec39317e
Add new port config 48x25+4x100+2x200.
2018-11-05 15:56:27 +00:00
Jeffrey Townsend
192bb5ea4c
Add kernel-4.14-arm-iproc configuration.
2018-10-25 23:59:01 +00:00
Jeffrey Townsend
c1298e9d59
Temporarily disable automatic loader upgrades until the ONL partitions are working.
2018-10-25 23:57:46 +00:00
Jeffrey Townsend
f6e11cdecf
Merge pull request #428 from OrdnanceNetworks/onl-fixes
...
Assorted set of fixes and improvements to ONL
2018-10-09 12:35:38 -07:00
Jeffrey Townsend
fcd317b51b
Remove debug message.
2018-10-01 21:34:36 +00:00
Sergey Popovich
e2c1fcc335
initrds: ifup: Move NETRETRIES handling to "dhcp" code path
...
This variable is only required and used for dynamic network configs:
validating and configuring it for rest of the paths isn't necessary.
While there split warning message to two lines to make code and
runtime output more readable.
Signed-off-by: Sergey Popovich <sergey.popovich@ordnance.co >
2018-09-26 11:08:15 +03:00
Sergey Popovich
cdad662745
initrds: ifup: Do not apply any config if NETAUTO=none
...
There are three types of value accepted by NETAUTO:
1) "dhcp" for automatic network settings via DHCP
2) "up" to bring link up, wait for IPv6 tentative and link up
operstate
3) anything else: apply static configuration, wait for IPv6
tentative and link up operstate
Note that empty ("") value is subset of 3) and we only skip link up
operstate monitoring for it since commit 3e89468cd0
("Don't require link-up on ma1 if NETAUTO is not specified.").
Add fourth case with NETAUTO=none to skip all but NETHW (hardware
address) from boot-config file and support different management
adapter config methods (e.g. Debian network config system).
This also fixes incorrect "return" statement usage outside of function
introduced with commit 3e89468cd0
("Don't require link-up on ma1 if NETAUTO is not specified.") and adds
newline before wait_link_up() to make code more readable.
Signed-off-by: Sergey Popovich <sergey.popovich@ordnance.co >
2018-09-26 11:08:15 +03:00
Sergey Popovich
0106c6a542
onl-boot-config: Support empty NETAUTO
...
Since empty NETAUTO= in /mnt/onl/boot/boot-config is valud according to
rules in initramfs /boot/ifup, follow this behavior in onl-boot-config
to get rid of incorrect message:
root@localhost:/# onl-boot-config --show
NETDEV=ma1
BOOTMODE=INSTALLED
SWI=images::latest
NETAUTO=
The NETAUTO value '' is invalid.
The boot configuration has not been changed.
Signed-off-by: Sergey Popovich <sergey.popovich@ordnance.co >
2018-09-26 11:08:15 +03:00
Carl D. Roth
8ac2f0330b
Cleanup mount point usage
...
- cut down on nested mount invocations
2018-09-20 18:19:00 -07:00
Carl D. Roth
2cd5d8afe2
Cleanups for execute method
...
- support tuple arguments
- send stdout/stderr output to the logger
2018-09-20 18:18:55 -07:00
Carl D. Roth
4f5655060d
Fixed shell invocation bug in onie-sysinfo
2018-09-20 18:18:48 -07:00
Jeffrey Townsend
398084e525
Add python-netaddr dependency.
2018-08-16 21:46:04 +00:00
Carl D. Roth
a9074bd492
Speed optimizations
...
- don't mount the filesystem if it's already mounted
2018-07-25 23:36:14 +00:00
Jeffrey Townsend
3b46bd4b58
Merge pull request #401 from brandonchuang/as5916_26xb
...
Add new accton platform, AS5916-26XB.
2018-07-18 11:26:17 -07:00
Ed Swarthout
68a3487365
mmc_bootcmds: mmc part does not take a param
...
Signed-off-by: Ed Swarthout <Ed.Swarthout@nxp.com >
2018-07-03 19:22:24 -05:00
brandonchuang
29c198ce2b
Merge branch 'master' into as5916_26xb
2018-06-25 09:04:09 +08:00
Jeffrey Townsend
37b77d63a6
Merge pull request #395 from ishidawataru/systemd
...
Support building systemd based system
2018-06-19 15:45:46 -07:00
Jeffrey Townsend
53b55910c7
Add 4.4 LTS ARM kernel.
2018-06-18 21:34:05 +00:00
brandonchuang
b67df2def1
Add new accton platform, AS5916-26XB.
2018-06-07 10:42:13 +08:00
Jeffrey Townsend
6697ea1a52
Redirect stderr.
2018-06-04 21:14:27 +00:00
Jeffrey Townsend
2c5f7334e1
Collect output from modprobe.
2018-06-04 08:56:52 -07:00
Wataru Ishida
a681cf6c81
Support building systemd based system
...
Signed-off-by: Wataru Ishida <ishida@nel-america.com >
2018-05-31 19:41:23 -07:00
Jeffrey Townsend
8168fdc1cf
Merge pull request #392 from carlroth/master
...
Suppress dmidecode warnings for KVM systems
2018-05-29 13:12:52 -07:00
Carl D. Roth
3b28243ccb
Suppress dmidecode warnings for KVM systems
2018-05-24 13:27:55 -07:00
Jeffrey Townsend
3a6f48f880
Merge pull request #385 from zhouzi88/swl-4496
...
support S4112F
2018-05-15 13:46:30 -07:00
Zi Zhou
c4fa324fee
support S4112F
2018-05-11 13:19:50 -07:00
Carl D. Roth
e9c760edd2
Fixed broken loader upgrade
...
- too many nested chroots
- update loader system query to use a proper onie-sysinfo call
2018-05-02 16:42:08 -07:00
Carl D. Roth
9b282495fa
Better support for UEFI
...
- throw a proper error if we cannot find the ESP partition
- don't forget to parse the GPT first before starting the ESP search
2018-05-02 16:41:04 -07:00
Carl D. Roth
e09559d6dc
load the efivarfs filesystem if needed
2018-05-02 16:39:59 -07:00
Carl D. Roth
7b7fef083a
load the efivarfs module if possible
2018-05-02 16:38:20 -07:00
Carl D. Roth
d39868c23b
load the efivarfs module if possible
2018-05-02 16:38:14 -07:00
Jeffrey Townsend
d66cceee0e
Rename the 4.9-arm64-all kernel to 4.9-lts-arm64-all to confirm the the existing nameing conventions.
2018-04-26 17:32:04 +00:00
Jeffrey Townsend
a91f3d7e8f
Merge branch 'add-arm64-lts4.9-and-nxp-layerscape-platforms' of github.com:shengzhou/OpenNetworkLinux
2018-04-26 06:53:08 -07:00
Jeffrey Townsend
a97785c10b
Add a silent option while running the upgrade steps.
2018-04-24 18:32:12 +00:00
Jeffrey Townsend
a4492c87d6
New sysconfig option which skips the execution of the upgrade steps at boot time.
2018-04-24 17:20:49 +00:00
Jeffrey Townsend
50878146fd
Better output for scalar values.
2018-04-24 17:20:10 +00:00
Shengzhou Liu
9e464d2075
Upgrade to kernel lts-4.9.75 for arm64 platforms
...
Signed-off-by: Guo Hanyue <guo.hanyue@nxp.com >
Signed-off-by: Shengzhou Liu <Shengzhou.Liu@nxp.com >
2018-04-24 13:46:30 +08:00
Jeffrey Townsend
6ca7b8f423
Add 4.14
2018-04-18 16:49:03 +00:00
Jeffrey Townsend
736eeadb4d
Use onldebni to automatically run debian operations non-interactively under policy-rc.d protection.
...
This is useful for automated RFS modifications after first creation.
2018-04-15 22:41:28 +00:00
Jeffrey Townsend
15520e4dd6
Remove accidental changes.
2018-04-12 15:04:08 -07:00
Jeffrey Townsend
0012b203db
If the first blkid lookup fails we can't take an exception if the following ubi lookup also fails.
2018-04-12 17:49:57 +00:00
Jeffrey Townsend
0d96386d95
Merge pull request #315 from DeltaProducts/ag6248-feb-12
...
add platform support for ag6248c and ag6248c_poe
2018-04-04 08:35:14 -07:00
Jeffrey Townsend
41bf6970e5
Add option for local script execution during autoboot.
2018-04-02 18:54:54 +00:00