This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux: SquashFS fails to mount

Other Parts Discussed in Thread: AM3356, TPS65217

Tool/software: Linux

Hello,

I'm trying to apply squashFS to our custom board(am3356).

But, there is a problem with mounting Rootfs in the kernel boot stage.

I think it looks like everyone else had the same problem.

So, I have referred to the links below to resolve the problem.

e2e.ti.com/.../203311

e2e.ti.com/.../806340

e2e.ti.com/.../641008

I'm not sure, but I think there's no particularly wrong with what I've done.

Here is a booting log :

U-Boot 2014.07-svn993 (Jul 31 2018 - 19:17:14)

I2C:   ready
DRAM:  512 MiB
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
mmc_init: 0, time 83
Net:   cpsw, usb_ether
 Hit any key to stop autoboot:  0
384688 bytes read in 24 ms (15.3 MiB/s)
Card did not respond to voltage select!
mmc_init: -17, time 13
SD/MMC found on device 1
Card did not respond to voltage select!
mmc_init: -17, time 12
** Bad device mmc 1 **
5107944 bytes read in 289 ms (16.9 MiB/s)
32917 bytes read in 5 ms (6.3 MiB/s)
Kernel image @ 0x82000000 [ 0x000000 - 0x4df0e8 ]
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Device Tree to 8fff4000, end 8ffff094 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 3.14.26-svn990 (root@yjhong-OS) (gcc version 4.7.3 20130226 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.03-20130313 - Linaro GCC 2013.03) ) #9 Mon Jul 30 09:52:54 KST 2018
[    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] [devtree.c: 207:setup_machine_fdt]
[    0.000000] Machine model: TI AM335x BeagleBone
[    0.000000] cma: CMA: reserved 16 MiB at 9a000000
[    0.000000] Memory policy: Data cache writeback
[    0.000000] On node 0 totalpages: 112384
[    0.000000] free_area_init_node: node 0, pgdat c0a01fb4, node_mem_map db382000
[    0.000000]   Normal zone: 880 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 112384 pages, LIFO batch:31
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] AM335X ES2.1 (neon )
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 111504
[    0.000000] Kernel command line: console=ttyK0,115200n8 consoleblank=0 root=/dev/mmcblk0p2 ro rootfstype=squashfs rootwait loglevel=8 mem=440M
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 413260K/449536K available (6590K kernel code, 423K rwdata, 2496K rodata, 732K init, 5508K bss, 36276K reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xdc000000 - 0xff000000   ( 560 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xdb800000   ( 440 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc08e7d00   (9088 kB)
[    0.000000]       .init : 0xc08e8000 - 0xc099f294   ( 733 kB)
[    0.000000]       .data : 0xc09a0000 - 0xc0a09f98   ( 424 kB)
[    0.000000]        .bss : 0xc0a09f98 - 0xc0f6b2e0   (5509 kB)
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
[    0.000000] Total of 128 interrupts on 1 active controller
[    0.000000] OMAP clockevent source: timer2 at 24000000 Hz
[    0.000011] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956969942ns
[    0.000053] OMAP clocksource: timer1 at 24000000 Hz
[    0.000703] Console: colour dummy device 80x30
[    0.000748] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
[    0.000756] ... MAX_LOCKDEP_SUBCLASSES:  8
[    0.000762] ... MAX_LOCK_DEPTH:          48
[    0.000768] ... MAX_LOCKDEP_KEYS:        8191
[    0.000774] ... CLASSHASH_SIZE:          4096
[    0.000780] ... MAX_LOCKDEP_ENTRIES:     16384
[    0.000786] ... MAX_LOCKDEP_CHAINS:      32768
[    0.000792] ... CHAINHASH_SIZE:          16384
[    0.000798]  memory used by lock dependency info: 3695 kB
[    0.000804]  per task-struct memory footprint: 1152 bytes
[    0.000842] Calibrating delay loop... 996.14 BogoMIPS (lpj=4980736)
[    0.079191] pid_max: default: 32768 minimum: 301
[    0.079413] Security Framework initialized
[    0.079490] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.079502] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.096885] CPU: Testing write buffer coherency: ok
[    0.098007] Setting up static identity map for 0x80641248 - 0x806412b8
[    0.101811] devtmpfs: initialized
[    0.105463] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    0.134510] omap_hwmod: tptc0 using broken dt data from edma
[    0.134812] omap_hwmod: tptc1 using broken dt data from edma
[    0.135098] omap_hwmod: tptc2 using broken dt data from edma
[    0.142095] omap_hwmod: debugss: _wait_target_disable failed
[    0.238864] pinctrl core: initialized pinctrl subsystem
[    0.242866] regulator-dummy: no parameters
[    0.245789] NET: Registered protocol family 16
[    0.250567] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.255622] cpuidle: using governor ladder
[    0.255641] cpuidle: using governor menu
[    0.264229] syscon 44e10000.control_module: regmap [mem 0x44e10000-0x44e107fb] registered
[    0.267372] platform 49000000.edma: alias fck already exists
[    0.267401] platform 49000000.edma: alias fck already exists
[    0.267418] platform 49000000.edma: alias fck already exists
[    0.270242] gpiochip_add: registered GPIOs 0 to 31 on device: gpio
[    0.271097] OMAP GPIO hardware version 0.1
[    0.273237] gpiochip_add: registered GPIOs 32 to 63 on device: gpio
[    0.275516] gpiochip_add: registered GPIOs 64 to 95 on device: gpio
[    0.277761] gpiochip_add: registered GPIOs 96 to 127 on device: gpio
[    0.316111] No ATAGs?
[    0.316121] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.382891] bio: create slab <bio-0> at 0
[    0.414984] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver
[    0.416236] of_get_named_gpiod_flags: can't parse gpios property of node '/fixedregulator@0[0]'
[    0.417102] vmmcsd_fixed: 3300 mV
[    0.419153] i2c-core: driver [palmas] using legacy suspend method
[    0.419166] i2c-core: driver [palmas] using legacy resume method
[    0.420580] SCSI subsystem initialized
[    0.422540] usbcore: registered new interface driver usbfs
[    0.422926] usbcore: registered new interface driver hub
[    0.423556] usbcore: registered new device driver usb
[    0.425618] omap_i2c 44e0b000.i2c: could not find pctldev for node /pinmux@44e10800/pinmux_i2c0_pins, deferring probe
[    0.425659] platform 44e0b000.i2c: Driver omap_i2c requests probe deferral
[    0.425717] omap_i2c 4819c000.i2c: could not find pctldev for node /pinmux@44e10800/pinmux_i2c2_pins, deferring probe
[    0.425739] platform 4819c000.i2c: Driver omap_i2c requests probe deferral
[    0.430071] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[    0.433995] Bluetooth: Core ver 2.18
[    0.434441] NET: Registered protocol family 31
[    0.434454] Bluetooth: HCI device and connection manager initialized
[    0.434556] Bluetooth: HCI socket layer initialized
[    0.434580] Bluetooth: L2CAP socket layer initialized
[    0.434677] Bluetooth: SCO socket layer initialized
[    0.436168] cfg80211: Calling CRDA to update world regulatory domain
[    0.438932] Switched to clocksource timer1
[    0.610638] NET: Registered protocol family 2
[    0.612135] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.612304] TCP bind hash table entries: 4096 (order: 5, 147456 bytes)
[    0.613658] TCP: Hash tables configured (established 4096 bind 4096)
[    0.613834] TCP: reno registered
[    0.613856] UDP hash table entries: 256 (order: 2, 20480 bytes)
[    0.614045] UDP-Lite hash table entries: 256 (order: 2, 20480 bytes)
[    0.614991] NET: Registered protocol family 1
[    0.616160] RPC: Registered named UNIX socket transport module.
[    0.616179] RPC: Registered udp transport module.
[    0.616187] RPC: Registered tcp transport module.
[    0.616195] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.618511] hw perfevents: enabled with ARMv7 Cortex-A8 PMU driver, 5 counters available
[    0.624804] futex hash table entries: 256 (order: 1, 11264 bytes)
[    0.774606] VFS: Disk quotas dquot_6.5.2
[    0.774686] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.776316] NFS: Registering the id_resolver key type
[    0.776663] Key type id_resolver registered
[    0.776679] Key type id_legacy registered
[    0.777188] jffs2: version 2.2. (NAND) (SUMMARY)  ⓒ 2001-2006 Red Hat, Inc.
[    0.777554] msgmni has been set to 839
[    0.781998] io scheduler noop registered
[    0.782017] io scheduler deadline registered
[    0.782075] io scheduler cfq registered (default)
[    0.784009] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
[    0.792516] of_get_named_gpiod_flags: can't parse gpios property of node '/backlight[0]'
[    0.792545] backlight.9 supply power not found, using dummy regulator
[    0.812480] Console: switching to colour frame buffer device 60x34
[    0.817411] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.824728] of_get_named_gpiod_flags: can't parse gpios property of node '/ocp/serial@44e09000[0]'
[    0.824799] omap_uart 44e09000.serial: no wakeirq for uart0
[    0.824819] of_get_named_gpiod_flags: can't parse gpios property of node '/ocp/serial@44e09000[0]'
[    0.825368] 44e09000.serial: ttyK0 at MMIO 0x44e09000 (irq = 88, base_baud = 3000000) is a OMAP UART0
[    1.915389] console [ttyK0] enabled
[    1.921126] of_get_named_gpiod_flags: can't parse gpios property of node '/ocp/serial@48022000[0]'
[    1.930595] omap_uart 48022000.serial: no wakeirq for uart0
[    1.936431] of_get_named_gpiod_flags: can't parse gpios property of node '/ocp/serial@48022000[0]'
[    1.946043] 48022000.serial: ttyK1 at MMIO 0x48022000 (irq = 89, base_baud = 3000000) is a OMAP UART1
[    1.957074] of_get_named_gpiod_flags: can't parse gpios property of node '/ocp/serial@481a8000[0]'
[    1.966537] omap_uart 481a8000.serial: no wakeirq for uart0
[    1.972398] of_get_named_gpiod_flags: can't parse gpios property of node '/ocp/serial@481a8000[0]'
[    1.981969] 481a8000.serial: ttyK4 at MMIO 0x481a8000 (irq = 61, base_baud = 3000000) is a OMAP UART4
[    1.995164] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
[    2.133507] brd: module loaded
[    2.150899] loop: module loaded
[    2.154850] (hci_tty): inside hci_tty_init
[    2.160344] (hci_tty): allocated 250, 0
[    2.192279] mtdoops: mtd device (mtddev=name/number) must be supplied
[    2.229984] vcan: Virtual CAN interface driver
[    2.234655] CAN device driver interface
[    2.241739] c_can_platform 481cc000.can: c_can_platform device registered (regs=fa1cc000, irq=68)
[    2.253313] c_can_platform 481d0000.can: c_can_platform device registered (regs=fa1d0000, irq=71)
[    2.264733] usbcore: registered new interface driver rtl8150
[    2.271093] usbcore: registered new interface driver r8152
[    2.283889] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.290756] ehci-platform: EHCI generic platform driver
[    2.296739] ehci-omap: OMAP-EHCI Host Controller driver
[    2.302723] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    2.309266] ohci-platform: OHCI generic platform driver
[    2.315521] usbcore: registered new interface driver usb-storage
[    2.322187] usbcore: registered new interface driver ums-realtek
[    2.329269] usbcore: registered new interface driver usbserial
[    2.335697] usbcore: registered new interface driver usbserial_generic
[    2.343535] usbserial: USB Serial support registered for generic
[    2.354161] of_get_named_gpiod_flags: can't parse gpios property of node '/ocp/usb@47400000/usb-phy@47401300[0]'
[    2.364977] 47401300.usb-phy supply vcc not found, using dummy regulator
[    2.388721] musb-hdrc musb-hdrc.0.auto: Failed to request rx1.
[    2.395270] musb-hdrc musb-hdrc.0.auto: musb_init_controller failed with status -517
[    2.403502] platform musb-hdrc.0.auto: Driver musb-hdrc requests probe deferral
[    2.412585] of_get_named_gpiod_flags: can't parse gpios property of node '/ocp/usb@47400000/usb-phy@47401b00[0]'
[    2.423353] 47401b00.usb-phy supply vcc not found, using dummy regulator
[    2.445684] musb-hdrc musb-hdrc.1.auto: Failed to request rx1.
[    2.451956] musb-hdrc musb-hdrc.1.auto: musb_init_controller failed with status -517
[    2.460165] platform musb-hdrc.1.auto: Driver musb-hdrc requests probe deferral
[    2.501081] mousedev: PS/2 mouse device common for all mice
[    2.529329] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
[    2.536782] 44e3e000.rtc: already running
[    2.541695] i2c /dev entries driver
[    2.549371] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[    2.557852] Bluetooth: Virtual HCI driver ver 1.4
[    2.563533] Bluetooth: HCI UART driver ver 2.2
[    2.568182] Bluetooth: HCI H4 protocol initialized
[    2.573235] Bluetooth: HCI BCSP protocol initialized
[    2.578421] Bluetooth: HCILL protocol initialized
[    2.583351] Bluetooth: HCIATH3K protocol initialized
[    2.588536] Bluetooth: HCI Three-wire UART (H5) protocol initialized
[    2.595642] usbcore: registered new interface driver bcm203x
[    2.601989] usbcore: registered new interface driver bpa10x
[    2.608196] usbcore: registered new interface driver bfusb
[    2.614331] usbcore: registered new interface driver btusb
[    2.620093] Bluetooth: Generic Bluetooth SDIO driver ver 0.1
[    2.628468] of_get_named_gpiod_flags: can't parse gpios property of node '/ocp/mmc@48060000[0]'
[    2.637642] of_get_named_gpiod_flags: can't parse gpios property of node '/ocp/mmc@48060000[0]'
[    2.701336] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
[    2.713888] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
[    2.727028] usbcore: registered new interface driver usbhid
[    2.732928] usbhid: USB HID core driver
[    2.756649] platform 44d00000.wkup_m3: Driver wkup_m3 requests probe deferral
[    2.807557] oprofile: using arm/armv7
[    2.811609] Netfilter messages via NETLINK v0.30.
[    2.816555] nfnl_acct: registering with nfnetlink.
[    2.821946] nf_conntrack version 0.5.0 (6713 buckets, 26852 max)
[    2.828772] nf_tables: (c) 2007-2009 Patrick McHardy <kaber@trash.net>
[    2.835666] nf_tables_compat: (c) 2012 Pablo Neira Ayuso <pablo@netfilter.org>
[    2.844834] xt_time: kernel timezone is -0000
[    2.849942] ip_tables: (C) 2000-2006 Netfilter Core Team
[    2.856015] TCP: cubic registered
[    2.859691] Initializing XFRM netlink socket
[    2.864301] NET: Registered protocol family 17
[    2.869049] NET: Registered protocol family 15
[    2.873697] can: controller area network core (rev 20120528 abi 9)
[    2.880300] NET: Registered protocol family 29
[    2.885005] can: raw protocol (rev 20120528)
[    2.889583] can: broadcast manager protocol (rev 20120528 t)
[    2.895515] can: netlink gateway (rev 20130117) max_hops=1
[    2.901723] Bluetooth: RFCOMM TTY layer initialized
[    2.906887] Bluetooth: RFCOMM socket layer initialized
[    2.912348] Bluetooth: RFCOMM ver 1.11
[    2.916296] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    2.921864] Bluetooth: BNEP filters: protocol multicast
[    2.927340] Bluetooth: BNEP socket layer initialized
[    2.932550] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    2.938742] Bluetooth: HIDP socket layer initialized
[    2.945468] Key type dns_resolver registered
[    2.971461] PM: bootloader does not support rtc-only!
[    2.976754] ThumbEE CPU extension supported.
[    2.981289] Registering SWP/SWPB emulation handler
[    2.990525] regulator-dummy: disabling
[    3.000877] mmc0: host does not support reading read-only switch. assuming write-enable.
[    3.022186] mmc0: new high speed SDHC card at address aaaa
[    3.033067] mmcblk0: mmc0:aaaa SS16G 14.8 GiB
[    3.039843] DCDC1: at 1500 mV
[    3.047676] vdd_mpu: 925 <--> 1375 mV at 1325 mV
[    3.053310]  mmcblk0: p1 p2 p3
[    3.061777] vdd_core: 925 <--> 1150 mV at 1125 mV
[    3.070429] LDO1: at 1800 mV
[    3.075552] LDO2: at 3300 mV
[    3.080582] LDO3: 1800 mV
[    3.085343] LDO4: at 3300 mV
[    3.101112] tps65217 0-0024: TPS65217 ID 0xe version 1.2
[    3.106737] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[    3.116361] AR1020 I2C: Using IRQ 151 set via kernel parameter.
[    3.123608] input: AR1020 Touchscreen as /devices/virtual/input/input0
[    3.133629] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 1 kHz
[    3.144740] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
[    3.155803] musb-hdrc: MHDRC RTL version 2.0
[    3.160454] musb-hdrc: setup fifo_mode 4
[    3.164555] musb-hdrc: 28/31 max ep, 16384/16384 memory
[    3.170268] musb-hdrc musb-hdrc.0.auto: MUSB HDRC host driver
[    3.177068] musb-hdrc musb-hdrc.0.auto: new USB bus registered, assigned bus number 1
[    3.186687] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    3.193850] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.201420] usb usb1: Product: MUSB HDRC host driver
[    3.206608] usb usb1: Manufacturer: Linux 3.14.26-svn990 musb-hcd
[    3.212991] usb usb1: SerialNumber: musb-hdrc.0.auto
[    3.222863] hub 1-0:1.0: USB hub found
[    3.227239] hub 1-0:1.0: 1 port detected
[    3.239253] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
[    3.250294] musb-hdrc: MHDRC RTL version 2.0
[    3.254842] musb-hdrc: setup fifo_mode 4
[    3.259006] musb-hdrc: 28/31 max ep, 16384/16384 memory
[    3.264670] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    3.270783] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 2
[    3.279500] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    3.286665] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.294249] usb usb2: Product: MUSB HDRC host driver
[    3.299455] usb usb2: Manufacturer: Linux 3.14.26-svn990 musb-hcd
[    3.305823] usb usb2: SerialNumber: musb-hdrc.1.auto
[    3.313600] hub 2-0:1.0: USB hub found
[    3.317617] hub 2-0:1.0: 1 port detected
[    3.358975]  remoteproc0: Note: remoteproc is still under development and considered experimental.
[    3.368333]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[    3.445219]  remoteproc0: remote processor wkup_m3 is now up.
[    3.458016] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
[    3.464455] davinci_mdio 4a101000.mdio: detected phy mask fffffffd
[    3.472403] PM: Voltage scale fw name given but file missing.
[    3.480584] libphy: 4a101000.mdio: probed
[    3.484798] davinci_mdio 4a101000.mdio: phy[1]: device 4a101000.mdio:01, driver SMSC LAN8710/LAN8720
[[    3.540980] cpsw 4a100000.ethernet: Detected MACID = f0:45:da:70:f2:61
[[    3.582658] cpsw 4a100000.ethernet: cpsw: Detected MACID = f0:45:da:70:f2:63
[    3.592394] omap_rtc 44e3e000.rtc: setting system clock to 2018-07-31 19:33:22 UTC (1533065602)
[    3.620343] VFS: Cannot open root device "mmcblk0p2" or unknown-block(179,2): error -19
[    3.628737] Please append a correct "root=" boot option; here are the available partitions:
[    3.637564] b300        15558144 mmcblk0  driver: mmcblk
[    3.643146]   b301          102400 mmcblk0p1 fb4b9222-01
[    3.648702]   b302         3480545 mmcblk0p2 fb4b9222-02
[    3.654280]   b303        11973120 mmcblk0p3 fb4b9222-03
[    3.660045] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2)

fdisk -l (On Host PC) :

Disk /dev/sdg: 14.9 GiB, 15931539456 bytes, 31116288 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xfb4b9222

Device     Boot   Start      End  Sectors  Size Id Type
/dev/sdg1  *         63   204863   204801  100M  c W95 FAT32 (LBA)
/dev/sdg2        206911  7168000  6961090  3.3G 83 Linux
/dev/sdg3       7170048 31116287 23946240 11.4G 83 Linux

mount(On Host PC) :

/dev/sdg2 on /media/yjhong/disk type squashfs (ro,nosuid,nodev,relatime,uhelper=udisks2)
/dev/sdg1 on /media/yjhong/BOOT type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2)
/dev/sdg3 on /media/yjhong/DATA type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2)

