Sosboot-ng: различия между версиями
Перейти к навигации
Перейти к поиску
Zombah (обсуждение | вклад) м (→Description: add content description) |
Zombah (обсуждение | вклад) м (enhance description) |
||
Строка 2: | Строка 2: | ||
==Description== | ==Description== | ||
New generation of [[sosboot]] recovery tool. <br/> | New generation of [[sosboot]] R5 recovery tool. <br/> | ||
SOSBoot is the AC100 Swiss Army knife. It's a minimalistic self containing linux system designed to solely fit inside the Recovery partition of the AC100. | SOSBoot is the AC100 Swiss Army knife. It's a minimalistic self containing linux system designed to solely fit inside the Recovery partition of the AC100.<br/> | ||
Currently SOSBoot consist of five parts: Linux kernel, Buildroot rootfs, U-Boot bootloader, packing tools and custom scripts | |||
Currently SOSBoot consist of | |||
==Where to download source and binary== | ==Where to download source and binary== |
Версия от 22:39, 18 января 2015
Sosboot-ng guide
Description
New generation of sosboot R5 recovery tool.
SOSBoot is the AC100 Swiss Army knife. It's a minimalistic self containing linux system designed to solely fit inside the Recovery partition of the AC100.
Currently SOSBoot consist of five parts: Linux kernel, Buildroot rootfs, U-Boot bootloader, packing tools and custom scripts
Where to download source and binary
Current features
- Include upstream kernels (stable and mainline)
- Have serial console working with getty login
- Kernel config have all AC100 hardware enabled for testing
- Working sysV init
- Include android installer
- Include more tools to test
- usbtools
- wireless-tools
- bluez-utils
- alsa-utils
How to run binary
- Install tegrarcm opensource tool from Nvidia
- Load directly to AC100 ram from PC with tegrarcm tool
- Connect AC100 to PC with miniUSB and start APX mode CTRL+ESC+POWER
# tegrarcm readbct --bct=ac100.bct # tegrarcm --bct=ac100.bct --bootloader=<sosboot-ng binary name .bin> --loadaddr=0x108000
- Connect AC100 to PC with miniUSB and start APX mode CTRL+ESC+POWER
Included scripts
- Multifunctional script to switch from factory proprietary fastboot bootloader to U-Boot
- Name: switch-to-uboot
- Location:
# /switch-to-uboot
- This script is SFX archive you can extract its content to some folder this way, for example if you need run individual parts of script:
# mkdir /tmp/switch # /switch-to-uboot --noexec --keep --target /tmp/switch/
- Location:
- Name: switch-to-uboot
- Script to simplify installation of Android system with gpt partition table and U-Boot bootloader
- android installer
- Location:
# /installer
- Location:
- android installer
How get sources and compile it manually
- Install git-repo tool if you dont have one yet:
$ curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo $ chmod a+x ~/bin/repo
- Create working folder and move inside it
$ mkdir sosboot $ cd sosboot
- Init git-repo manifest branch
- For development branch:
$ repo init -u git://github.com/ac100-ru/sosboot-manifests.git -b for-next
- or for stable branch:
$ repo init -u git://github.com/ac100-ru/sosboot-manifests.git -b sosboot-ng
- For development branch:
- Download sources:
$ repo sync
- Compile sources:
$ ./build_all
- Clean whole sources if want to recompile:
$ ./clean_all
Advanced topics
- If you need recompile for example only kernel
$ ./scripts/clean_sosboot $ ./scripts/clean_sos-uboot $ ./scripts/clean_kernel $ ./build_all