≡
Difference between revisions of "RK3328-SOM204"
m (→FAQ) |
m (→Flash image to eMMC via USB) |
||
Line 13: | Line 13: | ||
=== Flash image to eMMC via USB === | === Flash image to eMMC via USB === | ||
+ | |||
+ | ==== Prepare rkdeveloptool ==== | ||
Get sources: | Get sources: | ||
Line 26: | Line 28: | ||
make | make | ||
+ | ==== Prepare loader ==== | ||
+ | |||
+ | Get rkbin: | ||
+ | git clone https://github.com/rockchip-linux/rkbin | ||
+ | |||
+ | Edit configuration: | ||
+ | cd rkbin | ||
+ | cat > RKBOOT/RK3328MINIALL.ini << __EOF__ | ||
+ | [CHIP_NAME] | ||
+ | NAME=RK322H | ||
+ | [VERSION] | ||
+ | MAJOR=2 | ||
+ | MINOR=49 | ||
+ | [CODE471_OPTION] | ||
+ | NUM=1 | ||
+ | Path1=bin/rk33/rk3328_ddr_333MHz_v1.14.bin | ||
+ | Sleep=1 | ||
+ | [CODE472_OPTION] | ||
+ | NUM=1 | ||
+ | Path1=bin/rk33/rk322xh_usbplug_v2.49.bin | ||
+ | [LOADER_OPTION] | ||
+ | NUM=2 | ||
+ | LOADER1=FlashData | ||
+ | LOADER2=FlashBoot | ||
+ | FlashData=bin/rk33/rk3328_ddr_333MHz_v1.14.bin | ||
+ | FlashBoot=bin/rk33/rk322xh_miniloader_v2.49.bin | ||
+ | [OUTPUT] | ||
+ | PATH=rk3328_loader_v1.14.249.bin | ||
+ | __EOF__ | ||
+ | |||
+ | Generate loader image: | ||
+ | ./tools/boot_merger RKBOOT/RK3328MINIALL.ini | ||
+ | |||
+ | ==== Flash image ==== | ||
Put device into loader mode. Plug USB-mini cable, hold '''recovery''' button and | Put device into loader mode. Plug USB-mini cable, hold '''recovery''' button and | ||
press '''reset'''. Check the with: | press '''reset'''. Check the with: |
Revision as of 23:42, 12 June 2019
Contents
Software
Armbian
FAQ
Use alarm clock
You can schedule power-on event using alarm clock.
Set the alarm 1 minute in the future
echo $(date '+%s' -d '+ 1 minutes') > /sys/class/rtc/rtc0/wakealarm
Now power-off the board and wait for the wake-up alarm:
poweroff
Flash image to eMMC via USB
Prepare rkdeveloptool
Get sources:
git clone https://github.com/rockchip-linux/rkdeveloptool
Install requirements:
sudo apt-get install libudev-dev libusb-1.0-0-dev dh-autoreconf
Build rkdeveloptool
cd rkdeveloptool autoreconf -i ./configure make
Prepare loader
Get rkbin:
git clone https://github.com/rockchip-linux/rkbin
Edit configuration:
cd rkbin cat > RKBOOT/RK3328MINIALL.ini << __EOF__ [CHIP_NAME] NAME=RK322H [VERSION] MAJOR=2 MINOR=49 [CODE471_OPTION] NUM=1 Path1=bin/rk33/rk3328_ddr_333MHz_v1.14.bin Sleep=1 [CODE472_OPTION] NUM=1 Path1=bin/rk33/rk322xh_usbplug_v2.49.bin [LOADER_OPTION] NUM=2 LOADER1=FlashData LOADER2=FlashBoot FlashData=bin/rk33/rk3328_ddr_333MHz_v1.14.bin FlashBoot=bin/rk33/rk322xh_miniloader_v2.49.bin [OUTPUT] PATH=rk3328_loader_v1.14.249.bin __EOF__
Generate loader image:
./tools/boot_merger RKBOOT/RK3328MINIALL.ini
Flash image
Put device into loader mode. Plug USB-mini cable, hold recovery button and press reset. Check the with:
lsusb
You should see:
Bus 002 Device 035: ID 2207:330a