Of course, a file was created and recorded using the commands below.

mksquashfs ${PATH_RFS}/ filesystem.squashfs -noappend

Parallel mksquashfs: Using 8 processors
Creating 4.0 filesystem on filesystem.squashfs, block size 131072.
[==================================================================================================-] 11841/11841 100%

Exportable Squashfs 4.0 filesystem, gzip compressed, data block size 131072
 compressed data, compressed metadata, compressed fragments, compressed xattrs
 duplicates are removed
Filesystem size 216733.10 Kbytes (211.65 Mbytes)
 34.42% of uncompressed filesystem size (629759.44 Kbytes)
Inode table size 103136 bytes (100.72 Kbytes)
 29.11% of uncompressed inode table size (354276 bytes)
Directory table size 99449 bytes (97.12 Kbytes)
 39.64% of uncompressed directory table size (250892 bytes)
Number of duplicate files found 928
Number of inodes 9339
Number of files 7679
Number of fragments 401
Number of symbolic links  1002
Number of device nodes 0
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 658
Number of ids (unique uids + gids) 6
Number of uids 6
 yjhong (1000)
 root (0)
 unknown (999)
 unknown (998)
 unknown (996)
 unknown (997)
Number of gids 5
 yjhong (1000)
 root (0)
 unknown (998)
 unknown (996)
 unknown (997)

dd if=filesystem.squashfs of=/dev/sdg2

Is there anything wrong with what I did above?

I'll be waiting for your help.

Thanks.