SHARP Brain U-Boot Loader based on ResetKit
Go to file
2024-01-22 17:55:48 +09:00
.github/workflows Add GitHub Actions workflow definition 2022-04-12 01:22:17 +09:00
.clang-format apply clang-format 2022-01-24 01:52:45 +09:00
.editorconfig Add editorconfig 2022-04-19 01:19:31 +09:00
.gitignore Add support 1st generation Brain (#9) 2022-09-23 00:41:59 +09:00
bootloader.cpp Move the license body to the LICENSE file 2022-11-01 03:46:14 +09:00
BrainLILO.cpp Move the license body to the LICENSE file 2022-11-01 03:46:14 +09:00
BrainLILO.h Move the license body to the LICENSE file 2022-11-01 03:46:14 +09:00
BrainLILODrv.cpp Move the license body to the LICENSE file 2022-11-01 03:46:14 +09:00
BrainLILODrv.h Move the license body to the LICENSE file 2022-11-01 03:46:14 +09:00
EDNA2_physicalInvoker.S Add support 1st generation Brain (#9) 2022-09-23 00:41:59 +09:00
LICENSE Move the license body to the LICENSE file 2022-11-01 03:46:14 +09:00
Makefile Add support 1st generation Brain (#9) 2022-09-23 00:41:59 +09:00
models.h Fix PW-A7400 support 2024-01-22 17:55:48 +09:00
README.md Add README.md 2022-04-12 01:53:49 +09:00

BrainLILO

Jump to U-Boot directly from Windows CE running on a SHARP Brain.

Build on x86_64 Linux

  1. Get cegcc and unzip it
  2. Copy the directory cegcc into /opt
  3. Run make with the PREFIX specified

Equivalent shell snippet:

wget -O cegcc.zip https://github.com/brain-hackers/cegcc-build/releases/download/2022-04-11-133546/cegcc-2022-04-11-133546.zip
unzip -q cegcc.zip
mkdir -p /opt  # it may need sudo
cp -r cegcc /opt/  # it may need sudo
make PREFIX=/opt/cegcc

Install (using the pre-built binary)

  1. Download the ZIP in the latest release and unzip it
  2. Create アプリ directory in the SD card's root directory and copy BrainLILO into it
  3. Create LOADER directory in the SD card's root directory and copy u-boot.bin into it

Install (using your binary)

  1. Create a directory named BrainLILO
  2. Copy dlls and the exe into it, renaming BrainLILO.exe to AppMain.exe
  3. Create a blank index.din in the directory
  4. Follow the step 2 and 3 in Install (using the pre-built binary)

Equivalent shell snippet:

mkdir BrainLILO
cp *.dll BrainLILO/
cp BrainLILO.exe BrainLILO/AppMain.exe
touch BrainLILO/index.din