Pack U-Boot into nk.bin for Brain EBOOT
Go to file
Chiharu Shirasaka 4a97a4e807
Merge pull request #1 from brain-hackers/fixmisc
細かい修正
2020-10-18 20:09:40 +09:00
.gitignore first commit 2020-10-09 18:29:19 +09:00
LICENCE Create LICENCE 2020-10-12 16:51:54 +09:00
Makefile first commit 2020-10-09 18:29:19 +09:00
README Revert "add line to install dependency" 2020-10-18 17:32:48 +09:00
bsd-ce.c include appropriate headers to prevent implicit declarations for bsd-ce.c 2020-10-18 16:34:32 +09:00
nk-dump.c remove gelf.h 2020-10-18 16:28:18 +09:00

README

This is a nk.bin maker which contains U-Boot
Based on bsd-ce(https://rink.nu/projects/bsd-ce.html)

動作原理:
SHARP BrainはOSとしてWindows CE 6.0を搭載している
Brainに搭載されているWindows CE用のブートローダー(EBOOT)はSDカードから所定の名前のOSイメージを読み込み
仮想アドレス0xA0200000(物理アドレス0x40200000)へとジャンプする
ここでBSDカーネルをWindows CEのブートローダーから起動するためのnk.binを生成するプログラムを流用し
0xA0200000へU-Bootを読み込むようにパックしたnk.binを生成するのが本プログラムである

使用方法:
gccとmakeのインストールされたLinux上で

git clone https://github.com/brain-hackers/nkbin_maker
cd nkbin_maker
make
./bsd-ce (ビルドして出力されたu-boot.binのパス)

フォルダ内にU-Bootがパックされたnk.binが生成される