mirror of
git://projects.qi-hardware.com/wernermisc.git
synced 2024-11-22 01:33:43 +02:00
mknnk, nnui: kernel build scripts
- mknnk: invoke "make" for making a NanoNote kernel - nnui: make an uImage for the NanoNote
This commit is contained in:
parent
c481702b70
commit
3b2b9166d9
3
bin/mknnk
Executable file
3
bin/mknnk
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/sh -e
|
||||||
|
PATH=$PATH:../u-boot/tools
|
||||||
|
make ARCH=mips CROSS_COMPILE=mipsel-openwrt-linux- "$@"
|
8
bin/nnui
Executable file
8
bin/nnui
Executable file
@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/sh -ex
|
||||||
|
PATH=$PATH:../u-boot/tools
|
||||||
|
mknnk -j4 vmlinux.bin
|
||||||
|
gzip -9 -f arch/mips/boot/vmlinux.bin
|
||||||
|
mkimage -A mips -O linux -T kernel -a 0x80010000 \
|
||||||
|
-C gzip -e 0x`mipsel-openwrt-linux-nm vmlinux | \
|
||||||
|
grep " kernel_entry" | cut -f1 -d ' '` \
|
||||||
|
-n 'Ben NanoNote Linux Kernel' -d arch/mips/boot/vmlinux.bin.gz uImage
|
Loading…
Reference in New Issue
Block a user