openwrt/target/linux
Petr Štetiar 0784d07c11 sunxi: a53: add support for Olimex A64-Olinuxino eMMC
Specifications:

 SoC: Allwinner A64 (1.2 GHz Quad-Core ARM Cortex-A53 64-bit)
 RAM: 1GB or 2GB RAM DDR3L @ 672Mhz
 Flash: 0/4/16GB eMMC flash memory for storage and boot
 MicroSD card connector for cards up to 32GB
 Debug: serial UART debug header with 0.1" pins
 Wired connectivity: 10/100/1000Mbps GbE Ethernet
 Wireless connectivity: on-board RTL8723BS 1T1R 802.11bgn WiFi and
                        Bluetooth 4.0 module with built-in antenna
                        (only available in the A64-OLinuXino-1G4GW)

Flashing instructions:

 Standard sunxi SD card installation procedure - copy eMMC image to SD
 card, insert in into SD card slot on the device and boot. You should see
 something like following if the eMMC is detected correctly:

  mmcblk2: mmc2:0001 P1XXXX 3.60 GiB
  mmcblk2boot0: mmc2:0001 P1XXXX partition 1 16.0 MiB
  mmcblk2boot1: mmc2:0001 P1XXXX partition 2 16.0 MiB

 Then flash SD card eMMC image straight into the mmcblk2 device:

  dd if=/mnt/openwrt...a64-olinuxino-emmc-squashfs-sdcard.img of=/dev/mmcblk2

 It also possible to boot from boot0 partition[1]:

  1. Compile U-Boot with CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x40
     otherwise the U-Boot will get stuck in bootloop
  2. Configure eMMC to boot from boot0 partition inside U-Boot:

     mmc bootbus 1 1 0 0; mmc partconf 1 1 1 0

  3. echo 0 > /sys/block/mmcblk2boot0/force_ro
  4. Write U-Boot from offset 0 (not offset 8k as with SD card) into
     boot0 partition

     dd if=u-boot-sunxi-with-spl.bin of=/dev/mmcblk2boot0

Known issues:

 Wireless doesn't work properly via netifd.

1. https://linux-sunxi.org/index.php?title=Bootable_eMMC

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2020-03-28 13:03:02 +01:00
..
apm821xx apm821xx: switch to 5.4 kernel 2020-03-22 23:02:09 +01:00
ar71xx ar71xx: use status led for GL.iNet GL-AR750S 2020-03-26 19:14:25 +01:00
arc770 treewide: remove maintainer variable from targets 2020-03-16 22:21:45 +01:00
archs38 treewide: remove maintainer variable from targets 2020-03-16 22:21:45 +01:00
armvirt kernel: move TEO governor to generic config 2020-03-17 00:51:48 +01:00
at91 treewide: remove maintainer variable from targets 2020-03-16 22:21:45 +01:00
ath25 treewide: remove maintainer variable from targets 2020-03-16 22:21:45 +01:00
ath79 ath79: rename Mikrotik RB 922UAGS-5HPacD mtd partition 2020-03-27 17:12:46 +01:00
bcm27xx bcm27xx: 5.4: add support for Sensirion SPS30 in i2c-sensor overlay 2020-03-28 13:03:02 +01:00
bcm47xx treewide: remove maintainer variable from targets 2020-03-16 22:21:45 +01:00
bcm53xx bcm53xx: sysupgrade: optimize building UBI image 2020-03-21 22:31:35 +01:00
bcm63xx treewide: gather DEVICE_VARS into one place 2020-03-21 19:55:12 +01:00
cns3xxx treewide: remove maintainer variable from targets 2020-03-16 22:21:45 +01:00
gemini gemini: Bump kernel to v5.4 2020-03-21 18:17:04 +01:00
generic kernel: 5.4: disable more symbols 2020-03-21 17:50:43 +01:00
imx6 treewide: remove maintainer variable from targets 2020-03-16 22:21:45 +01:00
ipq40xx treewide: omit IMAGE_SIZE argument from check-size 2020-03-21 20:02:55 +01:00
ipq806x treewide: gather DEVICE_VARS into one place 2020-03-21 19:55:12 +01:00
ipq807x treewide: remove maintainer variable from targets 2020-03-16 22:21:45 +01:00
kirkwood kirkwood: fix DTS partitions for Pogoplug E02 2020-03-27 17:12:46 +01:00
lantiq treewide: omit IMAGE_SIZE argument from check-size 2020-03-21 20:02:55 +01:00
layerscape treewide: remove maintainer variable from targets 2020-03-16 22:21:45 +01:00
malta malta: Remove kernel 4.14 support 2020-03-12 09:28:23 +01:00
mediatek mediatke: add support for elecom-wrc-2533gent 2020-03-27 16:18:57 +01:00
mpc85xx treewide: remove maintainer variable from targets 2020-03-16 22:21:45 +01:00
mvebu treewide: gather DEVICE_VARS into one place 2020-03-21 19:55:12 +01:00
mxs mxs: fix user led for OLinuXino boards 2020-03-17 00:51:48 +01:00
octeon treewide: remove maintainer variable from targets 2020-03-16 22:21:45 +01:00
octeontx kernel: move TEO governor to generic config 2020-03-17 00:51:48 +01:00
omap treewide: gather DEVICE_VARS into one place 2020-03-21 19:55:12 +01:00
oxnas oxnas: yet another irqchip related patch 2020-03-22 13:37:37 +00:00
pistachio treewide: remove maintainer variable from targets 2020-03-16 22:21:45 +01:00
ramips treewide: omit IMAGE_SIZE argument from check-size 2020-03-21 20:02:55 +01:00
rb532 treewide: remove maintainer variable from targets 2020-03-16 22:21:45 +01:00
samsung treewide: remove maintainer variable from targets 2020-03-16 22:21:45 +01:00
sunxi sunxi: a53: add support for Olimex A64-Olinuxino eMMC 2020-03-28 13:03:02 +01:00
tegra treewide: gather DEVICE_VARS into one place 2020-03-21 19:55:12 +01:00
uml
x86 x86/geode: fixup FEATURE inheritance 2020-03-23 18:56:26 +00:00
zynq zynq: switch to kernel 5.4 2020-03-17 00:51:48 +01:00
Makefile