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
1
Merge Requests
1
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
3956f98b
Commit
3956f98b
authored
Jan 18, 2019
by
Ivan A. Melnikov
Committed by
Michael Shigorin
Sep 30, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mipsel-bfk3: Initial take on bfk3 support
We only plan to distribute XZ-compressed rootfs tarballs. (mike@: merging cleaned-up version)
parent
894b898e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
36 additions
and
0 deletions
+36
-0
config.mk
features.in/mipsel-bfk3/config.mk
+7
-0
10-initd-config
...res.in/mipsel-bfk3/rootfs/image-scripts.d/10-initd-config
+3
-0
40-boot
features.in/mipsel-bfk3/rootfs/image-scripts.d/40-boot
+26
-0
No files found.
features.in/mipsel-bfk3/config.mk
0 → 100644
View file @
3956f98b
use/mipsel-bfk3: use/kernel
@$(call add_feature)
@$(call set,KFLAVOURS,bfk3-def)
@$(call set,VM_FSTYPE,ext2)
@$(call add,NET_ETH,eth0:dhcp)
@$(call add,NET_ETH,eth1:dhcp)
@$(call add,NET_ETH,eth2:dhcp)
features.in/mipsel-bfk3/rootfs/image-scripts.d/10-initd-config
0 → 100755
View file @
3956f98b
#!/bin/sh
echo
'MODULES_PRELOAD += ext2'
>>
/etc/initrd.mk
features.in/mipsel-bfk3/rootfs/image-scripts.d/40-boot
0 → 100755
View file @
3956f98b
#!/bin/sh -efu
mkdir
-p
/boot
vmlinuz
=
"
$(
find /boot
-type
f
-name
'vmlinuz-*'
)
"
kversion
=
"
${
vmlinuz
##/boot/vmlinuz-
}
"
DTB_NAME
=
baikal_bfk2
[
-n
"
$DTB_NAME
"
]
cp
/lib/devicetree/
"
$kversion
/
$DTB_NAME
"
.dtb /boot/
"
$DTB_NAME
"
-
"
$kversion
"
.dtb
ln
-s
"
$DTB_NAME
"
-
"
$kversion
"
.dtb /boot/
$DTB_NAME
.dtb
ln
-s
boot/vmlinuz /vmlinux.bin
ln
-s
boot/initrd.img /initramfs.gz
ln
-s
boot/
"
$DTB_NAME
"
.dtb /baikal.dtb
ln
-s
boot/vmlinuz /bfk3.vmlinux.bin
# to match update-kernel
mkdir
-p
/boot/dtb
ln
-s
/boot/
"
$DTB_NAME
"
-
"
$kversion
"
.dtb /boot/dtb/
"
$DTB_NAME
"
.dtb
ln
-s
/boot/dtb/
"
$DTB_NAME
"
.dtb /bfk3.dtb
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