Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
| toh:globalscale:mochabin [2023/03/06 18:11] – [OEM installation using the TFTP method] danitool | toh:globalscale:mochabin [2023/05/22 20:12] – [Hardware Highlights] 1Gbit ports danitool | ||
|---|---|---|---|
| Line 15: | Line 15: | ||
| ===== Hardware Highlights ===== | ===== Hardware Highlights ===== | ||
| ---- datatable ---- | ---- datatable ---- | ||
| - | cols : Model, Versions, CPU, CPU MHz, CPU Cores_numcores_, | + | cols : Model, Versions, CPU, CPU MHz, CPU Cores_numcores_, |
| - | header | + | header |
| align : c, | align : c, | ||
| filter | filter | ||
| Line 118: | Line 118: | ||
| </ | </ | ||
| + | |||
| + | ===== Expanding the eMMC partition ==== | ||
| + | |||
| + | Check your partitions, especially for partition /dev/loop0 having filesystem type f2fs: | ||
| + | |||
| + | < | ||
| + | root@OpenWrt: | ||
| + | Filesystem | ||
| + | / | ||
| + | tmpfs tmpfs | ||
| + | / | ||
| + | overlayfs:/ | ||
| + | tmpfs tmpfs | ||
| + | </ | ||
| + | |||
| + | Install the following packages: | ||
| + | < | ||
| + | opkg update | ||
| + | opkg install losetup e2fsprogs resize2fs block-mount kmod-fs-f2fs f2fs-tools cfdisk kmod-fs-ext4 parted rsync | ||
| + | </ | ||
| + | |||
| + | Confirm, that the device /dev/loop0 is located on the 2nd partition of mmcblk0 by checking the back file column: | ||
| + | < | ||
| + | root@OpenWrt: | ||
| + | NAME | ||
| + | / | ||
| + | </ | ||
| + | |||
| + | Resize the partition mmcblk0p2 by using cfdsik: | ||
| + | < | ||
| + | root@OpenWrt: | ||
| + | </ | ||
| + | |||
| + | Steps for resizing: | ||
| + | - Chose the 2nd partition, | ||
| + | - Move the cursor to resize, | ||
| + | - Enter the final size you want, default is 14.7GB. | ||
| + | - Confirm the change by the menu entry " | ||
| + | |||
| + | Set variables, that are used later: | ||
| + | < | ||
| + | LOOP=" | ||
| + | ROOT=" | ||
| + | OFFS=" | ||
| + | </ | ||
| + | |||
| + | Check the variables withe echo command: | ||
| + | < | ||
| + | root@OpenWrt: | ||
| + | 3604480 /dev/loop0 / | ||
| + | </ | ||
| + | |||
| + | The loop device setup: | ||
| + | < | ||
| + | LOOP=" | ||
| + | losetup -o ${OFFS} ${LOOP} ${ROOT} | ||
| + | </ | ||
| + | |||
| + | Finalize the partition resize: | ||
| + | < | ||
| + | fsck.f2fs -f ${LOOP} | ||
| + | mount ${LOOP} /mnt | ||
| + | umount ${LOOP} | ||
| + | resize.f2fs ${LOOP} | ||
| + | reboot | ||
| + | </ | ||
| + | |||
| + | After reboot, you can confirm the full partition size on SSH and LuCi: | ||
| + | < | ||
| + | root@OpenWrt: | ||
| + | Filesystem | ||
| + | / | ||
| + | tmpfs tmpfs | ||
| + | / | ||
| + | overlayfs:/ | ||
| + | tmpfs tmpfs | ||
| + | </ | ||
| ===== Debricking ===== | ===== Debricking ===== | ||
| Line 209: | Line 286: | ||
| How to connect to the Serial Port of this specific device:\\ | How to connect to the Serial Port of this specific device:\\ | ||
| - | The serial port is at the micro USB port | + | * Connect |
| - | ^ Serial connection parameters\\ for Globalscale MOCHAbin | + | ^ Serial connection parameters\\ for Globalscale MOCHAbin | 115200, 8N1 | |
| ==== JTAG ==== | ==== JTAG ==== | ||
| -> [[docs: | -> [[docs: | ||
| - | How to connect to the JTAG Port of this specific device:\\ | + | JTAG schematic:\\ |
| - | **Insert photo of PCB with markings for JTAG port** | + | {{: |
| ===== Bootloader mods ===== | ===== Bootloader mods ===== | ||