Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
Meta MAR Fast Boot
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Qiyang Sun
Meta MAR Fast Boot
Commits
499d4e1d
Verified
Commit
499d4e1d
authored
8 months ago
by
Qiyang Sun
Browse files
Options
Downloads
Patches
Plain Diff
Runlevel2 remount and start udevd
parent
38446b5d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
recipes-core/fastinit/files/fastinit.sh
+9
-4
9 additions, 4 deletions
recipes-core/fastinit/files/fastinit.sh
with
9 additions
and
4 deletions
recipes-core/fastinit/files/fastinit.sh
+
9
−
4
View file @
499d4e1d
...
...
@@ -26,6 +26,11 @@ mountfs() {
mount
-o
ro /dev/mmcblk0p1 /boot
}
rwrootfs
()
{
log_to_kernel
"remounting r/w root filesystems"
mount
-o
rw,remount /
}
gp23hi
()
{
log_to_kernel
"setting gpio 23 to high"
/usr/bin/gpioset
-c
0
23
=
1 &
...
...
@@ -41,8 +46,7 @@ level_one() {
level_two
()
{
mountfs
gp23hi
rwrootfs
log_to_kernel
"adding modules to linux kernel"
log_to_kernel
"to be added: bcm2835-codec, bcm2835-isp, bcm2835-v4l2, bcm2835-unicam, ov5647, i2c-mux-pinctrl, i2c-bcm2835, uio, fixed"
modprobe bcm2835-codec
# minors 0-4
...
...
@@ -54,9 +58,10 @@ level_two() {
modprobe i2c-bcm2835
modprobe uio
modprobe fixed
udevd
--daemon
udevadm trigger
gp23hi
crit_to_kernel
"host is up and ready"
log_to_kernel
"getting teletypes on ttyS0"
/sbin/getty
-L
115200 ttyS0 vt100
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment