Difference between revisions of "Rock/U-Boot"
< Rock
(→U-Boot: Develop) |
|||
Line 1: | Line 1: | ||
{{Languages|rock/U-Boot}} | {{Languages|rock/U-Boot}} | ||
− | |||
− | |||
− | |||
− | |||
== Features == | == Features == | ||
− | * both | + | * both Rockchip proprietary USB protocol and fastboot USB protocol are supported (Rockchip USB tools works) |
− | * format of partitions (images) are compatible to Rockchip proprietary bootloader (rkcrc, mkbootimg | + | * format of partitions (images) are compatible to Rockchip proprietary bootloader (rkcrc, mkbootimg works) |
* (need more investigation...) | * (need more investigation...) | ||
Line 52: | Line 48: | ||
If something goes wrong and your device doesn't boot anymore, read [[rock/unbrick | Unbrick Rock]]. | If something goes wrong and your device doesn't boot anymore, read [[rock/unbrick | Unbrick Rock]]. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
== External links == | == External links == | ||
− | * | + | * http://androtab.info/rockchip/u-boot/ (working binaries) |
− | * https://github.com/ | + | * https://github.com/linux-rockchip/u-boot-rockchip (some improvement) |
− | + |
Revision as of 07:08, 31 October 2014
Contents
Features
- both Rockchip proprietary USB protocol and fastboot USB protocol are supported (Rockchip USB tools works)
- format of partitions (images) are compatible to Rockchip proprietary bootloader (rkcrc, mkbootimg works)
- (need more investigation...)
Build
git clone https://github.com/radxa/u-boot-rockchip.git cd u-boot-rockchip export ARCH=arm export CROSS_COMPILE=arm-linux-gnueabihf- make rk30xx
RK3188Loader_uboot.bin will be created. DON'T FLASH IT.
Develop
Some important files and directories related to the Rockchip platform:
* UserManual - documentation * include/configs/rk30xx.h - configuration file * tools/rk_tools
* board/rockchip ├── common │ ├── armlinux │ ├── common │ │ ├── A8MMU │ │ ├── crc │ │ ├── emmc │ │ ├── fat │ │ ├── rc4 │ │ ├── rockusb │ │ ├── serial_p9 │ │ └── SPI │ └── platform │ ├── rk2928 │ └── rk30 └── rk30xx
* arch/arm/cpu/armv7/rk30xx * arch/arm/include/asm/arch-rk30xx
Unbrick
If something goes wrong and your device doesn't boot anymore, read Unbrick Rock.
External links
- http://androtab.info/rockchip/u-boot/ (working binaries)
- https://github.com/linux-rockchip/u-boot-rockchip (some improvement)