Show pagesourceOld revisionsBacklinksBack to top × Table of Contents SD card Prebuilt disk images General procedure: Which image to chose? Expanding the filesystem Manual disk image assembly Devices with this installation method SD card Installation can be done via SD card. Provide an outline of the procedure here Prebuilt disk images General procedure: Download the correct image for your device. Probably named similar to openwrt-*-sysupgrade.img.gz. Decompress it: gzip -d openwrt-*-sysupgrade.img.gz Connect sdcard to your computer and look at lsblk or dmesg to identify it. In most cases, it would be something like /dev/sdX. 1) Double check that you have identified your sdcard correctly. If the /dev/sdX you have chosen, corresponds to your harddrive, the next step would destroy your system copy the image to the sdcard with: dd if=openwrt-*-sysupgrade.img of=/dev/sdX Examples: APU RPi Sunxi Which image to chose? Often, different images are available for a device. The differ in the filesystem used. ext4-sdcard.img.gz not optimized for flash memory (journaling speed up flash wear) sdcard can be easyly mounted externally for modification desktop linux standard squashfs-sdcard.img.gz newer images include a hidden f2fs filesystem, which is optimized for flash memory compressed needs special mount procedure, to externally modify it all changes are done in an overlay partition other images ubifs-sdcard.img.gz … see also Expanding the filesystem To use the whole available space of your sdcard, you probably have to resize your partition. squashfs image To resize the squashfs-image one has to know the offset of the hidden f2fs filesystem. In this example, the squashfs partiton is /dev/sde2. You can find the offset, by running losetup on your openwrt device. On your computer, resize the squashfs partition, for example with cfdisk. Loop mount the underlying f2fs partition 2) losetup -d -o <offset> /dev/loop0 /dev/sde2 Run filesystem checks fsck.f2fs /dev/loop0 Resize f2fs filesystem resize.f2fs /dev/loop0 Now your filesystem should be recognized with the correct size. Manual disk image assembly Examples: Sunxi Howto: Partition and format the SD card. Details devicespecific? → Devicepage Copy bootloader, kernel, rootfs (and if necessary other data) to SD card. Details devicespecific? → Devicepage Possibly resize filesystem in order to use the complete available space on the SD card … Devices with this installation method ↓ BrandModelVersionSupported Current RelInstallation method(s)Comment installationDevice PageDevice Techdata FriendlyARMNanoPi NEO Plus219.07.7SD card, Sunxi installationSimilar to install method for Raspberry Pifriendlyarm_nanopi_neo_plus2View/Edit dataFriendlyARMNanoPi NEO Core219.07.7Sysupgrade, SD card, U-Boot USB recoverySimilar to install method for Raspberry Pifriendlyarm_nanopi_neo_core2View/Edit dataFriendlyARMNanoPi R2Sv1snapshotSD cardwrite image to microSD/TFfriendlyarm_nanopi_r2sView/Edit dataFriendlyARMNanoPi R1snapshotSD card, Sunxi installation, see git-commitView/Edit dataFriendlyARMZeroPisnapshotSD card, Sunxi installation, see git-commitView/Edit dataKobolHelios4snapshotSD card, see git-commitView/Edit dataLibre ComputerALL-H3-CC H5snapshotSD card, Sunxi installation, see git-commitView/Edit dataMarvellDB-88F3720-DDR319.07.7SD card, see git-commitView/Edit dataMarvellMACCHIATObin Single ShotsnapshotSD card, see git-commitmarvell_macchiatobinView/Edit dataNXPLS1088ARDB18.06.4SD card, U-Boot TFTP recoverytest image on non default boot drivenxp_ls1088ardbView/Edit dataOlimexiMX233-OLinuXino-MAXI15.05SD card, see devicepageimx233-olinuxinoView/Edit dataOlimexiMX233-OLinuXino-MICRO15.05SD card, see devicepageimx233-olinuxinoView/Edit dataOlimexiMX233-OLinuXino-MINI-WiFi15.05SD card, see devicepageimx233-olinuxinoView/Edit dataOlimexiMX233-OLinuXino-MINI15.05SD card, see devicepageimx233-olinuxinoView/Edit dataOlimexiMX233-OLinuXino-NANO15.05SD card, see devicepageimx233-olinuxinoView/Edit dataPC EnginesAPU1C19.07.7SD card, see devicepageapuView/Edit dataPC EnginesAPU1C419.07.7SD card, see devicepageapuView/Edit dataPC EnginesAPU3C419.07.7SD card, see devicepageapu3View/Edit dataPC EnginesAPU3C219.07.7SD card, see devicepageapu3View/Edit dataPC EnginesAPU3A219.07.7SD card, see devicepageapu3View/Edit dataPC EnginesAPU2C419.07.7SD card, see devicepageapu2View/Edit dataPC EnginesAPU2C219.07.7SD card, see devicepageapu2View/Edit dataPC EnginesAPU2C019.07.7SD card, see devicepageapu2View/Edit dataPC EnginesAPU1D19.07.7SD card, see devicepageapuView/Edit dataPine64RockPro642.1snapshotSD cardpine64_rockpro64_v2.1View/Edit data Next page 1) You want to specify the device and not the partition, meaning, you have to use /dev/sdX and not /dev/sdX1 2) If you are already using a loop device, you may have to use another number that loop0 This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.OKMore information about cookies Last modified: 2021/02/15 20:07by phoebe