1. はじめに
日本国内で販売されているルーターの多くは、大破さんによってOpenWrtへの移植とサポートが行われています。
大破さんのブログの中でCheck Point V-80にOpenWrtを導入する方法が紹介されていました。
Check Point V-80(以下、V-80)にOpenWrtが導入できることを知り、ヤ〇オクにて1500円程度でリースアップ品を購入しました。
ここでは、自分の備忘録も兼ねて、
- V-80へのOpenWrt導入方法
- microSDを利用したrootfs領域の拡張方法
についてまとめます。
素人がまとめた記事になります。自己責任でお願いします。
2. 購入したV-80
V-80はVersionによる内部構造の違いがあるため、Version:1.0とVersion:1.0.1の2つのV-80をヤ〇オク購入しました。大破さんのブログ記事に記載があるように、主な違いは、microSD カードスロット と Mini PCIe スロット の有無です。Versionは本体の裏に記載されています。
この記事ではmicroSDを利用したrootfs領域の拡張方法を紹介するため、microSDスロットがあるVersion:1.0を使用しています。
Version | microSD スロット | Mini PCIe スロット |
---|---|---|
1.0 | あり | あり |
1.0.1 | なし | なし |
1.0.2 | ? | ? |
1.0.3 | あり? | あり? |
- Version:1.0.2とVersion:1.0.3の内部写真と情報求む!
-
Version:1.0.2は存在するかも不明。ヤ〇オクにてVersion:1.0.2の存在を確認しました。
Version:1.0
microSDスロットとMini PCIeスロットがあります。(microSDスロットにmicroSDを入れた状態です。)
Version:1.0.1
microSDスロットとMini PCIeスロットがありません。
パターンがあること、基盤のRevが同じこと(Rev:1.0.3)からスロットをはんだ付けすれば使えるかもしれません。
3. OpenWrtの導入
基本的には大破さんのブログ記事のとおりですが、補足しながらOpenWrtの導入方法をまとめます。なお、microSDを利用したrootfs領域の拡張方法を紹介するため、OpenWrtはeMMCへ導入します。
V-81のOpenWrt導入方法を参考にmicroSDへ直接OpenWrtを入れることもできますが、rootfs領域の拡張方法がわかりませんでした。(無念。わかる方いれば教えてください。)
準備
OpenWrt関係
OpenWrt Downloadsのサイトから以下の最新のものをダウンロードしてください。
※ snapshots版になります。正式リリースされたら記事を更新予定です。
- checkpoint_v-80-initramfs-kernel.bin
- checkpoint_v-80-initramfs.dtb
- checkpoint_v-80-initramfs.scr
- checkpoint_v-80-squashfs-sysupgrade.gz
ダウンロードした3つのファイル(.bin, .dtb, .scr)を以下の通りにリネームし、その辺に転がっているFAT32
でフォーマットしたUSBストレージのルート階層へコピーします。checkpoint_v-80-squashfs-sysupgrade.gz
は後で使用します。
ファイル名 | リネーム後ファイル名 |
---|---|
checkpoint_v-80-initramfs-kernel.bin | Image |
checkpoint_v-80-initramfs.dtb | armada-7040-v-80.dtb |
checkpoint_v-80-initramfs.scr | boot.scr |
CP2102Nのドライバー
V-80のコンソールはType-Cケーブルで接続できます。USB-シリアル変換ボードにはCP2102Nが使用されています。ドライバーはこのサイトからダウンロードしました。
- CP210x Windows Driversをダウンロードする。
- zipを展開し
slabvcp.inf
を右クリック、インストール
を選択する。
電源
V-80の電源には特殊なコネクタのACアダプタが必要ですが、その辺に転がっている12V 5.5 x 2.1mmのACアダプタでも問題なく起動しました。私は12V 5.5 x 2.1mmのType-Cのトリガーケーブルを使用しました。
純正以外のACアダプタの使用は自己責任でお願いします。
シリアル接続
-
V-80のコンソールポート(Type-Cポート)とPCを接続し、Tera Termを起動し、
シリアル
で該当するCOMポートを選択する。 -
Tera Termの
設定
→シリアルポート
のスピード
を115200
に設定し、現在の接続を再設定
をクリックする。
環境変数の変更
-
V-80の電源を入れ、ログイン画面まで待機し、
admin
/admin
でログインする。- USBストレージはまだ接続しない。
- ログインできない場合は、前の設定情報が残っている可能性があるため、本体に後ろ(電源の横)にある「FACTORY DEFAULT」ボタンを長押しし、初期化後にログインする。
-
expert
コマンドを入力し、適当にパスワードを設定する。- パスワードはOpenWrtの導入に関係ないので何でもよい。
-
以下のコマンドを1行ずつ実行し、U-Boot環境変数にOpenWrtの導入に必要なものを追加する。
fw_setenv bootcmd_ow_usb 'usb start; load usb 0:1 ${loadaddr} boot.scr && source ${loadaddr}' fw_setenv bootcmd_ow_emmc 'run set_mmc_internal; mmc read ${loadaddr} ${prim_header_mmc_blk} 4 && source ${loadaddr}' fw_setenv bootcmd 'run bootcmd_ow_usb; run bootcmd_ow_emmc; run bootcmd_part${activePartition};'
-
電源ボタンで電源を切る。
OpenWrtの導入
-
3つファイル(.bin, .dtb, .scr)をリネーム、コピーしたUSBストレージを接続し、電源を入れる。
起動ログ
BootROM - 2.03 Starting CP-0 IOROM 1.07 Booting from eMMC 0 (0x2B) Found valid image at boot postion 0x000 lNOTICE: Starting binary extension NOTICE: SVC: DEV ID: 7040, FREQ Mode: 0x1a NOTICE: SVC: AVS work point changed from 0x22 to 0x1f mv_ddr: mv_ddr-release-19.06.3-g??? (Nov 25 2019 - 04:24:03 PM) mv_ddr: completed successfully NOTICE: Cold boot NOTICE: Booting Trusted Firmware NOTICE: BL1: v1.5(debug): (Marvell-release-19.06.3) NOTICE: BL1: Built : 16:24:12, Nov 25 2019 NOTICE: BL1: Booting BL2 NOTICE: BL2: v1.5(debug): (Marvell-release-19.06.3) NOTICE: BL2: Built : 16:24:17, Nov 25 2019 BL2: Initiating SCP_BL2 transfer to SCP NOTICE: SCP_BL2 contains 5 concatenated images NOTICE: Skipping MSS CP3 related image NOTICE: Skipping MSS CP2 related image NOTICE: Skipping MSS CP1 related image NOTICE: Load image to CP0 MSS AP0 NOTICE: Loading MSS image from addr. 0x40286cc Size 0x1cd8 to MSS at 0xf2280000 NOTICE: Done NOTICE: Load image to AP0 MSS NOTICE: Loading MSS image from addr. 0x402a3a4 Size 0x5420 to MSS at 0xf0580000 NOTICE: Done NOTICE: BL1: Booting BL31 lNOTICE: BL31: v1.5(debug): (Marvell-release-19.06.3) NOTICE: BL31: Built : 16:24:25, Nov 25 2019 U-Boot 2018.03-release-19.06.3 (Nov 25 2019 - 16:23:24 +0200) Model: Marvell Armada 7040 Sunspear V0 Software 0.0.6 SoC: Armada7040-A2; AP806-A1; CP110-A2 Clock: CPU 1400 [MHz] DDR 800 [MHz] FABRIC 800 [MHz] MSS 200 [MHz] LLC Enabled (Exclusive Mode) DRAM: 2 GiB === V0 board_init (Check Point version: 992000112) === Comphy chip #0: Comphy-0: SGMII1 1.25 Gbps Comphy-1: USB3_HOST0 Comphy-2: SGMII0 1.25 Gbps Comphy-3: UNCONNECTED Comphy-4: UNCONNECTED Comphy-5: PEX2 UTMI PHY 0 initialized to USB Host0 PCIE-0: Link down MMC: sdhci@6e0000: 0, sdhci@780000: 1 Loading Environment from MMC... OK Model: Marvell Armada 7040 Sunspear V0 Software 0.0.6 Net: eth0: mvpp2-0, eth1: mvpp2-1 [PRIME] config_88E1512_init++ m88e151x_config_leds(mvpp2-1) cp_set_board_vars started switch to partitions #0, OK mmc1(part 0) is current device MMC read: dev # 1, block # 4096, count 512 ... 512 blocks read: OK blob magic: a5a51234 blob crc: ffc1ac00 Verifying CRC for settings area... Done cp_set_board_vars: dsl_annex is env_set to nothing Saving Environment to MMC... Writing to MMC(1)... OK ************ Hit 'Ctrl + C' for boot menu ************ 0 USB0: Register 2000120 NbrPorts 2 Starting the controller USB XHCI 1.00 scanning bus 0 for devices... 2 USB Device(s) found scanning usb for storage devices... 1 Storage Device(s) found Trying to load file "u-boot*v0.bin" from USB flash drive using FAT FS ** Unable to read file u-boot*v0.bin ** Trying to load file "fw1*.img" from USB flash drive using FAT FS ** Unable to read file fw1*.img ** Trying to load file "*.cfg" from USB flash drive using FAT FS ** Unable to read file *.cfg ** starting USB... USB0: Register 2000120 NbrPorts 2 Starting the controller USB XHCI 1.00 scanning bus 0 for devices... 2 USB Device(s) found scanning usb for storage devices... 1 Storage Device(s) found 1309 bytes read in 20 ms (63.5 KiB/s) ## Executing script at 06000000 24892 bytes read in 27 ms (899.4 KiB/s) 27963400 bytes read in 1835 ms (14.5 MiB/s) ## Flattened Device Tree blob at 06f00000 Booting using the fdt blob at 0x6f00000 Using Device Tree in place at 0000000006f00000, end 0000000006f0913b Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd081] [ 0.000000] Linux version 6.6.100 (builder@buildhost) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 14.3.0 r30657-f0746741f8) 14.3.0, GNU ld (GNU Binutils) 2.42) #0 SMP Sat Aug 2 23:08:50 2025 [ 0.000000] Machine model: Check Point V-80 [ 0.000000] earlycon: uart8250 at MMIO32 0x00000000f0512000 (options '') [ 0.000000] printk: bootconsole [uart8250] enabled [ 0.000000] OF: reserved mem: 0x0000000004000000..0x00000000041fffff (2048 KiB) nomap non-reusable psci-area@4000000 [ 0.000000] OF: reserved mem: 0x0000000004400000..0x00000000053fffff (16384 KiB) nomap non-reusable tee@4400000 [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x0000000000000000-0x000000007fffffff] [ 0.000000] DMA32 empty [ 0.000000] Normal empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000000000-0x0000000003ffffff] [ 0.000000] node 0: [mem 0x0000000004000000-0x00000000041fffff] [ 0.000000] node 0: [mem 0x0000000004200000-0x00000000043fffff] [ 0.000000] node 0: [mem 0x0000000004400000-0x00000000053fffff] [ 0.000000] node 0: [mem 0x0000000005400000-0x000000007fffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000007fffffff] [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv1.1 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] psci: Trusted OS resident on physical CPU 0x0 [ 0.000000] psci: SMC Calling Convention v1.1 [ 0.000000] percpu: Embedded 17 pages/cpu s31656 r8192 d29784 u69632 [ 0.000000] Detected PIPT I-cache on CPU0 [ 0.000000] CPU features: detected: Spectre-v2 [ 0.000000] CPU features: detected: Spectre-BHB [ 0.000000] alternatives: applying boot alternatives [ 0.000000] Kernel command line: console=ttyS0,115200 earlycon=uart8250,mmio32,0xf0512000 crashkernel=30M mvpp2x.queue_mode=1 blkdevparts=mmcblk1:48M@10M(kernel-1),1M(dtb-1),720M(rootfs-1),48M(kernel-2),1M(dtb-2),720M(rootfs-2),300M(default_sw),650M(logs),1M(preset_cfg),1M(adsl),-(storage) maxcpus=4 [ 0.000000] Unknown kernel command line parameters "crashkernel=30M", will be passed to user space. [ 0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear) [ 0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear) [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 516096 [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] software IO TLB: SWIOTLB bounce buffer size adjusted to 2MB [ 0.000000] software IO TLB: area num 4. [ 0.000000] software IO TLB: mapped [mem 0x000000007da00000-0x000000007dc00000] (2MB) [ 0.000000] Memory: 2012664K/2097152K available (9216K kernel code, 940K rwdata, 2532K rodata, 14464K init, 300K bss, 84488K reserved, 0K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] rcu: Hierarchical RCU implementation. [ 0.000000] Tracing variant of Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 [ 0.000000] GIC: Adjusting CPU interface base to 0x00000000f022f000 [ 0.000000] Root IRQ handler: gic_handle_irq [ 0.000000] GIC: Using split EOI/Deactivate mode [ 0.000000] GICv2m: DT overriding V2M MSI_TYPER (base:160, num:32) [ 0.000000] GICv2m: range[mem 0xf0280000-0xf0280fff], SPI[160:191] [ 0.000000] GICv2m: DT overriding V2M MSI_TYPER (base:192, num:32) [ 0.000000] GICv2m: range[mem 0xf0290000-0xf0290fff], SPI[192:223] [ 0.000000] GICv2m: DT overriding V2M MSI_TYPER (base:224, num:32) [ 0.000000] GICv2m: range[mem 0xf02a0000-0xf02a0fff], SPI[224:255] [ 0.000000] GICv2m: DT overriding V2M MSI_TYPER (base:256, num:32) [ 0.000000] GICv2m: range[mem 0xf02b0000-0xf02b0fff], SPI[256:287] [ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention. [ 0.000000] arch_timer: cp15 timer(s) running at 25.00MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x5c40939b5, max_idle_ns: 440795202646 ns [ 0.000000] sched_clock: 56 bits at 25MHz, resolution 40ns, wraps every 4398046511100ns [ 0.008209] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=250000) [ 0.018703] pid_max: default: 32768 minimum: 301 [ 0.025616] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.033150] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.043090] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=4. [ 0.052549] rcu: Hierarchical SRCU implementation. [ 0.057428] rcu: Max phase no-delay instances is 1000. [ 0.063045] smp: Bringing up secondary CPUs ... [ 0.068027] Detected PIPT I-cache on CPU1 [ 0.068087] CPU1: Booted secondary processor 0x0000000001 [0x410fd081] [ 0.068501] Detected PIPT I-cache on CPU2 [ 0.068552] CPU2: Booted secondary processor 0x0000000100 [0x410fd081] [ 0.068961] Detected PIPT I-cache on CPU3 [ 0.068997] CPU3: Booted secondary processor 0x0000000101 [0x410fd081] [ 0.069042] smp: Brought up 1 node, 4 CPUs [ 0.105345] SMP: Total of 4 processors activated. [ 0.110171] CPU features: detected: 32-bit EL0 Support [ 0.115401] CPU features: detected: CRC32 instructions [ 0.120698] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching [ 0.129182] CPU: All CPU(s) started at EL2 [ 0.133345] alternatives: applying system-wide alternatives [ 0.142610] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.152599] futex hash table entries: 1024 (order: 4, 65536 bytes, linear) [ 0.160478] pinctrl core: initialized pinctrl subsystem [ 0.166650] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 0.172930] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations [ 0.180170] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations [ 0.188093] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations [ 0.196359] thermal_sys: Registered thermal governor 'step_wise' [ 0.196388] cpuidle: using governor ladder [ 0.206678] ASID allocator initialised with 65536 entries [ 0.213173] /ap806: Fixed dependency cycle(s) with /ap806/config-space@f0000000/interrupt-controller@210000 [ 0.223028] /ap806/config-space@f0000000/interrupt-controller@210000: Fixed dependency cycle(s) with /ap806/config-space@f0000000/interrupt-controller@210000 [ 0.237430] /ap806/config-space@f0000000/interrupt-controller@210000: Fixed dependency cycle(s) with /ap806/config-space@f0000000/interrupt-controller@210000 [ 0.253909] /cp0: Fixed dependency cycle(s) with /cp0/config-space@f2000000/interrupt-controller@1e0000/interrupt-controller@10 [ 0.266637] /cp0/config-space@f2000000/system-controller@440000/pinctrl: Fixed dependency cycle(s) with /cp0/config-space@f2000000/system-controller@440000/pinctrl/board-id-pins [ 0.284067] Modules: 25856 pages in range for non-PLT usage [ 0.284071] Modules: 517376 pages in range for PLT usage [ 0.290346] cryptd: max_cpu_qlen set to 1000 [ 0.301018] SCSI subsystem initialized [ 0.305041] usbcore: registered new interface driver usbfs [ 0.310623] usbcore: registered new interface driver hub [ 0.316067] usbcore: registered new device driver usb [ 0.321891] clocksource: Switched to clocksource arch_sys_counter [ 0.329857] NET: Registered PF_INET protocol family [ 0.334973] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear) [ 0.344239] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear) [ 0.352916] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 0.360764] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear) [ 0.368892] TCP bind hash table entries: 16384 (order: 7, 524288 bytes, linear) [ 0.376583] TCP: Hash tables configured (established 16384 bind 16384) [ 0.383485] MPTCP token hash table entries: 2048 (order: 3, 49152 bytes, linear) [ 0.391064] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear) [ 0.397908] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear) [ 0.405315] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 0.411110] PCI: CLS 0 bytes, default 64 [ 0.442683] workingset: timestamp_bits=46 max_order=19 bucket_order=0 [ 0.453233] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.459145] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.471989] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250) [ 0.480525] /cp0: Fixed dependency cycle(s) with /cp0/config-space@f2000000/interrupt-controller@1e0000/interrupt-controller@10 [ 0.494013] mvebu-cp110-utmi-phy f2580000.utmi: Missing dual role setting of the port0, will use HOST mode [ 0.503970] mvebu-cp110-utmi-phy f2580000.utmi: Missing dual role setting of the port1, will use HOST mode [ 0.514050] armada-ap806-pinctrl f06f4000.system-controller:pinctrl: registered pinctrl driver [ 0.523329] armada-cp110-pinctrl f2440000.system-controller:pinctrl: registered pinctrl driver [ 0.532637] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 0.541968] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 0.551290] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 0.562191] mv_xor_v2 f0400000.xor: Marvell Version 2 XOR driver [ 0.568836] mv_xor_v2 f0420000.xor: Marvell Version 2 XOR driver [ 0.575330] mv_xor_v2 f0440000.xor: Marvell Version 2 XOR driver [ 0.581784] mv_xor_v2 f0460000.xor: Marvell Version 2 XOR driver [ 0.588367] mv_xor_v2 f26a0000.xor: Marvell Version 2 XOR driver [ 0.594916] mv_xor_v2 f26c0000.xor: Marvell Version 2 XOR driver [ 0.601183] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled [ 0.609328] printk: console [ttyS0] disabled [ 0.634184] f0512000.serial: ttyS0 at MMIO 0xf0512000 (irq = 30, base_baud = 12500000) is a 16550A [ 0.643310] printk: console [ttyS0] enabled [ 0.643310] printk: console [ttyS0] enabled [ 0.651768] printk: bootconsole [uart8250] disabled [ 0.651768] printk: bootconsole [uart8250] disabled [ 0.662496] omap_rng f2760000.trng: Random Number Generator ver. 203b34c [ 0.662758] random: crng init done [ 0.675077] loop: module loaded [ 0.685628] hwmon hwmon0: temp1_input not attached to any thermal zone [ 0.754262] mvpp2 f2000000.ethernet: using 8 per-cpu buffers [ 0.769023] usbcore: registered new interface driver usb-storage [ 0.775312] armada38x-rtc f2284000.rtc: registered as rtc0 [ 0.780831] armada38x-rtc f2284000.rtc: setting system clock to 2025-08-03T23:05:15 UTC (1754262315) [ 0.790157] i2c_dev: i2c /dev entries driver [ 0.795058] at24 0-0054: supply vcc not found, using dummy regulator [ 0.804164] sbsa-gwdt f0610000.watchdog: Initialized with 10s timeout @ 25000000 Hz, action=0. [ 0.813595] sdhci: Secure Digital Host Controller Interface driver [ 0.819802] sdhci: Copyright(c) Pierre Ossman [ 0.824439] sdhci-pltfm: SDHCI platform and OF driver helper [ 0.833142] NET: Registered PF_INET6 protocol family [ 0.839464] Segment Routing with IPv6 [ 0.843264] In-situ OAM (IOAM) with IPv6 [ 0.847332] NET: Registered PF_PACKET protocol family [ 0.852496] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. [ 0.861923] mmc1: SDHCI controller on f2780000.mmc [f2780000.mmc] using ADMA 64-bit [ 0.865716] 8021q: 802.1Q VLAN Support v1.8 [ 0.891390] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 0.900601] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 0.909888] gpio gpiochip2: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 0.919296] armada8k-pcie f2640000.pcie: host bridge /cp0/pcie@f2640000 ranges: [ 0.926675] armada8k-pcie f2640000.pcie: MEM 0x00f8000000..0x00f8efffff -> 0x00f8000000 [ 0.935213] armada8k-pcie f2640000.pcie: iATU: unroll F, 8 ob, 8 ib, align 64K, limit 4G [ 1.031150] mmc1: new HS200 MMC card at address 0001 [ 1.037257] mmcblk1: mmc1:0001 004GA0 3.69 GiB [ 1.042175] mmcblk1: p1(kernel-1) p2(dtb-1) p3(rootfs-1) p4(kernel-2) p5(dtb-2) p6(rootfs-2) p7(default_sw) p8(logs) p9(preset_cfg) p10(adsl) p11(storage) [ 1.057159] mmcblk1boot0: mmc1:0001 004GA0 2.00 MiB [ 1.062523] mmcblk1boot1: mmc1:0001 004GA0 2.00 MiB [ 1.067600] mmcblk1rpmb: mmc1:0001 004GA0 512 KiB, chardev (247:0) [ 1.941914] armada8k-pcie f2640000.pcie: Phy link never came up [ 1.948207] armada8k-pcie f2640000.pcie: PCI host bridge to bus 0000:00 [ 1.954910] pci_bus 0000:00: root bus resource [bus 00-ff] [ 1.960442] pci_bus 0000:00: root bus resource [mem 0xf8000000-0xf8efffff] [ 1.967425] pci 0000:00:00.0: [11ab:0110] type 01 class 0x060400 [ 1.973515] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x000fffff] [ 1.979931] pci 0000:00:00.0: supports D1 D2 [ 1.984250] pci 0000:00:00.0: PME# supported from D0 D1 D3hot [ 1.993084] pci 0000:00:00.0: BAR 0: assigned [mem 0xf8000000-0xf80fffff] [ 1.999937] pci 0000:00:00.0: PCI bridge to [bus 01-ff] [ 2.620645] pcieport 0000:00:00.0: AER: enabled with IRQ 39 [ 2.697439] mvpp2 f2000000.ethernet: using 8 per-cpu buffers [ 2.727285] mvpp2 f2000000.ethernet eth0: Using firmware node mac address 00:1c:7f:97:6f:1d [ 2.741251] mvpp2 f2000000.ethernet eth1: Using firmware node mac address 00:1c:7f:97:6f:1c [ 2.794360] xhci-hcd f2500000.usb: xHCI Host Controller [ 2.799626] xhci-hcd f2500000.usb: new USB bus registered, assigned bus number 1 [ 2.807123] xhci-hcd f2500000.usb: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000000010 [ 2.816343] xhci-hcd f2500000.usb: irq 32, io mem 0xf2500000 [ 2.822117] xhci-hcd f2500000.usb: xHCI Host Controller [ 2.827369] xhci-hcd f2500000.usb: new USB bus registered, assigned bus number 2 [ 2.834809] xhci-hcd f2500000.usb: Host supports USB 3.0 SuperSpeed [ 2.841455] hub 1-0:1.0: USB hub found [ 2.845255] hub 1-0:1.0: 1 port detected [ 2.849410] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM. [ 2.857772] hub 2-0:1.0: USB hub found [ 2.861553] hub 2-0:1.0: 1 port detected [ 2.865884] at24 0-0054: supply vcc not found, using dummy regulator [ 2.872931] at24 0-0054: 512 byte 24c04 EEPROM, read-only [ 2.880215] xenon-sdhci f06e0000.mmc: Got CD GPIO [ 2.880374] clk: Disabling unused clocks [ 2.912173] mmc0: SDHCI controller on f06e0000.mmc [f06e0000.mmc] using ADMA 64-bit [ 2.926882] Freeing unused kernel memory: 14464K [ 2.931776] Run /init as init process [ 3.047508] mmc0: new high speed SDHC card at address 13ab [ 3.054219] mmcblk0: mmc0:13ab SE032 28.8 GiB [ 3.058786] init: Console is alive [ 3.062809] init: - watchdog - [ 3.069617] kmodloader: loading kernel modules from /etc/modules-boot.d/* [ 3.077531] pps_core: LinuxPPS API ver. 1 registered [ 3.082550] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 3.093035] PTP clock support registered [ 3.097399] gpio_button_hotplug: loading out-of-tree module taints kernel. [ 3.105760] mmcblk0: p1 [ 3.110403] mv88e6085 f212a200.mdio-mii:00: switch 0x3520 detected: Marvell 88E6352, revision 1 [ 3.186395] hwmon hwmon1: temp1_input not attached to any thermal zone [ 3.257666] hwmon hwmon2: temp1_input not attached to any thermal zone [ 3.327263] hwmon hwmon3: temp1_input not attached to any thermal zone [ 3.342190] usb 1-1: new high-speed USB device number 2 using xhci-hcd [ 3.400169] hwmon hwmon4: temp1_input not attached to any thermal zone [ 3.482931] hwmon hwmon5: temp1_input not attached to any thermal zone [ 3.529002] usb-storage 1-1:1.0: USB Mass Storage device detected [ 3.535858] scsi host0: usb-storage 1-1:1.0 [ 3.659998] mv88e6085 f212a200.mdio-mii:00: configuring for fixed/sgmii link mode [ 3.714405] mv88e6085 f212a200.mdio-mii:00: Link is Up - 1Gbps/Full - flow control off [ 3.798750] mv88e6085 f212a200.mdio-mii:00 lan5 (uninitialized): PHY [!cp0!config-space@f2000000!mdio@12a200!switch@0!mdio:00] driver [Marvell 88E1540] (irq=62) [ 3.817833] mvpp2 f2000000.ethernet: all ports have a low MTU, switching to per-cpu buffers [ 3.932263] mvpp2 f2000000.ethernet: using 8 per-cpu buffers [ 4.050829] mv88e6085 f212a200.mdio-mii:00 lan4 (uninitialized): PHY [!cp0!config-space@f2000000!mdio@12a200!switch@0!mdio:01] driver [Marvell 88E1540] (irq=63) [ 4.158795] mv88e6085 f212a200.mdio-mii:00 lan3 (uninitialized): PHY [!cp0!config-space@f2000000!mdio@12a200!switch@0!mdio:02] driver [Marvell 88E1540] (irq=64) [ 4.278722] mv88e6085 f212a200.mdio-mii:00 lan2 (uninitialized): PHY [!cp0!config-space@f2000000!mdio@12a200!switch@0!mdio:03] driver [Marvell 88E1540] (irq=65) [ 4.400817] mv88e6085 f212a200.mdio-mii:00 lan1 (uninitialized): PHY [!cp0!config-space@f2000000!mdio@12a200!switch@0!mdio:04] driver [Marvell 88E1540] (irq=66) [ 4.420643] DSA: tree 0 setup [ 4.424073] kmodloader: done loading kernel modules from /etc/modules-boot.d/* [ 4.437933] init: - preinit - [ 4.571872] scsi 0:0:0:0: Direct-Access DL11 PQ: 0 ANSI: 4 Cannot parse config file '/etc/fw_env.config': No such file or directory Failed to find NVMEM device [ 4.718747] mvpp2 f2000000.ethernet eth0: configuring for fixed/sgmii link mode [ 4.726787] mv88e6085 f212a200.mdio-mii:00 lan1: configuring for phy/gmii link mode [ 4.734854] mvpp2 f2000000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off Press the [f] key and hit [enter] to enter failsafe mode Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level [ 6.760864] sd 0:0:0:0: [sda] 15523840 512-byte logical blocks: (7.95 GB/7.40 GiB) [ 6.769250] sd 0:0:0:0: [sda] Write Protect is off [ 6.774333] sd 0:0:0:0: [sda] No Caching mode page found [ 6.779689] sd 0:0:0:0: [sda] Assuming drive cache: write through [ 6.792150] sda: sda1 [ 6.794645] sd 0:0:0:0: [sda] Attached SCSI removable disk [ 9.017637] procd: - early - [ 9.020630] procd: - watchdog - [ 9.562033] procd: - watchdog - [ 9.565685] procd: - ubus - [ 9.623842] procd: - init - Please press Enter to activate this console. [ 9.824335] kmodloader: loading kernel modules from /etc/modules.d/* [ 9.844365] rtc-ds1307 1-0068: registered as rtc1 [ 9.861752] PPP generic driver version 2.4.2 [ 9.866985] NET: Registered PF_PPPOX protocol family [ 9.873981] kmodloader: done loading kernel modules from /etc/modules.d/* [ 9.924540] urngd: v1.0.2 started. [ 14.246446] mvpp2 f2000000.ethernet eth0: Link is Down [ 14.268471] mvpp2 f2000000.ethernet eth0: configuring for fixed/sgmii link mode [ 14.276410] mvpp2 f2000000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off [ 14.383142] mv88e6085 f212a200.mdio-mii:00 lan1: configuring for phy/gmii link mode [ 14.396897] br-lan: port 1(lan1) entered blocking state [ 14.402215] br-lan: port 1(lan1) entered disabled state [ 14.407500] mv88e6085 f212a200.mdio-mii:00 lan1: entered allmulticast mode [ 14.414430] mvpp2 f2000000.ethernet eth0: entered allmulticast mode [ 14.477918] mv88e6085 f212a200.mdio-mii:00 lan1: entered promiscuous mode [ 14.484835] mvpp2 f2000000.ethernet eth0: entered promiscuous mode [ 14.648079] mv88e6085 f212a200.mdio-mii:00 lan2: configuring for phy/gmii link mode [ 14.659010] br-lan: port 2(lan2) entered blocking state [ 14.664307] br-lan: port 2(lan2) entered disabled state [ 14.669583] mv88e6085 f212a200.mdio-mii:00 lan2: entered allmulticast mode [ 14.690964] mv88e6085 f212a200.mdio-mii:00 lan2: entered promiscuous mode [ 14.849855] mv88e6085 f212a200.mdio-mii:00 lan3: configuring for phy/gmii link mode [ 14.860381] br-lan: port 3(lan3) entered blocking state [ 14.865664] br-lan: port 3(lan3) entered disabled state [ 14.870940] mv88e6085 f212a200.mdio-mii:00 lan3: entered allmulticast mode [ 14.892464] mv88e6085 f212a200.mdio-mii:00 lan3: entered promiscuous mode [ 15.056518] mv88e6085 f212a200.mdio-mii:00 lan4: configuring for phy/gmii link mode [ 15.066977] br-lan: port 4(lan4) entered blocking state [ 15.072256] br-lan: port 4(lan4) entered disabled state [ 15.077529] mv88e6085 f212a200.mdio-mii:00 lan4: entered allmulticast mode [ 15.121448] mv88e6085 f212a200.mdio-mii:00 lan4: entered promiscuous mode [ 15.250925] mv88e6085 f212a200.mdio-mii:00 lan5: configuring for phy/gmii link mode [ 15.261378] br-lan: port 5(lan5) entered blocking state [ 15.266660] br-lan: port 5(lan5) entered disabled state [ 15.271948] mv88e6085 f212a200.mdio-mii:00 lan5: entered allmulticast mode [ 15.302212] mv88e6085 f212a200.mdio-mii:00 lan5: entered promiscuous mode [ 15.392698] mvpp2 f2000000.ethernet eth1: PHY [f212a200.mdio-mii:01] driver [Marvell 88E1510] (irq=POLL) [ 15.404833] mvpp2 f2000000.ethernet eth1: configuring for phy/sgmii link mode BusyBox v1.37.0 (2025-08-02 23:08:50 UTC) built-in shell (ash) _______ ________ __ | |.-----.-----.-----.| | | |.----.| |_ | - || _ | -__| || | | || _|| _| |_______|| __|_____|__|__||________||__| |____| |__| W I R E L E S S F R E E D O M ----------------------------------------------------- OpenWrt SNAPSHOT, r30657-f0746741f8 ----------------------------------------------------- === WARNING! ===================================== There is no root password defined on this device! Use the "passwd" command to set up a new password in order to prevent unauthorized SSH logins. -------------------------------------------------- OpenWrt recently switched to the "apk" package manager! OPKG Command APK Equivalent Description ------------------------------------------------------------------ opkg install <pkg> apk add <pkg> Install a package opkg remove <pkg> apk del <pkg> Remove a package opkg upgrade apk upgrade Upgrade all packages opkg files <pkg> apk info -L <pkg> List package contents opkg list-installed apk info List installed packages opkg update apk update Update package lists opkg search <pkg> apk search <pkg> Search for packages ------------------------------------------------------------------ For more https://openwrt.org/docs/guide-user/additional-software/opkg-to-apk-cheatsheet root@OpenWrt:~#
-
enter
を押せばOpenWrtのロゴが表示される。
-
-
USBストレージを切断する。
unmount
は不要です。そのまま引っこ抜いてください。 -
V-80のLANポートとPCを接続し、「WinSCP」等で
checkpoint_v-80-squashfs-sysupgrade.gz
をV-80へアップロードし、sysupgrade
コマンドを実行する。root@OpenWrt:~# sysupgrade -n /tmp/openwrt-mvebu-cortexa72-checkpoint_v-80-squashfs-sysupgrade.gz
-
完了後再起動され、OpenWrtが起動してくれば成功。
sysupgrade後のログ
Sun Aug 3 23:21:51 GMT 2025 upgrade: Commencing upgrade. Closing all shell sessions. Watchdog handover: fd=3 - watchdog - Watchdog did not previously reset the system Sun Aug 3 23:21:52 GMT 2025 upgrade: Sending TERM to remaining processes ... Sun Aug 3 23:21:56 GMT 2025 upgrade: Sending KILL to remaining processes ... [ 1008.418779] stage2 (3080): drop_caches: 3 Sun Aug 3 23:22:02 GMT 2025 upgrade: Switching to ramdisk... Sun Aug 3 23:22:04 UTC 2025 upgrade: Performing system upgrade... 8+0 records in 8+0 records out 8+0 records in 8+0 records out Sun Aug 3 23:22:10 UTC 2025 upgrade: Upgrade completed Sun Aug 3 23:22:11 UTC 2025 upgrade: Rebooting system... umount: can't unmount /dev: Resource busy umount: can't unmount /tmp: Resource busy [ 1016.886795] reboot: Restarting system BootROM - 2.03 Starting CP-0 IOROM 1.07 Booting from eMMC 0 (0x2B) Found valid image at boot postion 0x000 lNOTICE: Starting binary extension NOTICE: SVC: DEV ID: 7040, FREQ Mode: 0x1a NOTICE: SVC: AVS work point changed from 0x22 to 0x1f mv_ddr: mv_ddr-release-19.06.3-g??? (Nov 25 2019 - 04:24:03 PM) mv_ddr: completed successfully NOTICE: Cold boot NOTICE: Booting Trusted Firmware NOTICE: BL1: v1.5(debug): (Marvell-release-19.06.3) NOTICE: BL1: Built : 16:24:12, Nov 25 2019 NOTICE: BL1: Booting BL2 NOTICE: BL2: v1.5(debug): (Marvell-release-19.06.3) NOTICE: BL2: Built : 16:24:17, Nov 25 2019 BL2: Initiating SCP_BL2 transfer to SCP NOTICE: SCP_BL2 contains 5 concatenated images NOTICE: Skipping MSS CP3 related image NOTICE: Skipping MSS CP2 related image NOTICE: Skipping MSS CP1 related image NOTICE: Load image to CP0 MSS AP0 NOTICE: Loading MSS image from addr. 0x40286cc Size 0x1cd8 to MSS at 0xf2280000 NOTICE: Done NOTICE: Load image to AP0 MSS NOTICE: Loading MSS image from addr. 0x402a3a4 Size 0x5420 to MSS at 0xf0580000 NOTICE: Done NOTICE: BL1: Booting BL31 lNOTICE: BL31: v1.5(debug): (Marvell-release-19.06.3) NOTICE: BL31: Built : 16:24:25, Nov 25 2019 U-Boot 2018.03-release-19.06.3 (Nov 25 2019 - 16:23:24 +0200) Model: Marvell Armada 7040 Sunspear V0 Software 0.0.6 SoC: Armada7040-A2; AP806-A1; CP110-A2 Clock: CPU 1400 [MHz] DDR 800 [MHz] FABRIC 800 [MHz] MSS 200 [MHz] LLC Enabled (Exclusive Mode) DRAM: 2 GiB === V0 board_init (Check Point version: 992000112) === Comphy chip #0: Comphy-0: SGMII1 1.25 Gbps Comphy-1: USB3_HOST0 Comphy-2: SGMII0 1.25 Gbps Comphy-3: UNCONNECTED Comphy-4: UNCONNECTED Comphy-5: PEX2 UTMI PHY 0 initialized to USB Host0 PCIE-0: Link down MMC: sdhci@6e0000: 0, sdhci@780000: 1 Loading Environment from MMC... OK Model: Marvell Armada 7040 Sunspear V0 Software 0.0.6 Net: eth0: mvpp2-0, eth1: mvpp2-1 [PRIME] config_88E1512_init++ m88e151x_config_leds(mvpp2-1) cp_set_board_vars started switch to partitions #0, OK mmc1(part 0) is current device MMC read: dev # 1, block # 4096, count 512 ... 512 blocks read: OK blob magic: a5a51234 blob crc: ffc1ac00 Verifying CRC for settings area... Done cp_set_board_vars: dsl_annex is env_set to nothing Saving Environment to MMC... Writing to MMC(1)... OK ************ Hit 'Ctrl + C' for boot menu ************ 0 USB0: Register 2000120 NbrPorts 2 Starting the controller USB XHCI 1.00 scanning bus 0 for devices... 1 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found USB storage device not found .. starting USB... USB0: Register 2000120 NbrPorts 2 Starting the controller USB XHCI 1.00 scanning bus 0 for devices... 1 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found ** Bad device usb 0 ** switch to partitions #0, OK mmc1(part 0) is current device MMC read: dev # 1, block # 20480, count 4 ... 4 blocks read: OK ## Executing script at 06000000 MMC read: dev # 1, block # 118784, count 2048 ... 2048 blocks read: OK MMC read: dev # 1, block # 20484, count 98304 ... 98304 blocks read: OK ## Flattened Device Tree blob at 06f00000 Booting using the fdt blob at 0x6f00000 Using Device Tree in place at 0000000006f00000, end 0000000006f0913b Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd081] [ 0.000000] Linux version 6.6.100 (builder@buildhost) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 14.3.0 r30657-f0746741f8) 14.3.0, GNU ld (GNU Binutils) 2.42) #0 SMP Sat Aug 2 23:08:50 2025 [ 0.000000] Machine model: Check Point V-80 [ 0.000000] earlycon: uart8250 at MMIO32 0x00000000f0512000 (options '') [ 0.000000] printk: bootconsole [uart8250] enabled [ 0.000000] OF: reserved mem: 0x0000000004000000..0x00000000041fffff (2048 KiB) nomap non-reusable psci-area@4000000 [ 0.000000] OF: reserved mem: 0x0000000004400000..0x00000000053fffff (16384 KiB) nomap non-reusable tee@4400000 [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x0000000000000000-0x000000007fffffff] [ 0.000000] DMA32 empty [ 0.000000] Normal empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000000000-0x0000000003ffffff] [ 0.000000] node 0: [mem 0x0000000004000000-0x00000000041fffff] [ 0.000000] node 0: [mem 0x0000000004200000-0x00000000043fffff] [ 0.000000] node 0: [mem 0x0000000004400000-0x00000000053fffff] [ 0.000000] node 0: [mem 0x0000000005400000-0x000000007fffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000007fffffff] [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv1.1 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] psci: Trusted OS resident on physical CPU 0x0 [ 0.000000] psci: SMC Calling Convention v1.1 [ 0.000000] percpu: Embedded 17 pages/cpu s31656 r8192 d29784 u69632 [ 0.000000] Detected PIPT I-cache on CPU0 [ 0.000000] CPU features: detected: Spectre-v2 [ 0.000000] CPU features: detected: Spectre-BHB [ 0.000000] alternatives: applying boot alternatives [ 0.000000] Kernel command line: console=ttyS0,115200 earlycon=uart8250,mmio32,0xf0512000 crashkernel=30M mvpp2x.queue_mode=1 blkdevparts=mmcblk1:48M@10M(kernel-1),1M(dtb-1),720M(rootfs-1),48M(kernel-2),1M(dtb-2),720M(rootfs-2),300M(default_sw),650M(logs),1M(preset_cfg),1M(adsl),-(storage) maxcpus=4 root=/dev/mmcblk1p3 rw rootwait [ 0.000000] Unknown kernel command line parameters "crashkernel=30M", will be passed to user space. [ 0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear) [ 0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear) [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 516096 [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] software IO TLB: SWIOTLB bounce buffer size adjusted to 2MB [ 0.000000] software IO TLB: area num 4. [ 0.000000] software IO TLB: mapped [mem 0x000000007da00000-0x000000007dc00000] (2MB) [ 0.000000] Memory: 2026684K/2097152K available (9216K kernel code, 940K rwdata, 2532K rodata, 448K init, 300K bss, 70468K reserved, 0K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] rcu: Hierarchical RCU implementation. [ 0.000000] Tracing variant of Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 [ 0.000000] GIC: Adjusting CPU interface base to 0x00000000f022f000 [ 0.000000] Root IRQ handler: gic_handle_irq [ 0.000000] GIC: Using split EOI/Deactivate mode [ 0.000000] GICv2m: DT overriding V2M MSI_TYPER (base:160, num:32) [ 0.000000] GICv2m: range[mem 0xf0280000-0xf0280fff], SPI[160:191] [ 0.000000] GICv2m: DT overriding V2M MSI_TYPER (base:192, num:32) [ 0.000000] GICv2m: range[mem 0xf0290000-0xf0290fff], SPI[192:223] [ 0.000000] GICv2m: DT overriding V2M MSI_TYPER (base:224, num:32) [ 0.000000] GICv2m: range[mem 0xf02a0000-0xf02a0fff], SPI[224:255] [ 0.000000] GICv2m: DT overriding V2M MSI_TYPER (base:256, num:32) [ 0.000000] GICv2m: range[mem 0xf02b0000-0xf02b0fff], SPI[256:287] [ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention. [ 0.000000] arch_timer: cp15 timer(s) running at 25.00MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x5c40939b5, max_idle_ns: 440795202646 ns [ 0.000000] sched_clock: 56 bits at 25MHz, resolution 40ns, wraps every 4398046511100ns [ 0.008217] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=250000) [ 0.018737] pid_max: default: 32768 minimum: 301 [ 0.025647] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.033181] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.043110] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=4. [ 0.052595] rcu: Hierarchical SRCU implementation. [ 0.057448] rcu: Max phase no-delay instances is 1000. [ 0.063051] smp: Bringing up secondary CPUs ... [ 0.068059] Detected PIPT I-cache on CPU1 [ 0.068114] CPU1: Booted secondary processor 0x0000000001 [0x410fd081] [ 0.068527] Detected PIPT I-cache on CPU2 [ 0.068578] CPU2: Booted secondary processor 0x0000000100 [0x410fd081] [ 0.068989] Detected PIPT I-cache on CPU3 [ 0.069025] CPU3: Booted secondary processor 0x0000000101 [0x410fd081] [ 0.069070] smp: Brought up 1 node, 4 CPUs [ 0.105416] SMP: Total of 4 processors activated. [ 0.110190] CPU features: detected: 32-bit EL0 Support [ 0.115400] CPU features: detected: CRC32 instructions [ 0.120716] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching [ 0.129189] CPU: All CPU(s) started at EL2 [ 0.133372] alternatives: applying system-wide alternatives [ 0.142644] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.152618] futex hash table entries: 1024 (order: 4, 65536 bytes, linear) [ 0.160451] pinctrl core: initialized pinctrl subsystem [ 0.166670] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 0.172924] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations [ 0.180181] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations [ 0.188106] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations [ 0.196366] thermal_sys: Registered thermal governor 'step_wise' [ 0.196394] cpuidle: using governor ladder [ 0.206677] ASID allocator initialised with 65536 entries [ 0.213237] /ap806: Fixed dependency cycle(s) with /ap806/config-space@f0000000/interrupt-controller@210000 [ 0.223137] /ap806/config-space@f0000000/interrupt-controller@210000: Fixed dependency cycle(s) with /ap806/config-space@f0000000/interrupt-controller@210000 [ 0.237582] /ap806/config-space@f0000000/interrupt-controller@210000: Fixed dependency cycle(s) with /ap806/config-space@f0000000/interrupt-controller@210000 [ 0.254068] /cp0: Fixed dependency cycle(s) with /cp0/config-space@f2000000/interrupt-controller@1e0000/interrupt-controller@10 [ 0.266798] /cp0/config-space@f2000000/system-controller@440000/pinctrl: Fixed dependency cycle(s) with /cp0/config-space@f2000000/system-controller@440000/pinctrl/board-id-pins [ 0.284215] Modules: 29360 pages in range for non-PLT usage [ 0.284219] Modules: 520880 pages in range for PLT usage [ 0.290493] cryptd: max_cpu_qlen set to 1000 [ 0.301179] SCSI subsystem initialized [ 0.305154] usbcore: registered new interface driver usbfs [ 0.310720] usbcore: registered new interface driver hub [ 0.316138] usbcore: registered new device driver usb [ 0.321972] clocksource: Switched to clocksource arch_sys_counter [ 0.329972] NET: Registered PF_INET protocol family [ 0.335030] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear) [ 0.344301] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear) [ 0.352995] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 0.360861] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear) [ 0.368980] TCP bind hash table entries: 16384 (order: 7, 524288 bytes, linear) [ 0.376820] TCP: Hash tables configured (established 16384 bind 16384) [ 0.383774] MPTCP token hash table entries: 2048 (order: 3, 49152 bytes, linear) [ 0.391345] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear) [ 0.398197] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear) [ 0.405621] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 0.411434] PCI: CLS 0 bytes, default 64 [ 0.416546] workingset: timestamp_bits=46 max_order=19 bucket_order=0 [ 0.427060] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.432995] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.445715] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250) [ 0.454266] /cp0: Fixed dependency cycle(s) with /cp0/config-space@f2000000/interrupt-controller@1e0000/interrupt-controller@10 [ 0.467556] mvebu-cp110-utmi-phy f2580000.utmi: Missing dual role setting of the port0, will use HOST mode [ 0.477471] mvebu-cp110-utmi-phy f2580000.utmi: Missing dual role setting of the port1, will use HOST mode [ 0.487587] armada-ap806-pinctrl f06f4000.system-controller:pinctrl: registered pinctrl driver [ 0.496866] armada-cp110-pinctrl f2440000.system-controller:pinctrl: registered pinctrl driver [ 0.506218] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 0.515542] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 0.524869] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 0.535674] mv_xor_v2 f0400000.xor: Marvell Version 2 XOR driver [ 0.542195] mv_xor_v2 f0420000.xor: Marvell Version 2 XOR driver [ 0.548821] mv_xor_v2 f0440000.xor: Marvell Version 2 XOR driver [ 0.555330] mv_xor_v2 f0460000.xor: Marvell Version 2 XOR driver [ 0.561857] mv_xor_v2 f26a0000.xor: Marvell Version 2 XOR driver [ 0.568434] mv_xor_v2 f26c0000.xor: Marvell Version 2 XOR driver [ 0.574723] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled [ 0.583281] printk: console [ttyS0] disabled [ 0.607946] f0512000.serial: ttyS0 at MMIO 0xf0512000 (irq = 30, base_baud = 12500000) is a 16550A [ 0.617117] printk: console [ttyS0] enabled [ 0.617117] printk: console [ttyS0] enabled [ 0.625571] printk: bootconsole [uart8250] disabled [ 0.625571] printk: bootconsole [uart8250] disabled [ 0.636508] omap_rng f2760000.trng: Random Number Generator ver. 203b34c [ 0.636645] random: crng init done [ 0.649057] loop: module loaded [ 0.656379] hwmon hwmon0: temp1_input not attached to any thermal zone [ 0.725249] mvpp2 f2000000.ethernet: using 8 per-cpu buffers [ 0.740088] usbcore: registered new interface driver usb-storage [ 0.746378] armada38x-rtc f2284000.rtc: registered as rtc0 [ 0.751898] armada38x-rtc f2284000.rtc: setting system clock to 2025-08-03T23:22:34 UTC (1754263354) [ 0.761219] i2c_dev: i2c /dev entries driver [ 0.766117] at24 0-0054: supply vcc not found, using dummy regulator [ 0.775188] sbsa-gwdt f0610000.watchdog: Initialized with 10s timeout @ 25000000 Hz, action=0. [ 0.784666] sdhci: Secure Digital Host Controller Interface driver [ 0.790874] sdhci: Copyright(c) Pierre Ossman [ 0.795545] sdhci-pltfm: SDHCI platform and OF driver helper [ 0.805650] NET: Registered PF_INET6 protocol family [ 0.812063] Segment Routing with IPv6 [ 0.815802] In-situ OAM (IOAM) with IPv6 [ 0.819874] NET: Registered PF_PACKET protocol family [ 0.825059] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. [ 0.834635] mmc1: SDHCI controller on f2780000.mmc [f2780000.mmc] using ADMA 64-bit [ 0.845984] 8021q: 802.1Q VLAN Support v1.8 [ 0.866162] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 0.875573] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 0.885113] gpio gpiochip2: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 0.894844] armada8k-pcie f2640000.pcie: host bridge /cp0/pcie@f2640000 ranges: [ 0.902245] armada8k-pcie f2640000.pcie: MEM 0x00f8000000..0x00f8efffff -> 0x00f8000000 [ 0.910778] armada8k-pcie f2640000.pcie: iATU: unroll F, 8 ob, 8 ib, align 64K, limit 4G [ 0.971522] mmc1: new HS200 MMC card at address 0001 [ 0.977659] mmcblk1: mmc1:0001 004GA0 3.69 GiB [ 0.982837] mmcblk1: p1(kernel-1) p2(dtb-1) p3(rootfs-1) p4(kernel-2) p5(dtb-2) p6(rootfs-2) p7(default_sw) p8(logs) p9(preset_cfg) p10(adsl) p11(storage) [ 0.997341] mmcblk1boot0: mmc1:0001 004GA0 2.00 MiB [ 1.002840] mmcblk1boot1: mmc1:0001 004GA0 2.00 MiB [ 1.007924] mmcblk1rpmb: mmc1:0001 004GA0 512 KiB, chardev (247:0) [ 1.911995] armada8k-pcie f2640000.pcie: Phy link never came up [ 1.918292] armada8k-pcie f2640000.pcie: PCI host bridge to bus 0000:00 [ 1.924984] pci_bus 0000:00: root bus resource [bus 00-ff] [ 1.930517] pci_bus 0000:00: root bus resource [mem 0xf8000000-0xf8efffff] [ 1.937500] pci 0000:00:00.0: [11ab:0110] type 01 class 0x060400 [ 1.943592] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x000fffff] [ 1.950006] pci 0000:00:00.0: supports D1 D2 [ 1.954322] pci 0000:00:00.0: PME# supported from D0 D1 D3hot [ 1.963148] pci 0000:00:00.0: BAR 0: assigned [mem 0xf8000000-0xf80fffff] [ 1.969998] pci 0000:00:00.0: PCI bridge to [bus 01-ff] [ 2.590659] pcieport 0000:00:00.0: AER: enabled with IRQ 39 [ 2.672371] mvpp2 f2000000.ethernet: using 8 per-cpu buffers [ 2.706309] mvpp2 f2000000.ethernet eth0: Using firmware node mac address 00:1c:7f:97:6f:1d [ 2.720633] mvpp2 f2000000.ethernet eth1: Using firmware node mac address 00:1c:7f:97:6f:1c [ 2.776260] xhci-hcd f2500000.usb: xHCI Host Controller [ 2.781544] xhci-hcd f2500000.usb: new USB bus registered, assigned bus number 1 [ 2.789089] xhci-hcd f2500000.usb: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000000010 [ 2.798309] xhci-hcd f2500000.usb: irq 32, io mem 0xf2500000 [ 2.804089] xhci-hcd f2500000.usb: xHCI Host Controller [ 2.809340] xhci-hcd f2500000.usb: new USB bus registered, assigned bus number 2 [ 2.816785] xhci-hcd f2500000.usb: Host supports USB 3.0 SuperSpeed [ 2.823437] hub 1-0:1.0: USB hub found [ 2.827246] hub 1-0:1.0: 1 port detected [ 2.831394] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM. [ 2.839771] hub 2-0:1.0: USB hub found [ 2.843565] hub 2-0:1.0: 1 port detected [ 2.847842] at24 0-0054: supply vcc not found, using dummy regulator [ 2.854866] at24 0-0054: 512 byte 24c04 EEPROM, read-only [ 2.862030] xenon-sdhci f06e0000.mmc: Got CD GPIO [ 2.862967] clk: Disabling unused clocks [ 2.894770] mmc0: SDHCI controller on f06e0000.mmc [f06e0000.mmc] using ADMA 64-bit [ 2.906852] VFS: Mounted root (squashfs filesystem) readonly on device 179:3. [ 2.914586] Freeing unused kernel memory: 448K [ 2.919324] Run /sbin/init as init process [ 2.950100] mmc0: new high speed SDHC card at address 13ab [ 2.956560] mmcblk0: mmc0:13ab SE032 28.8 GiB [ 2.966293] mmcblk0: p1 [ 3.073827] init: Console is alive [ 3.077329] init: - watchdog - [ 3.204141] kmodloader: loading kernel modules from /etc/modules-boot.d/* [ 3.222855] pps_core: LinuxPPS API ver. 1 registered [ 3.227848] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 3.238363] PTP clock support registered [ 3.243064] gpio_button_hotplug: loading out-of-tree module taints kernel. [ 3.254801] mv88e6085 f212a200.mdio-mii:00: switch 0x3520 detected: Marvell 88E6352, revision 1 [ 3.334353] hwmon hwmon1: temp1_input not attached to any thermal zone [ 3.406235] hwmon hwmon2: temp1_input not attached to any thermal zone [ 3.460758] hwmon hwmon3: temp1_input not attached to any thermal zone [ 3.529091] hwmon hwmon4: temp1_input not attached to any thermal zone [ 3.605785] hwmon hwmon5: temp1_input not attached to any thermal zone [ 3.782715] mv88e6085 f212a200.mdio-mii:00: configuring for fixed/sgmii link mode [ 3.845500] mv88e6085 f212a200.mdio-mii:00: Link is Up - 1Gbps/Full - flow control off [ 3.928794] mv88e6085 f212a200.mdio-mii:00 lan5 (uninitialized): PHY [!cp0!config-space@f2000000!mdio@12a200!switch@0!mdio:00] driver [Marvell 88E1540] (irq=62) [ 3.947892] mvpp2 f2000000.ethernet: all ports have a low MTU, switching to per-cpu buffers [ 4.062306] mvpp2 f2000000.ethernet: using 8 per-cpu buffers [ 4.180900] mv88e6085 f212a200.mdio-mii:00 lan4 (uninitialized): PHY [!cp0!config-space@f2000000!mdio@12a200!switch@0!mdio:01] driver [Marvell 88E1540] (irq=63) [ 4.300901] mv88e6085 f212a200.mdio-mii:00 lan3 (uninitialized): PHY [!cp0!config-space@f2000000!mdio@12a200!switch@0!mdio:02] driver [Marvell 88E1540] (irq=64) [ 4.420903] mv88e6085 f212a200.mdio-mii:00 lan2 (uninitialized): PHY [!cp0!config-space@f2000000!mdio@12a200!switch@0!mdio:03] driver [Marvell 88E1540] (irq=65) [ 4.538830] mv88e6085 f212a200.mdio-mii:00 lan1 (uninitialized): PHY [!cp0!config-space@f2000000!mdio@12a200!switch@0!mdio:04] driver [Marvell 88E1540] (irq=66) [ 4.558622] DSA: tree 0 setup [ 4.562214] kmodloader: done loading kernel modules from /etc/modules-boot.d/* [ 4.579359] init: - preinit - Cannot parse config file '/etc/fw_env.config': No such file or directory Failed to find NVMEM device [ 5.083176] mvpp2 f2000000.ethernet eth0: configuring for fixed/sgmii link mode [ 5.091579] mv88e6085 f212a200.mdio-mii:00 lan1: configuring for phy/gmii link mode [ 5.099686] mvpp2 f2000000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off Press the [f] key and hit [enter] to enter failsafe mode Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level [ 9.461777] loop0: detected capacity change from 0 to 1474560 [ 9.522085] loop0: detected capacity change from 1474560 to 1467904 [ 9.530557] mount_root: overlay filesystem in /dev/loop0 has not been formatted yet [ 10.388030] F2FS-fs (loop0): Found nat_bits in checkpoint [ 10.408628] F2FS-fs (loop0): Mounted with checkpoint version = a40e0ad [ 10.415660] mount_root: overlay filesystem has not been fully initialized yet [ 10.423081] mount_root: switching to f2fs overlay [ 10.428248] overlayfs: null uuid detected in lower fs '/', falling back to xino=off,index=off,nfs_export=off. [ 10.466285] F2FS-fs (mmcblk1p1): Magic Mismatch, valid(0xf2f52010) - read(0x64616f6c) [ 10.474192] F2FS-fs (mmcblk1p1): Can't find valid F2FS filesystem in 1th superblock [ 10.482424] F2FS-fs (mmcblk1p1): Magic Mismatch, valid(0xf2f52010) - read(0x0) [ 10.489687] F2FS-fs (mmcblk1p1): Can't find valid F2FS filesystem in 2th superblock mount: mounting /dev/mmcblk1p1 on /boot failed: Invalid argument[ 10.502960] urandom-seed: Seed file not found (/etc/urandom.seed) umount: can't unmount /boot: Invalid argument [ 10.568297] procd: - early - [ 10.571383] procd: - watchdog - [ 11.112119] procd: - watchdog - [ 11.116334] procd: - ubus - [ 11.275687] procd: - init - Please press Enter to activate this console. [ 11.506253] kmodloader: loading kernel modules from /etc/modules.d/* [ 11.535153] rtc-ds1307 1-0068: registered as rtc1 [ 11.552844] PPP generic driver version 2.4.2 [ 11.557599] NET: Registered PF_PPPOX protocol family [ 11.564577] kmodloader: done loading kernel modules from /etc/modules.d/* [ 11.620524] urngd: v1.0.2 started. [ 15.795518] mvpp2 f2000000.ethernet eth0: Link is Down [ 15.815338] mvpp2 f2000000.ethernet eth0: configuring for fixed/sgmii link mode [ 15.823266] mvpp2 f2000000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off [ 15.932274] mv88e6085 f212a200.mdio-mii:00 lan1: configuring for phy/gmii link mode [ 15.945946] br-lan: port 1(lan1) entered blocking state [ 15.951206] br-lan: port 1(lan1) entered disabled state [ 15.956519] mv88e6085 f212a200.mdio-mii:00 lan1: entered allmulticast mode [ 15.963442] mvpp2 f2000000.ethernet eth0: entered allmulticast mode [ 16.026046] mv88e6085 f212a200.mdio-mii:00 lan1: entered promiscuous mode [ 16.032910] mvpp2 f2000000.ethernet eth0: entered promiscuous mode [ 16.187714] mv88e6085 f212a200.mdio-mii:00 lan2: configuring for phy/gmii link mode [ 16.198325] br-lan: port 2(lan2) entered blocking state [ 16.203606] br-lan: port 2(lan2) entered disabled state [ 16.208872] mv88e6085 f212a200.mdio-mii:00 lan2: entered allmulticast mode [ 16.230620] mv88e6085 f212a200.mdio-mii:00 lan2: entered promiscuous mode [ 16.380183] mv88e6085 f212a200.mdio-mii:00 lan3: configuring for phy/gmii link mode [ 16.390678] br-lan: port 3(lan3) entered blocking state [ 16.395973] br-lan: port 3(lan3) entered disabled state [ 16.401246] mv88e6085 f212a200.mdio-mii:00 lan3: entered allmulticast mode [ 16.422546] mv88e6085 f212a200.mdio-mii:00 lan3: entered promiscuous mode [ 16.584344] mv88e6085 f212a200.mdio-mii:00 lan4: configuring for phy/gmii link mode [ 16.595106] br-lan: port 4(lan4) entered blocking state [ 16.600384] br-lan: port 4(lan4) entered disabled state [ 16.605727] mv88e6085 f212a200.mdio-mii:00 lan4: entered allmulticast mode [ 16.647090] mv88e6085 f212a200.mdio-mii:00 lan4: entered promiscuous mode [ 16.770164] mv88e6085 f212a200.mdio-mii:00 lan5: configuring for phy/gmii link mode [ 16.780668] br-lan: port 5(lan5) entered blocking state [ 16.785957] br-lan: port 5(lan5) entered disabled state [ 16.791236] mv88e6085 f212a200.mdio-mii:00 lan5: entered allmulticast mode [ 16.834313] mv88e6085 f212a200.mdio-mii:00 lan5: entered promiscuous mode [ 16.942685] mvpp2 f2000000.ethernet eth1: PHY [f212a200.mdio-mii:01] driver [Marvell 88E1510] (irq=POLL) [ 16.954735] mvpp2 f2000000.ethernet eth1: configuring for phy/sgmii link mode [ 20.593440] mv88e6085 f212a200.mdio-mii:00 lan5: Link is Up - 1Gbps/Full - flow control rx/tx [ 20.593853] br-lan: port 5(lan5) entered blocking state [ 20.607271] br-lan: port 5(lan5) entered forwarding state BusyBox v1.37.0 (2025-08-02 23:08:50 UTC) built-in shell (ash) _______ ________ __ | |.-----.-----.-----.| | | |.----.| |_ | - || _ | -__| || | | || _|| _| |_______|| __|_____|__|__||________||__| |____| |__| W I R E L E S S F R E E D O M ----------------------------------------------------- OpenWrt SNAPSHOT, r30657-f0746741f8 ----------------------------------------------------- === WARNING! ===================================== There is no root password defined on this device! Use the "passwd" command to set up a new password in order to prevent unauthorized SSH logins. -------------------------------------------------- OpenWrt recently switched to the "apk" package manager! OPKG Command APK Equivalent Description ------------------------------------------------------------------ opkg install <pkg> apk add <pkg> Install a package opkg remove <pkg> apk del <pkg> Remove a package opkg upgrade apk upgrade Upgrade all packages opkg files <pkg> apk info -L <pkg> List package contents opkg list-installed apk info List installed packages opkg update apk update Update package lists opkg search <pkg> apk search <pkg> Search for packages ------------------------------------------------------------------ For more https://openwrt.org/docs/guide-user/additional-software/opkg-to-apk-cheatsheet root@OpenWrt:~#
-
enter
を押せばOpenWrtのロゴが表示される。
-
Luciのインストール
snapshots版のためLuciはインストールされていません。必要な場合はV-80のWANポートとその辺のDHCPが設定されているLANポートを接続し、以下のコマンドを実行する。
root@OpenWrt:~# apk update
root@OpenWrt:~# apk add luci-base luci-mod-admin-full luci-theme-bootstrap luci-app-firewall luci-app-opkg uhttpd
root@OpenWrt:~# /etc/init.d/uhttpd enable
root@OpenWrt:~# /etc/init.d/uhttpd start
4. rootfs領域の拡張
Disk spaceは初期状態で約720MB程度あります。OpenWrtを導入・/overlay 領域を拡張したFortiGate 50EよりもかなりDisk spaceが大きいです。
十分なDisk spaceがありますが、microSDスロットを有効に活用すべく、rootfs領域の拡張をします。
基本的にはここの記事に記載してあるとおりです。sdaをmmcblk0、sda1をmmcblk0p1に読み替えてください。
root@OpenWrt:~# df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 3.3M 3.3M 0 100% /rom
tmpfs 989.8M 2.0M 987.8M 0% /tmp
/dev/loop0 714.8M 66.8M 647.9M 9% /overlay
overlayfs:/overlay 714.8M 66.8M 647.9M 9% /
tmpfs 512.0K 0 512.0K 0% /dev
準備
必要なものをインストールし、V-80を再起動します。
root@OpenWrt:~# apk update
root@OpenWrt:~# apk add kmod-usb-storage usbutils gdisk block-mount e2fsprogs kmod-fs-ext4
root@OpenWrt:~# reboot
microSDのマウント確認
microSDはmmcblk0としてマウントされていると思います。以下のコマンドで確認してみてください。
root@OpenWrt:~# ls -l /dev/mmcblk0*
brw------- 1 root root 179, 24 Aug 4 00:11 /dev/mmcblk0
root@OpenWrt:~# dmesg | grep mmcblk0
[ 3.054332] mmcblk0: mmc0:13ab SE032 28.8 GiB
[ 3.091186] mmcblk0:
microSDのフォーマット
gdiskを使用し、microSDをフォーマットします。
root@OpenWrt:~# gdisk /dev/mmcblk0
GPT fdisk (gdisk) version 1.0.10
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Command (? for help): p
Disk /dev/mmcblk0: 60440576 sectors, 28.8 GiB
Sector size (logical/physical): 512/512 bytes
Disk identifier (GUID): A027E929-DFDA-4867-9978-D3DB8A6FC149
Partition table holds up to 128 entries
Main partition table begins at sector 2 and ends at sector 33
First usable sector is 34, last usable sector is 60440542
Partitions will be aligned on 2048-sector boundaries
Total free space is 60440509 sectors (28.8 GiB)
Number Start (sector) End (sector) Size Code Name
Command (? for help): n
Partition number (1-128, default 1):
First sector (34-60440542, default = 2048) or {+-}size{KMGTP}:
Last sector (2048-60440542, default = 60438527) or {+-}size{KMGTP}:
Current type is 8300 (Linux filesystem)
Hex code or GUID (L to show codes, Enter = 8300):
Changed type of partition to 'Linux filesystem'
Command (? for help): w
Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING
PARTITIONS!!
Do you want to proceed? (Y/N): y
OK; writing new GUID partition table (GPT) to /dev/mmcblk0.
[ 195.599586] mmcblk0: p1
The operation has completed successfully.
root@OpenWrt:~# mkfs.ext4 /dev/mmcblk0p1
mke2fs 1.47.2 (1-Jan-2025)
/dev/mmcblk0p1 contains a ext4 file system
last mounted on /mnt/mmcblk0p1 on Mon Aug 4 00:33:58 2025
Proceed anyway? (y,N) y
Discarding device blocks: done
Creating filesystem with 7554560 4k blocks and 1888656 inodes
Filesystem UUID: 216f357f-9f99-4adf-ba2c-8979076fa978
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000
Allocating group tables: done
Writing inode tables: done
Creating journal (32768 blocks):
done
Writing superblocks and filesystem accounting information: done
fstabの編集
fstabを編集し、自動でmmcblk0p1をマウントするように設定を変更し、V-80を再起動します。
root@OpenWrt:~# block info | grep "/dev/mmcblk0"
/dev/mmcblk0p1: UUID="216f357f-9f99-4adf-ba2c-8979076fa978" VERSION="1.0" TYPE="ext4"
root@OpenWrt:~# block detect > /etc/config/fstab
root@OpenWrt:~# vi /etc/config/fstab
config 'mount'
option target '/mnt/mmcblk0p1'
option uuid '216f357f-9f99-4adf-ba2c-8979076fa978'
- option enabled '0'
+ option enabled '1'
root@OpenWrt:~# reboot
df -h
を実行し、自動でmmcblk0p1がマウントされていることを確認します。
root@OpenWrt:~# df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 3.3M 3.3M 0 100% /rom
tmpfs 989.8M 224.0K 989.6M 0% /tmp
/dev/loop0 714.8M 70.7M 644.1M 10% /overlay
overlayfs:/overlay 714.8M 70.7M 644.1M 10% /
tmpfs 512.0K 0 512.0K 0% /dev
/dev/mmcblk0p1 28.2G 2.0M 26.7G 0% /mnt/mmcblk0p1
rootfsをmicroSDへコピー
rootfs(/overlay)をmicroSD(/mnt/mmcblk0p1)にコピーし、microSDをrootfsに切り替え、V-80を再起動します。
root@OpenWrt:~# tar -C /overlay -cvf - . | tar -C /mnt/mmcblk0p1 -xf -
root@OpenWrt:~# block detect > /etc/config/fstab
root@OpenWrt:~# vi /etc/config/fstab
config 'mount'
- option target '/mnt/mmcblk0p1'
+ option target '/overlay'
option uuid '216f357f-9f99-4adf-ba2c-8979076fa978'
- option enabled '0'
+ option enabled '1'
確認
root@OpenWrt:~# cat /etc/config/fstab
config 'global'
option anon_swap '0'
option anon_mount '0'
option auto_swap '1'
option auto_mount '1'
option delay_root '5'
option check_fs '0'
config 'mount'
option target '/overlay'
option uuid '131e8d0f-fee2-46ed-b8a8-c39b4bce2b09'
option enabled '0'
config 'mount'
option target '/overlay'
option uuid '216f357f-9f99-4adf-ba2c-8979076fa978'
option enabled '1'
config 'mount'
option target '/mnt/mmcblk1p11'
option uuid 'c303a2fc-bc37-4f2c-b691-dd1af0d271ce'
option enabled '0'
config 'mount'
option target '/rom'
option uuid '7293bc44-d5957ac7-c9b62822-c8fec26c'
option enabled '0'
config 'mount'
option target '/mnt/mmcblk1p6'
option uuid '0acedbdb-e7d0-462d-baf3-da03abf527ec'
option enabled '0'
config 'mount'
option target '/mnt/mmcblk1p8'
option uuid '80b9cbca-0c46-47db-b2e7-2eff3549f5a2'
option enabled '0'
root@OpenWrt:~# reboot
rootfs領域の拡張結果
Disk spaceがmicroSDの容量となり、rootfs領域を拡張することができました。
root@OpenWrt:~# df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 3.3M 3.3M 0 100% /rom
tmpfs 989.8M 236.0K 989.6M 0% /tmp
/dev/mmcblk0p1 28.2G 9.4M 26.7G 0% /overlay
overlayfs:/overlay 28.2G 9.4M 26.7G 0% /
tmpfs 512.0K 0 512.0K 0% /dev
5. おわりに
ヤフ〇クで落札したリースアップ品のCheck Point V-80にOpenWrtを導入し、microSDを利用したrootfs領域の拡張方法を紹介しました。リースアップ品をOpenWrtとして活用できるのはありがたいです。
正式版はv24.10シリーズには入らないため、その次のメジャーリリースからとなるそうです。正式版がリリースされ次第、記事を修正する予定です。
つたない説明ですが、最後までご覧いただきありがとうございました。OpenWrtを弄るのが好きな素人になります。間違いなどあれば指摘いただけると助かります。良いOpenWrtライフを~。
参考