Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mkimage-profiles
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ximper Linux
mkimage-profiles
Commits
4f37e432
Commit
4f37e432
authored
Dec 10, 2018
by
Ivan A. Melnikov
Committed by
Michael Shigorin
Sep 30, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mipsel-mitx: initial feature for tavolga support
...with xorg-drv-btsm750 and packaged xorg.conf.
parent
a947f132
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
38 additions
and
0 deletions
+38
-0
config.mk
features.in/mipsel-mitx/config.mk
+4
-0
40-boot
features.in/mipsel-mitx/rootfs/image-scripts.d/40-boot
+34
-0
No files found.
features.in/mipsel-mitx/config.mk
0 → 100644
View file @
4f37e432
use/mipsel-mitx: use/kernel
@$(call add_feature)
@$(call set,KFLAVOURS,mitx-def)
@$(call add,THE_PACKAGES,xorg-conf-sm750-tavolga)
features.in/mipsel-mitx/rootfs/image-scripts.d/40-boot
0 → 100755
View file @
4f37e432
#!/bin/sh -efu
mkdir
-p
/boot
vmlinuz
=
"
$(
find /boot
-type
f
-name
'vmlinuz-*'
)
"
kversion
=
"
${
vmlinuz
##/boot/vmlinuz-
}
"
DTB_NAME
=
# grep 'load-.*0xffffffff' arch/mips/baikal/Platform
KERNEL_LOAD_ADDR
=
case
"
$kversion
"
in
3.19
*
)
DTB_NAME
=
tplatforms_mitx2
KERNEL_LOAD_ADDR
=
0x80004000
;;
*
)
# 4.4, 4.9
DTB_NAME
=
baikal_mitx
KERNEL_LOAD_ADDR
=
0x80100000
;;
esac
[
-n
"
$DTB_NAME
"
]
[
-n
"
$KERNEL_LOAD_ADDR
"
]
cp
/lib/devicetree/
"
$kversion
/
$DTB_NAME
"
.dtb /boot/
"
$DTB_NAME
"
-
"
$kversion
"
.dtb
ln
-s
"
$DTB_NAME
"
-
"
$kversion
"
.dtb /boot/
$DTB_NAME
.dtb
cat
>
/boot/bootconf
<<
EOF
default: bootconf0
bootconf0 vmlinuz
$KERNEL_LOAD_ADDR
$KERNEL_LOAD_ADDR
$DTB_NAME
.dtb initrd.img root=UUID=@ROOTUUID@ rw rootwait earlyprintk=uart8520,mmio32,0x1f04a000,115200 maxcpus=2 consoleblank=0 console=tty1 console=ttyS0,115200n8 video=sm750fb:1920x1080-32@60 nohtw nocoherentio ieee754=relaxed
EOF
exit
0
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