Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
meta-elphel393
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
meta-elphel393
Commits
5c9f5703
Commit
5c9f5703
authored
Dec 14, 2017
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1. updated linux-xlnx hash - where bitstream loading is fixed in xdev_cfg
2. updated udev in initramfs init script
parent
e313fc04
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
18 deletions
+34
-18
init-live.sh
recipes-core/initrdscripts/files/init-live.sh
+25
-18
elphel393.cfg
recipes-kernel/linux/config/elphel393.cfg
+6
-0
linux-xlnx_2017.3.bbappend
recipes-kernel/linux/linux-xlnx_2017.3.bbappend
+3
-0
No files found.
recipes-core/initrdscripts/files/init-live.sh
View file @
5c9f5703
...
@@ -83,8 +83,14 @@ read_args() {
...
@@ -83,8 +83,14 @@ read_args() {
}
}
boot_live_root
()
{
boot_live_root
()
{
if
[
"
$DEBUG
"
=
true
]
;
then
echo
" settle and kill udev"
fi
# Watches the udev event queue, and exits if all current events are handled
# Watches the udev event queue, and exits if all current events are handled
udevadm settle
--timeout
=
3
--quiet
#udevadm settle --timeout=3 --quiet
# --quiet not supported anymore ?!
udevadm settle
--timeout
=
3
killall
"
${
_UDEV_DAEMON
##*/
}
"
2>/dev/null
killall
"
${
_UDEV_DAEMON
##*/
}
"
2>/dev/null
# # Allow for identification of the real root even after boot
# # Allow for identification of the real root even after boot
...
@@ -104,6 +110,7 @@ boot_live_root() {
...
@@ -104,6 +110,7 @@ boot_live_root() {
cd
$ROOT_MOUNT
cd
$ROOT_MOUNT
echo
"INITRAMFS: switching root"
# busybox switch_root supports -c option
# busybox switch_root supports -c option
exec
switch_root
-c
/dev/console
$ROOT_MOUNT
/sbin/init
$CMDLINE
||
exec
switch_root
-c
/dev/console
$ROOT_MOUNT
/sbin/init
$CMDLINE
||
fatal
"Couldn't switch_root, dropping to shell"
fatal
"Couldn't switch_root, dropping to shell"
...
...
recipes-kernel/linux/config/elphel393.cfg
View file @
5c9f5703
...
@@ -169,3 +169,9 @@ CONFIG_XILINX_AXI_EMAC=n
...
@@ -169,3 +169,9 @@ CONFIG_XILINX_AXI_EMAC=n
# CONFIG_MACB
# CONFIG_MACB
# CONFIG_NETDEVICES
# CONFIG_NETDEVICES
# CONFIG_HAS_DMA
# CONFIG_HAS_DMA
# it is off for zynq in rocko for some reason
#CONFIG_I2C_XILINX=y
# clock from MicroZed
# CONFIG_COMMON_CLK_SI570=n
recipes-kernel/linux/linux-xlnx_2017.3.bbappend
View file @
5c9f5703
...
@@ -19,6 +19,9 @@ linux-elphel_label= "https://${ELPHELGITHOST}/Elphel/linux-elphel.git"
...
@@ -19,6 +19,9 @@ linux-elphel_label= "https://${ELPHELGITHOST}/Elphel/linux-elphel.git"
linux-elphel_branch= "master"
linux-elphel_branch= "master"
linux-elphel_gitdir= "${WORKDIR}/linux-elphel"
linux-elphel_gitdir= "${WORKDIR}/linux-elphel"
# linux xilinx hash
SRCREV = "9c2e29b2c81dbb1efb7ee4944b18e12226b97513"
# To use the latest leave: "" - (=empty)
# To use the latest leave: "" - (=empty)
linux-elphel_srcrev= ""
linux-elphel_srcrev= ""
#linux-elphel_srcrev= "0ca36687a400fd9a5c4510295ae5be88aac77fa4"
#linux-elphel_srcrev= "0ca36687a400fd9a5c4510295ae5be88aac77fa4"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment