https://ariaboard.com/api.php?action=feedcontributions&user=Superlynx&feedformat=atom
Ariaboard Wiki - User contributions [en]
2024-03-19T09:48:58Z
User contributions
MediaWiki 1.41.0
https://ariaboard.com/index.php?title=Ariaboard_G2E_Guide&diff=155
Ariaboard G2E Guide
2021-03-23T02:21:28Z
<p>Superlynx: /* Create Linux root filesystem */</p>
<hr />
<div>==Spec==<br />
{| class="wikitable"<br />
| CPU || Dual Cortex®-A53@1.2GHz<br />
|-<br />
| GPU || PowerVR GE8300@600MHz<br />
|-<br />
| RAM || 4x512M DDR3L@1856MHz<br />
|-<br />
| USB || 1xUSB 3.0, 1xUSB 2.0<br />
|-<br />
| Video Output || 1xHDMI(From RGB), 2xLVDS<br />
|-<br />
| Ethernet || RGMII 1Gbps<br />
|-<br />
| External port || PCI-E x1<br />
|-<br />
| Storage || eMMC 16G, SD Card slot<br />
|}<br />
<br />
==Build Your G2E Image==<br />
<br />
===Ubuntu 20.04 pre-install apts===<br />
apt install git build-essential flex bison<br />
<br />
===Fetch RZ/G2E Linux SDK===<br />
<pre><br />
git clone ****/rzg2-linux-sdk.git<br />
cd rzg2-linux-sdk<br />
git submodule update --init<br />
</pre><br />
<br />
===Build RZG2 Flash Burner===<br />
<pre><br />
cd rzg2-flash-writer<br />
./build-g2e-emmc.sh<br />
</pre><br />
<br />
===Build ARM Trusted Firmware===<br />
<pre><br />
cd arm-trusted-firmware<br />
./build-ek874-emmc.sh<br />
</pre><br />
<br />
===Build U-Boot===<br />
<pre><br />
cd renesas-u-boot-cip<br />
./build-g2e-emmc.sh<br />
</pre><br />
<br />
===Boot Flash Burner from serial port===<br />
Set serial port of PC to 115200bps, 8N1. Set boot mode of board to download mode. Connect Debug port of board to the serial port of PC. Power on the board, then something like "please send !" will be printed on terminal.<br />
<br />
Upload file rzg2-flash-writer/AArch64_output/AArch64_Flash_writer_SCIF_DUMMY_CERT_E6300400_ek874.mot with ASCII mode. After uploading, prompt ">" will appear in terminal.<br />
<br />
===Install ARM Trusted Firmware & U-Boot===<br />
{| class="wikitable"<br />
|-<br />
! Filename !! Program Top Address !! eMMC Save Partition !! eMMC Save Sectors !! Description<br />
|-<br />
| arm-trusted-firmware/deploy/bootparam_sa0.srec || E6320000 || boot partition1 || 000000 || Loader(Boot parameter)<br />
|-<br />
| arm-trusted-firmware/deploy/bl2.srec || E6304000 || boot partition1 || 00001E || Loader<br />
|-<br />
| arm-trusted-firmware/deploy/cert_header_sa6.srec || E6320000 || boot partition1 || 000180 || Loader(Certification)<br />
|-<br />
| arm-trusted-firmware/deploy/bl31.srec || 44000000 || boot partition1 || 000200 || ARM Trusted Firmware<br />
|-<br />
| renesas-u-boot-cip/deploy/u-boot-elf.srec || 50000000 || boot partition2 || 000000 || U-boot<br />
|}<br />
<br />
Use EM_W command to write S-record file into eMMC. e.g:<br />
<pre><br />
>EM_W<br />
EM_W Start --------------<br />
---------------------------------------------------------<br />
Please select,eMMC Partition Area.<br />
0:User Partition Area : 30535680 KBytes<br />
eMMC Sector Cnt : H'0 - H'03A3DFFF<br />
1:Boot Partition 1 : 16384 KBytes<br />
eMMC Sector Cnt : H'0 - H'00007FFF<br />
2:Boot Partition 2 : 16384 KBytes<br />
eMMC Sector Cnt : H'0 - H'00007FFF<br />
---------------------------------------------------------<br />
Select area(0-2)>1 <<<< Enter "1" here<br />
-- Boot Partition 1 Program -----------------------------<br />
Please Input Start Address in sector :0000 <<<< Enter "0000" here<br />
Please Input Program Start Address : E6320000 <<<< Enter "E6320000" here<br />
Work RAM(H'50000000-H'50FFFFFF) Clear....<br />
please send ! ('.' & CR stop load)<br />
SAVE -FLASH.......<br />
EM_W Complete!<br />
</pre><br />
<br />
===eMMC Boot Settings===<br />
Please note that for eMMC booting, the following EXT_CSD registers need to be modified:<br />
<pre><br />
EXT_CSD[B1] = 0x0A<br />
EXT_CSD[B3] = 0x08<br />
</pre><br />
Use EM_SECSD command to modify EXT CSD registers:<br />
<pre><br />
>EM_SECSD<br />
Please Input EXT_CSD Index(H'00 - H'1FF) :b1<br />
EXT_CSD[B1] = 0x00<br />
Please Input Value(H'00 - H'FF) :a<br />
EXT_CSD[B1] = 0x0A<br />
<br />
>EM_SECSD<br />
Please Input EXT_CSD Index(H'00 - H'1FF) :b3<br />
EXT_CSD[B1] = 0x00<br />
Please Input Value(H'00 - H'FF) :8<br />
EXT_CSD[B1] = 0x08<br />
</pre><br />
<br />
===Check Bootloader===<br />
Power off the board. Set boot mode to eMMC boot. Then power on. It should be able to boot into u-boot:<br />
<pre><br />
[ 0.000096] NOTICE: BL2: RZ G2E Initial Program Loader(CA53)<br />
[ 0.004372] NOTICE: BL2: Initial Program Loader(Rev.2.0.7)<br />
[ 0.009905] NOTICE: BL2: PRR is RZG G2E Ver.1.1<br />
[ 0.014478] NOTICE: BL2: PLL1 nonSSCG Clock select<br />
[ 0.019327] NOTICE: BL2: Board is EK874 RZ/G2E Rev.1.0<br />
[ 0.024502] NOTICE: BL2: Boot device is eMMC(50MHz x8)<br />
[ 0.029682] NOTICE: BL2: LCM state is CM<br />
[ 0.033647] NOTICE: BL2: 0x400000000 - 0x47fffffff, 2 GiB<br />
[ 0.039080] NOTICE: BL2: DDR1856(rev.0.12)<br />
[ 0.043231] NOTICE: BL2: [COLD_BOOT]<br />
[ 0.048483] NOTICE: BL2: DRAM Split is OFF<br />
[ 0.051179] NOTICE: BL2: QoS is default setting(rev.0.05)<br />
[ 0.056622] NOTICE: BL2: DRAM refresh interval 3.9 usec<br />
[ 0.068842] NOTICE: BL2: v1.5(release):61eac60f5-dirty<br />
[ 0.072573] NOTICE: BL2: Built : 19:44:42, Dec 16 2020<br />
[ 0.077761] NOTICE: BL2: Normal boot<br />
[ 0.081399] NOTICE: BL2: eMMC boot from partition 1<br />
[ 0.086539] NOTICE: BL2: Load dst=0xe6312100 src=(p:1)0x30000(384) len=0x200(1)<br />
[ 0.093922] NOTICE: BL2: Load dst=0x43f00000 src=(p:1)0x30400(386) len=0x1800(12)<br />
[ 0.101589] NOTICE: BL2: Load dst=0x44000000 src=(p:1)0x40000(512) len=0x10000(128)<br />
[ 0.110783] NOTICE: BL2: Load dst=0x50000000 src=(p:2)0x0(0) len=0x100000(2048)<br />
[ 0.139578] NOTICE: BL2: Booting BL31<br />
<br />
<br />
U-Boot 2018.09-g3bc3f7369f-dirty (Dec 17 2020 - 16:51:50 +0900)<br />
<br />
CPU: Renesas Electronics R8A774C0 rev 1.1<br />
Model: Silicon Linux EK874 RZ/G2E board<br />
DRAM: 1.9 GiB<br />
Bank #0: 0x048000000 - 0x0bfffffff, 1.9 GiB<br />
<br />
Watchdog: Not found by seq!<br />
WDT: watchdog@00000000e6020000<br />
Watchdog: Started!<br />
MMC: sd@ee100000: 0, sd@ee160000: 1<br />
Loading Environment from MMC... OK<br />
In: serial@e6e88000<br />
Out: serial@e6e88000<br />
Err: serial@e6e88000<br />
Net: <br />
Error: ethernet@e6800000 address not set.<br />
eth-1: ethernet@e6800000<br />
Hit any key to stop autoboot: 2 <br />
</pre><br />
<br />
===Build Linux Kernel===<br />
<pre><br />
cd linux-cip<br />
./build-g2e.sh<br />
</pre><br />
<br />
===Create Linux root filesystem===<br />
Prepare a SD card with capacity of 16GB or more.<br />
Use partition tool like fdisk, create 2 partitions on SD card: first partition should be FAT16/32, with size at least 64MiB, secord partition should be ext4, size should be at least 8GiB.<br />
Copy files below into first partition (replace /dev/sdb1 to the first partition of your real SD card device path):<br />
<pre><br />
sudo -s<br />
mount /dev/sdb1 /mnt<br />
cp -v linux-cip/deploy/g2e/Image /mnt<br />
cp -v linux-cip/deploy/g2e/r8a774c0-rzg2e-novotech.dtb /mnt<br />
cp -v linux-cip/deploy/g2e/modules.tar.gz /mnt<br />
umount /dev/sdb1<br />
exit<br />
</pre><br />
<br />
Then create Debian 10 (Buster) rootfs:<br />
<pre><br />
sudo -s<br />
apt-get install qemu-user-static debootstrap schroot<br />
<br />
mkdir debian-rootfs<br />
cd debian-rootfs<br />
export ROOTFS="$(pwd)"<br />
qemu-debootstrap --arch arm64 --variant buildd --include=ca-certificates,apt,wget,sudo,debootstrap,isc-dhcp-client,nano,network-manager buster "${ROOTFS}" http://deb.debian.org/debian<br />
<br />
chroot "${ROOTFS}"<br />
passwd root<br />
#Input your root password<br />
<br />
exit<br />
<br />
tar -xf ../linux-cip/deploy/g2e/modules.tar.gz<br />
tar -czpf ../debian-buster-rootfs.tar.gz .<br />
<br />
exit<br />
</pre><br />
<br />
Mount and extract rootfs to the second partition of your SD card (replace /dev/sdb2 to your one).<br />
<pre><br />
sudo -s<br />
mount /dev/sdb2 /mnt<br />
tar -xpzf debian-buster-rootfs.tar.gz -C /mnt<br />
<br />
# Copy rootfs to SD card so that you can install it to eMMC (Optional):<br />
cp -v debian-buster-rootfs.tar.gz /mnt<br />
<br />
umount /dev/sdb2<br />
exit<br />
</pre><br />
<br />
===Boot kernel & rootfs from SD card===<br />
At u-boot auto booting count down, press enter to break into u-boot command-line. Use commands below to boot from SD card:<br />
<pre><br />
setenv bootargs 'root=/dev/mmcblk0p2 rootwait rw'<br />
fatload mmc 0:1 0x48080000 Image; fatload mmc 0:1 0x48000000 r8a774c0-rzg2e-novotech.dtb; booti 0x48080000 - 0x48000000<br />
</pre><br />
The device path of SD card is /dev/mmcblk0, and the path of eMMC is /dev/mmcblk2. Kernel and rootfs can be written into eMMC with the same partition structure as SD card.<br />
<br />
==Using GPIO==<br />
{| class="wikitable"<br />
|-<br />
! GPIO Bank !! Address<br />
|-<br />
| GPIO 0 || 494<br />
|-<br />
| GPIO 1 || 471<br />
|-<br />
| GPIO 2 || 445<br />
|-<br />
| GPIO 3 || 429<br />
|-<br />
| GPIO 4 || 418<br />
|-<br />
| GPIO 5 || 398<br />
|-<br />
| GPIO 6 || 380<br />
|}<br />
<br />
<code>GPIO Number = GPIO Bank Address + Pin Number</code>. e.g, GPIO number of GPIO 2-2 is 445+2=447.<br />
<br />
You use user level interfaces in <code>/sys/class/gpio</code> to operate GPIOs. Just like other ARM platforms.<br />
<br />
You can check GPIO stats by reading <code>/sys/kernel/debug/gpio</code>:<br />
<pre><br />
sudo cat /sys/kernel/debug/gpio<br />
</pre><br />
<br />
==Using Audio SoC==<br />
At first running, ALSA should be configured with the commands below:<br />
<pre><br />
amixer cset name="HP Playback Switch" on<br />
amixer cset name="HPO MIDAC1 Switch" on<br />
amixer cset name="Stereo DAC MIXL DAC L1 Switch" on<br />
amixer cset name="Stereo DAC MIXR DAC R1 Switch" on<br />
amixer cset name="DAC MIXL INF1 Switch" on<br />
amixer cset name="DAC MIXR INF1 Switch" on<br />
amixer cset name="DAC MIXL Stereo ADC Switch" off<br />
amixer cset name="DAC MIXR Stereo ADC Switch" off<br />
amixer cset name="ADC Capture Switch" on<br />
amixer cset name="Stereo1 ADC MIXL ADC1 Switch" on<br />
amixer cset name="Stereo1 ADC MIXR ADC1 Switch" on<br />
<br />
<br />
amixer cset name="RECMIXL INL1 Switch" on<br />
amixer cset name="RECMIXR INR1 Switch" on<br />
amixer cset name="RECMIXL BST1 Switch" on<br />
amixer cset name="RECMIXR BST1 Switch" on<br />
<br />
alsactl store<br />
</pre><br />
<br />
If you are using non-standard Linux distributions (like customized Yocto or buildroot), you should write the mixer configurations in startup script.<br />
<br />
==Using Camera==<br />
Camera Module: Sony IMX219<br />
<br />
Use commands below to initialize media controller:<br />
<br />
FHD(1920x1080) mode:<br />
<pre><br />
media-ctl -d /dev/media0 -r<br />
media-ctl -d /dev/media0 -l "'rcar_csi2 feaa0000.csi2':1 -> 'VIN4 output':0 [1]"<br />
media-ctl -d /dev/media0 -V "'rcar_csi2 feaa0000.csi2':1 [fmt:SRGGB8_1X8/1920x1080 field:none]"<br />
media-ctl -d /dev/media0 -V "'imx219 0-0010':0 [fmt:SRGGB8_1X8/1920x1080 field:none]"<br />
</pre><br />
<br />
VGA(640x480) mode:<br />
<pre><br />
media-ctl -d /dev/media0 -r<br />
media-ctl -d /dev/media0 -l "'rcar_csi2 feaa0000.csi2':1 -> 'VIN4 output':0 [1]"<br />
media-ctl -d /dev/media0 -V "'rcar_csi2 feaa0000.csi2':1 [fmt:SRGGB8_2X8/640x480 field:none]"<br />
media-ctl -d /dev/media0 -V "'imx219 0-0010':0 [fmt:SRGGB8_1X8/640x480 field:none]"<br />
</pre><br />
<br />
Camera device will be /dev/video0 on Debian rootfs, and /dev/video8 on Yocto rootfs.<br />
<br />
Camera subdev device will be /dev/v4l-subdev1 on Debian rootfs, and /dev/v4l-subdev18 on Yocto rootfs.<br />
<br />
You can use <code>mediactl -d /dev/media0 -p</code> to check device status.<br />
<br />
You can use commands below to configure camera parameters (on Debian rootfs):<br />
<pre><br />
#Set exposure<br />
v4l2-ctl -d /dev/v4l-subdev1 --set-ctrl exposure=1600<br />
<br />
#Set analog gain<br />
v4l2-ctl -d /dev/v4l-subdev1 --set-ctrl analogue_gain=232<br />
<br />
#Check camera controllers<br />
v4l2-ctl -d /dev/v4l-subdev1 --list-ctrls<br />
</pre><br />
<br />
Use GStreamer to get a photo (on Debian rootfs):<br />
<pre><br />
gst-launch-1.0 v4l2src device=/dev/video0 num-buffers=1 ! video/x-bayer,format=rggb,width=1920,height=1080,framerate=30/1 ! bayer2rgb ! videoflip video-direction=4 ! videoflip video-direction=5 ! jpegenc ! filesink location=camsnap.jpg<br />
</pre><br />
<br />
Use GStreamer to show video from camera (on Yocto rootfs, need Wayland support):<br />
<pre><br />
gst-launch-1.0 v4l2src device=/dev/video8 io-mode=dmabuf ! video/x-bayer,format=rggb,width=640,height=480,framerate=30/1 ! bayersink<br />
</pre><br />
<br />
==Known problems==<br />
<br />
===WiFi module does not support random MAC===<br />
By default, Network Manager will use random MAC for better security, somehow the module used on this board does not support it. You should disable it by edit file <code>/etc/NetworkManager/NetworkManager.conf</code>, add add lines below:<br />
<pre><br />
[device]<br />
wifi.scan-rand-mac-address=no<br />
</pre><br />
<br />
===Set MAC address of ethernet card===<br />
There is no EEPROM or SPI Flash to save MAC address for ethernet card. So you can set MAC address by yourself. e.g. Using Network Manager:<br />
<pre><br />
sudo nmtui<br />
</pre><br />
<br />
Edit your ethernet connection, unfold ETHERNET option, set "Cloned MAC address" to the address you want. Then exit the tool to save your settings.<br />
<br />
Or you can set MAC address in u-boot, press Enter key when u-boot is waiting for interrupting, then set MAC address with commands below:<br />
<pre><br />
setenv ethaddr "AC:F3:5F:1E:87:53"<br />
saveenv<br />
</pre><br />
<br />
You can replace the address with the one you want.<br />
<br />
===No Graphic Accelerations on Debian rootfs===<br />
2D/3D Graphic Accelerations are only supported in Renesas's customized Yocto, and only Wayland is supported.<br />
<br />
===No Bayer Color Encoding Support===<br />
Some cameras (like Sony IMX219) can only output RAW bayer video data, which is not supported by hardware encoders on the board. Even through you can convert color space with GStreamer element like bayer2rgb, it will cost lots of CPU resources and RAM bandwidth.</div>
Superlynx
https://ariaboard.com/index.php?title=Aria_Rockchip_RK3308_Linux_SDK&diff=143
Aria Rockchip RK3308 Linux SDK
2020-11-17T03:17:28Z
<p>Superlynx: </p>
<hr />
<div>==Pre-Requisite==<br />
<br />
For Debian/Ubuntu:<br />
sudo apt-get install build-essential libc6:i386 genext2fs libncurses-dev<br />
<br />
==Aria Rockchip RK3308 Linux SDK==<br />
git clone https://github.com/ariaboard-com/rockchip_rk3308_linux_sdk.git -b rk3308-evb-novotech-release --single-branch<br />
cd rockchip_rk3308_linux_sdk<br />
git submodule update --init<br />
<br />
==SDK Buildroot Configuration==<br />
cd buildroot<br />
./load-novotech-release-config.sh<br />
make O=output/novotech_rk3308_release menuconfig #Configure buildroot here.<br />
./save-novotech-release-config.sh<br />
<br />
==SDK Build==<br />
./build.sh<br />
<br />
==Upload Firmware to Device==<br />
Connect the OTG port of Dev board to the USB port of PC, then:<br />
tools/linux/Linux_Upgrade_Tool/Linux_Upgrade_Tool/upgrade_tool uf rockdev/update.img<br />
<br />
If flash is empty or the bootloader on flash is different, you may need to clean the flash and upload bootloader:<br />
tools/linux/Linux_Upgrade_Tool/Linux_Upgrade_Tool/upgrade_tool ef rockdev/MiniLoaderAll.bin</div>
Superlynx
https://ariaboard.com/index.php?title=Aria_Rockchip_RK3308_Linux_SDK&diff=142
Aria Rockchip RK3308 Linux SDK
2020-11-17T03:16:59Z
<p>Superlynx: </p>
<hr />
<div>==Pre-Requisite==<br />
<br />
For Debian/Ubuntu:<br />
sudo apt-get install build-essential libc6:i386 genext2fs libncurses-dev<br />
<br />
==Aria Rockchip RK3308 Linux SDK==<br />
git clone https://github.com/ariaboard-com/rockchip_rk3308_linux_sdk.git -b rk3308-evb-novotech-release --single-branch<br />
cd rockchip_rk3308_linux_sdk<br />
git submodule update --init<br />
<br />
==SDK Buildroot Configuration==<br />
cd buildroot<br />
./load-novotech-release-config.sh<br />
make O=output/novotech_rk3308_release menuconfig #Configure buildroot here.<br />
./save-novotech-release-config.sh<br />
<br />
==SDK Build==<br />
./build.sh<br />
<br />
==Upload Firmware to Device==<br />
Connect the OTG port of Dev board to the USB port of PC, then:<br />
tools/linux/Linux_Upgrade_Tool/Linux_Upgrade_Tool/upgrade_tool uf rockdev/update.img<br />
<br />
If flash is empty or the bootloader on flash is different, you may need to clean the flash and upload our bootloader:<br />
tools/linux/Linux_Upgrade_Tool/Linux_Upgrade_Tool/upgrade_tool ef rockdev/MiniLoaderAll.bin</div>
Superlynx
https://ariaboard.com/index.php?title=Aria_Rockchip_RK3308_Linux_SDK&diff=141
Aria Rockchip RK3308 Linux SDK
2020-11-17T03:16:45Z
<p>Superlynx: </p>
<hr />
<div>==Pre-Requisite==<br />
<br />
For Debian/Ubuntu:<br />
sudo apt-get install build-essential libc6:i386 genext2fs libncurses-dev<br />
<br />
==Aria Rockchip RK3308 Linux SDK==<br />
git clone https://github.com/ariaboard-com/rockchip_rk3308_linux_sdk.git -b rk3308-evb-novotech-release --single-branch<br />
cd rockchip_rk3308_linux_sdk<br />
git submodule update --init<br />
<br />
==SDK Buildroot Configuration==<br />
cd buildroot<br />
./load-novotech-release-config.sh<br />
make O=output/novotech_rk3308_release menuconfig #Configure buildroot here.<br />
./save-novotech-release-config.sh<br />
<br />
==SDK Build==<br />
./build.sh<br />
<br />
==Upload Firmware to Device==<br />
Connect the OTG port of Dev board to the USB port of PC, then:<br />
tools/linux/Linux_Upgrade_Tool/Linux_Upgrade_Tool/upgrade_tool uf rockdev/update.img<br />
<br />
If flash is empty or the bootloader on flash is different, you may need to clean the flash and uploader our bootloader:<br />
tools/linux/Linux_Upgrade_Tool/Linux_Upgrade_Tool/upgrade_tool ef rockdev/MiniLoaderAll.bin</div>
Superlynx
https://ariaboard.com/index.php?title=Aria_Ti_am335x_Linux_SDK_(Kernel_4.19)&diff=140
Aria Ti am335x Linux SDK (Kernel 4.19)
2020-11-17T03:12:34Z
<p>Superlynx: </p>
<hr />
<div>==Pre-Requisite==<br />
<br />
For Debian/Ubuntu:<br />
sudo apt-get install build-essential libc6:i386 genext2fs libncurses-dev<br />
<br />
==Aria Ti AM335x Linux SDK==<br />
git clone https://github.com/ariaboard-com/ti_am335x_linux_sdk.git<br />
cd ti_am335x_linux_sdk<br />
git submodule update --init<br />
<br />
==SDK Buildroot Configuration==<br />
cd buildroot<br />
./config-am335x.sh #Configure Buildroot with UI.<br />
./save-config-am335x.sh #Save configuration if you want.<br />
<br />
==SDK Build==<br />
./build.sh<br />
<br />
==Create compressed disk image==<br />
For eMMC:<br />
./mkimage-emmc.sh<br />
<br />
For SD Card:<br />
./mkimage-sd.sh</div>
Superlynx
https://ariaboard.com/index.php?title=Aria_Ti_am335x_Linux_SDK_(Kernel_4.19)&diff=139
Aria Ti am335x Linux SDK (Kernel 4.19)
2020-11-17T03:11:50Z
<p>Superlynx: Created page with "==Pre-Requisite== For Debian/Ubuntu: sudo apt-get install build-essential libc6:i386 genext2fs libncurses-dev ==Aria Ti AM335x Linux SDK== git clone https://github.com/ari..."</p>
<hr />
<div>==Pre-Requisite==<br />
<br />
For Debian/Ubuntu:<br />
sudo apt-get install build-essential libc6:i386 genext2fs libncurses-dev<br />
<br />
==Aria Ti AM335x Linux SDK==<br />
git clone https://github.com/ariaboard-com/ti_am335x_linux_sdk.git<br />
cd ti_am335x_linux_sdk<br />
git submodule update --init<br />
<br />
===SDK Buildroot Configuration===<br />
cd buildroot<br />
./config-am335x.sh #Configure Buildroot with UI.<br />
./save-config-am335x.sh #Save configuration if you want.<br />
<br />
===SDK Build===<br />
./build.sh<br />
<br />
===Create compressed disk image===<br />
For eMMC:<br />
./mkimage-emmc.sh<br />
<br />
For SD Card:<br />
./mkimage-sd.sh</div>
Superlynx
https://ariaboard.com/index.php?title=Aria_Rockchip_RK3308_Linux_SDK&diff=138
Aria Rockchip RK3308 Linux SDK
2020-11-17T03:10:39Z
<p>Superlynx: /* Upload Firmware to Device */</p>
<hr />
<div>==Pre-Requisite==<br />
<br />
For Debian/Ubuntu:<br />
sudo apt-get install build-essential libc6:i386 genext2fs libncurses-dev<br />
<br />
==Aria Rockchip RK3308 Linux SDK==<br />
git clone https://github.com/ariaboard-com/rockchip_rk3308_linux_sdk.git -b rk3308-evb-novotech-release --single-branch<br />
cd rockchip_rk3308_linux_sdk<br />
git submodule update --init<br />
<br />
===SDK Buildroot Configuration===<br />
cd buildroot<br />
./load-novotech-release-config.sh<br />
make O=output/novotech_rk3308_release menuconfig #Configure buildroot here.<br />
./save-novotech-release-config.sh<br />
<br />
===SDK Build===<br />
./build.sh<br />
<br />
===Upload Firmware to Device===<br />
Connect the OTG port of Dev board to the USB port of PC, then:<br />
tools/linux/Linux_Upgrade_Tool/Linux_Upgrade_Tool/upgrade_tool uf rockdev/update.img</div>
Superlynx
https://ariaboard.com/index.php?title=Main_Page&diff=137
Main Page
2020-11-17T03:06:15Z
<p>Superlynx: /* Aria Ti am335x */</p>
<hr />
<div>Welcome to Ariaboard Wiki, 欢迎来到Aria Board的wiki主页:<br />
<br />
Homepage: http://ariaboard.com<br />
<br />
*[[Aria Ti am335x]]<br />
*[[Aria NXP imx6]]<br />
*[[Ariaboard Rockchip rk3308]]<br />
*[[Ariaboard Rockchip rk3399]]<br />
*[[Ariaboard Renesas G2E]]<br />
<br />
==Software 软件==<br />
<br />
===common===<br />
*[[Easy Install gcc Cross Compiler]]<br />
*[[Download Server]]<br />
===Aria Ti am335x===<br />
*[[Aria Ti am335x Bootup Sequence]]<br />
*[[Aria Ti am335x How to make a bootable SD card]]<br />
*[[Aria Ti am335x How to boot from eMMC]]<br />
*[[Aria Ti am335x Kernel]]<br />
*[[Aria Ti am335x U-Boot]]<br />
*[[Aria Ti am335x U-Boot/Kernel Bootup Tux Logo]]<br />
*[[Aria Ti am335x Linux SDK (Kernel 4.19)]]<br />
*[[Aria Ti am335x GPIO control]]<br />
<br />
===Android on Aria AM335x===<br />
[[Aria Ti am335x Android kk4.4.4]]<br />
<br />
===Aria NXP imx6===<br />
*[[Aria NXP imx6 kernel & uboot]]<br />
*[[Aria NXP imx6 memory stress test]]<br />
*[[Aria NXP imx6 set efuse default MAC address]]<br />
*[[Aria NXP imx6 GPIO Guide]]<br />
*[[Aria NXP imx6 pinfunc]]<br />
<br />
===Aria Rockchip RK3308===<br />
*[[Aria Rockchip RK3308 Linux SDK]]<br />
<br />
==Hardware 硬件==<br />
*[[Aria Ti am335x Boot Selector]]<br />
*[[Aria NXP imx6 Boot Selector]]</div>
Superlynx
https://ariaboard.com/index.php?title=Aria_Rockchip_RK3308_Linux_SDK&diff=135
Aria Rockchip RK3308 Linux SDK
2020-11-10T07:11:41Z
<p>Superlynx: Created page with "==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.c..."</p>
<hr />
<div>==Pre-Requisite==<br />
<br />
For Debian/Ubuntu:<br />
sudo apt-get install build-essential libc6:i386 genext2fs libncurses-dev<br />
<br />
==Aria Rockchip RK3308 Linux SDK==<br />
git clone https://github.com/ariaboard-com/rockchip_rk3308_linux_sdk.git -b rk3308-evb-novotech-release --single-branch<br />
cd rockchip_rk3308_linux_sdk<br />
git submodule update --init<br />
<br />
===SDK Buildroot Configuration===<br />
cd buildroot<br />
./load-novotech-release-config.sh<br />
make O=output/novotech_rk3308_release menuconfig #Configure buildroot here.<br />
./save-novotech-release-config.sh<br />
<br />
===SDK Build===<br />
./build.sh<br />
<br />
===Upload Firmware to Device===<br />
Connect the OTG port of Dev board to the USB port of PC, then:<br />
tools/linux/Linux_Upgrade_Tool/Linux_Upgrade_Tool/upgrade_tool -uf rockdev/update.img</div>
Superlynx
https://ariaboard.com/index.php?title=Main_Page&diff=134
Main Page
2020-11-10T06:59:44Z
<p>Superlynx: /* Software 软件 */</p>
<hr />
<div>Welcome to Aria Board Wiki main page, 欢迎来到Aria Board的wiki主页:<br />
<br />
Homepage: http://ariaboard.com<br />
<br />
*[[Aria Ti am335x]]<br />
*[[Aria NXP imx6]]<br />
*[[Aria Rockchip rk3308]]<br />
*[[Aria Rockchip rk3399]]<br />
*[[Aria Renesas G2E]]<br />
<br />
==Software 软件==<br />
<br />
===common===<br />
*[[Easy Install gcc Cross Compiler]]<br />
*[[Download Server]]<br />
===Aria Ti am335x===<br />
*[[Aria Ti am335x Bootup Sequence]]<br />
*[[Aria Ti am335x How to make a bootable SD card]]<br />
*[[Aria Ti am335x How to boot from eMMC]]<br />
*[[Aria Ti am335x Kernel]]<br />
*[[Aria Ti am335x U-Boot]]<br />
*[[Aria Ti am335x U-Boot/Kernel Bootup Tux Logo]]<br />
*[[Aria Ti am335x GPIO control]]<br />
<br />
===Android on Aria AM335x===<br />
[[Aria Ti am335x Android kk4.4.4]]<br />
<br />
===Aria NXP imx6===<br />
*[[Aria NXP imx6 kernel & uboot]]<br />
*[[Aria NXP imx6 memory stress test]]<br />
*[[Aria NXP imx6 set efuse default MAC address]]<br />
*[[Aria NXP imx6 GPIO Guide]]<br />
*[[Aria NXP imx6 pinfunc]]<br />
<br />
===Aria Rockchip RK3308===<br />
*[[Aria Rockchip RK3308 Linux SDK]]<br />
<br />
==Hardware 硬件==<br />
*[[Aria Ti am335x Boot Selector]]<br />
*[[Aria NXP imx6 Boot Selector]]</div>
Superlynx