mirror of
git://projects.qi-hardware.com/wernermisc.git
synced 2024-11-25 01:59:40 +02:00
3b2b9166d9
- mknnk: invoke "make" for making a NanoNote kernel - nnui: make an uImage for the NanoNote
9 lines
320 B
Bash
Executable File
9 lines
320 B
Bash
Executable File
#!/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
|