Aria Rockchip RK3308 Linux SDK: Difference between revisions

From Ariaboard Wiki
Jump to navigation Jump to search
No edit summary
Line 9: Line 9:
  git submodule update --init
  git submodule update --init


===SDK Buildroot Configuration===
==SDK Buildroot Configuration==
  cd buildroot
  cd buildroot
  ./load-novotech-release-config.sh
  ./load-novotech-release-config.sh
Line 15: Line 15:
  ./save-novotech-release-config.sh
  ./save-novotech-release-config.sh


===SDK Build===
==SDK Build==
  ./build.sh
  ./build.sh


===Upload Firmware to Device===
==Upload Firmware to Device==
Connect the OTG port of Dev board to the USB port of PC, then:
Connect the OTG port of Dev board to the USB port of PC, then:
  tools/linux/Linux_Upgrade_Tool/Linux_Upgrade_Tool/upgrade_tool uf rockdev/update.img
  tools/linux/Linux_Upgrade_Tool/Linux_Upgrade_Tool/upgrade_tool uf rockdev/update.img
If flash is empty or the bootloader on flash is different, you may need to clean the flash and uploader our bootloader:
tools/linux/Linux_Upgrade_Tool/Linux_Upgrade_Tool/upgrade_tool ef rockdev/MiniLoaderAll.bin

Revision as of 11:16, 17 November 2020

Pre-Requisite

For Debian/Ubuntu:

sudo apt-get install build-essential libc6:i386 genext2fs libncurses-dev

Aria Rockchip RK3308 Linux SDK

git clone https://github.com/ariaboard-com/rockchip_rk3308_linux_sdk.git -b rk3308-evb-novotech-release --single-branch
cd rockchip_rk3308_linux_sdk
git submodule update --init

SDK Buildroot Configuration

cd buildroot
./load-novotech-release-config.sh
make O=output/novotech_rk3308_release menuconfig #Configure buildroot here.
./save-novotech-release-config.sh

SDK Build

./build.sh

Upload Firmware to Device

Connect the OTG port of Dev board to the USB port of PC, then:

tools/linux/Linux_Upgrade_Tool/Linux_Upgrade_Tool/upgrade_tool uf rockdev/update.img

If flash is empty or the bootloader on flash is different, you may need to clean the flash and uploader our bootloader:

tools/linux/Linux_Upgrade_Tool/Linux_Upgrade_Tool/upgrade_tool ef rockdev/MiniLoaderAll.bin