[OpenWrt-Devel] [PATCH 5/9] sunxi: add support for pine64 lts

Oskari Lemmelä oskari at lemmela.net
Tue Jan 15 11:46:12 EST 2019


Hi,

On 14.1.2019 21.03, Petr Štetiar wrote:
> Oskari Lemmela <oskari at lemmela.net> [2019-01-14 19:54:25]:
>
> Hi,
>
>> CPU: R18 High Performance Quad-core 64-bit Cortex-A53
>> GPU: Mali400MP2 OpenGL ES 2.0/1.1/1.0, OpenVG 1.1, EGL
>> Memory: 2GB LPDDR3 (shared with GPU)
>> Onboard Storage: TF card / NOR flash(16MB)
>> Onboard Network: 1000M/100M Ethernet RJ45
> can you please add flashing instructions here?
>
> From https://openwrt.org/submitting-patches
>
> "If you add support for new hardware: Include in your commit message a short
> description of the hardware and how to install OpenWrt on it. Have a look at
> the recent additions for some examples."
Here is flashing instructions which I added to commit message:


    Flash instruction:
    1. Uncompress sdcard.img.gz image and write it to SD-card
       $ zcat <openwrt-sdcard-image> | dd of=/dev/sdX bs=1M
    2. Connect ethernet cable and boot Pine64 LTS with SD-card
    3. Copy u-boot-with-spl.bin to 192.168.1.1:/tmp
    4. Write u-boot image to the SPI flash
       $ mtd write <u-boot-with-spl-image> /dev/mtd0
    5. Copy squashfs-sysupgrade.bin image to 192.168.1.1:/tmp
    6. Run sysupgrade to copy the image and current configuration
       to the SPI flash
       $ sysupgrade <sysupgrade-image>

>> +  IMAGES += sysupgrade.bin u-boot-with-spl.bin
>> +  IMAGE/u-boot-with-spl.bin := sunxi-uboot | check-size 896k
> Please use ARTIFACTS[1] for u-boot-with-spl.bin image.
Thanks, I did not notice this one. Already updated commit to use it.
> 1. https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=493c9a35516c27a8ec412d97e63c8cf6f41a57ea
>
> -- ynezz

Oskari

_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list