Releases: avafinger/rockpie-rk3328
RockPi E D8W2 Ubuntu 20.04 LTS Kernel 5.9-rc5
Kernel 5.9.0-rc5
This is linux-image-5.9.0-rc5 for RockPi E D8W2 built with gcc-10 onboard RockPi E Eng. sample.
Testing:
- eth0: ok
- eth1: ok
- BT: ok
- Wifi: ok
- eMMC: ok
- hdmi output for debuging: ok
- hdmi sound out: ok
- analog sound (jack): ok
- USB 2.0: ok
- USB 3.0: to be tested
Installation
-
Make a backup of your work, as usual.
-
Download file linux-image-5.9.0-rc5_1.0-1.deb
-
Install with:
sudo dpkg -i linux-image-5.9.0-rc5_1.0-1.deb
u-boot 2020.10-rc3
Mainline u-boot
U-boot 2020.10-rc3
-
Boot RockPi E from eMMC
-
Download the files:
-
install to eMMC (running RockPi E from eMMC)
sudo dd if=u-boot/idbloader.img of=/dev/mmcblk1 seek=64 sudo dd if=u-boot/u-boot.itb of=/dev/mmcblk1 seek=16384
RockPi E D8W2 Ubuntu 20.04 LTS Kernel 5.9-rc
RockPi E D8W2 IMG file
This is the IMG file (8GB) for the RockPi E with Wifi 5G and BT (D8W2)
Instructions:
SD CARD only
- Download the img file rockpie_D8W-8GB-sd-ubuntu_20.04LTS_kernel_9.0-rc2.img.7z
- Unzip (7zip)
- Write to a new SD CARD (get a good one), use win32diskimager or Etcher or equivalent (dd command)
- Connect the ethernet cable on Eth0 (right) or Eth1 (left)
- Boot up with the new SD CARD, you will get a blinking led. (heartbeat)
- Credentials:
user: ubuntu
pass: ubuntu
eMMC
-
Install your eMMC before you boot with the SD CARD inserted with IMG file burned.
-
Download the img file rockpie_D8W-8GB-sd-ubuntu_20.04LTS_kernel_9.0-rc2.img.7z
-
Unzip (7zip)
-
Write to a new SD CARD (get a good one), use win32diskimager or Etcher or equivalent (dd command)
-
Connect the ethernet cable on Eth0 (right) or Eth1 (left)
-
Boot up with the new SD CARD, you will get a blinking led. (heartbeat)
-
Credentials:
user: ubuntu
pass: ubuntu -
after you login with ubuntu/ubuntu type in shell:
cd emmc/ sudo ./flash_focal_mainline.sh /dev/mmcblk1
when finished, type:
sync && sudo reboot
You are now booting from eMMC, remove the SD CARD after you login.
Boot sequence
The board will boot from SD card if eMMC is not formatted and with the correct bootloader. If eMMC has been formated and installed it will boot from eMMC even if you have SD CARD inserted.
This IMG is configured with DHCP for Eth0, Eth1. If you don't connect any ethernet cable, ubuntu will wait for 01:30 before letting you log in, this can be adjusted. Sometimes the total amount of time the Ubuntu will wait for the IP can be 05:00 if all interfaces are enabled but don't get any IP from AP.
Enabling WIfi
Wifi is disabled by default in this IMG, you can enable it before you boot or after the boot with jed
Edit the file: /etc/network/interfaces and uncomment (#) the section wlx7ca7b0212134 and fill up the params to look like this:
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
#auto eth0
allow-hotplug eth0
iface eth0 inet dhcp
allow-hotplug eth1
#auto eth1
iface eth1 inet dhcp
##iface eth1 inet static
##address 192.168.1.1
##netmask 255.255.255.0
#broadcast 255.255.1.255
##gateway 192.168.1.1
##dns-nameservers 8.8.8.8 8.8.4.4
allow-hotplug wlx7ca7b0212134
iface wlx7ca7b0212134 inet dhcp
wpa-ssid "your 5G AP"
wpa-psk "your abcd encypted password"
#address 192.168.254.55
#netmask 255.255.0.0
#gateway 192.168.254.254
#dns-nameservers 8.8.8.8 8.8.4.4
####wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
# Disable power saving on compatible chipsets (prevents SSH/connection dropouts over WiFi)
#wireless-mode Managed
#wireless-power off
Important notice
The command 'shutdown -h now' reboots the board in 10 seconds after the heartbeat (green led) stop blinking, so you have 10 secs max after that to unplug the power cord.