rpi vs balena nvme

建立於 差異永不過期
150 刪除
152 行
306 新增
308 行
/dev/disk5 (external, physical):
/dev/disk5 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme *256.1 GB disk5
0: FDisk_partition_scheme *256.1 GB disk5
1: Windows_FAT_32 bootfs 536.9 MB disk5s1
1: Windows_FAT_32 resin-boot 83.9 MB disk5s1
2: Linux 255.5 GB disk5s2
2: Linux 671.1 MB disk5s2
3: Linux 671.1 MB disk5s3
4: Linux 21.0 MB disk5s5
5: Linux 205.5 MB disk5s6
(free space) 254.4 GB -


(base)
(base)
~ via 🅒 base
~ via 🅒 base
➜ sudo gpt -r show /dev/disk5
➜ sudo gpt -r show /dev/disk5
Password:
Password:
start size index contents
start size index contents
0 1 MBR
0 1 MBR
1 8191
1 8191
8192 1048576 1 MBR part 12
8192 163840 1 MBR part 12
1056768 499061424 2 MBR part 131
172032 1310720 2 MBR part 131
1482752 1310720 3 MBR part 131
2793472 1 Extended MBR
2793473 8191
2801664 40960 1 Extended MBR part 131
2842624 8064
2850688 401536 2 Extended MBR part 5
3252224 496865968
(base)
(base)
~ via 🅒 base took 5s
~ via 🅒 base took 5s
➜ ls -la /Volumes/bootfs
➜ ls -la /Volumes/resin-boot
total 151568
total 45756
drwx------@ 1 cm staff 0 28 Apr 17:10 .
drwx------@ 1 cm staff 0 28 Apr 17:48 .
drwxr-xr-x 5 root wheel 160 28 Apr 17:29 ..
drwxr-xr-x 5 root wheel 160 28 Apr 17:53 ..
drwx------ 1 cm staff 2048 28 Apr 17:29 .fseventsd
drwx------ 1 cm staff 512 28 Apr 17:53 .fseventsd
drwx------ 1 cm staff 2048 28 Apr 17:10 .Spotlight-V100
drwx------ 1 cm staff 512 28 Apr 17:48 .Spotlight-V100
-rwx------ 1 cm staff 32499 8 Oct 2024 bcm2710-rpi-2-b.dtb
-rwx------ 1 cm staff 24 25 Apr 13:11 balena-image
-rwx------ 1 cm staff 35326 8 Oct 2024 bcm2710-rpi-3-b-plus.dtb
-rwx------ 1 cm staff 34691 8 Oct 2024 bcm2710-rpi-3-b.dtb
-rwx------ 1 cm staff 23407 25 Apr 13:11 balenaos.fingerprint
-rwx------ 1 cm staff 32278 8 Oct 2024 bcm2710-rpi-cm3.dtb
-rwx------ 1 cm staff 33668 8 Oct 2024 bcm2710-rpi-zero-2-w.dtb
-rwx------ 1 cm staff 78331 25 Apr 13:11 bcm2712-rpi-5-b.dtb
-rwx------ 1 cm staff 33668 8 Oct 2024 bcm2710-rpi-zero-2.dtb
-rwx------ 1 cm staff 56112 8 Oct 2024 bcm2711-rpi-4-b.dtb
-rwx------ 1 cm staff 78287 25 Apr 13:11 bcm2712-rpi-500.dtb
-rwx------ 1 cm staff 56116 8 Oct 2024 bcm2711-rpi-400.dtb
-rwx------ 1 cm staff 38405 8 Oct 2024 bcm2711-rpi-cm4-io.dtb
-rwx------ 1 cm staff 78973 25 Apr 13:11 bcm2712-rpi-cm5-cm4io.dtb
-rwx------ 1 cm staff 56596 8 Oct 2024 bcm2711-rpi-cm4.dtb
-rwx------ 1 cm staff 53399 8 Oct 2024 bcm2711-rpi-cm4s.dtb
-rwx------ 1 cm staff 80149 8 Oct 2024 bcm2712-rpi-5-b.dtb
-rwx------ 1 cm staff 79039 25 Apr 13:11 bcm2712-rpi-cm5-cm5io.dtb
-rwx------ 1 cm staff 80595 8 Oct 2024 bcm2712-rpi-cm5-cm4io.dtb
-rwx------ 1 cm staff 80587 8 Oct 2024 bcm2712-rpi-cm5-cm5io.dtb
-rwx------ 1 cm staff 79014 25 Apr 13:11 bcm2712-rpi-cm5l-cm4io.dtb
-rwx------ 1 cm staff 80636 8 Oct 2024 bcm2712-rpi-cm5l-cm4io.dtb
-rwx------ 1 cm staff 80628 8 Oct 2024 bcm2712-rpi-cm5l-cm5io.dtb
-rwx------ 1 cm staff 79080 25 Apr 13:11 bcm2712-rpi-cm5l-cm5io.dtb
-rwx------ 1 cm staff 80133 8 Oct 2024 bcm2712d0-rpi-5-b.dtb
-rwx------ 1 cm staff 78335 25 Apr 13:11 bcm2712d0-rpi-5-b.dtb
-rwx------ 1 cm staff 52476 19 Nov 12:31 bootcode.bin
-rwx------ 1 cm staff 52476 25 Apr 13:11 bootcode.bin
-rwx------ 1 cm staff 0 31 Dec 1979 cmdline.txt
-rwx------ 1 cm staff 1024 25 Apr 13:11 bootenv
-rwx------ 1 cm staff 1247 19 Nov 12:32 config.txt
-rwx------ 1 cm staff 189 25 Apr 13:11 cmdline.txt
-rwx------ 1 cm staff 3232 19 Nov 12:31 fixup_cd.dat
-rwx------ 1 cm staff 495 28 Apr 16:42 config.json
-rwx------ 1 cm staff 10295 19 Nov 12:31 fixup_db.dat
-rwx------ 1 cm staff 10295 19 Nov 12:31 fixup_x.dat
-rwx------ 1 cm staff 2235 25 Apr 13:11 config.txt
-rwx------ 1 cm staff 7327 19 Nov 12:31 fixup.dat
-rwx------ 1 cm staff 2022 25 Apr 13:11 device-type.json
-rwx------ 1 cm staff 5456 19 Nov 12:31 fixup4.dat
-rwx------ 1 cm staff 3204 25 Apr 13:11 fixup_cd.dat
-rwx------ 1 cm staff 3232 19 Nov 12:31 fixup4cd.dat
-rwx------ 1 cm staff 8450 19 Nov 12:31 fixup4db.dat
-rwx------ 1 cm staff 10268 25 Apr 13:11 fixup_x.dat
-rwx------ 1 cm staff 8450 19 Nov 12:31 fixup4x.dat
-rwx------ 1 cm staff 7303 25 Apr 13:11 fixup.dat
-rwx------ 1 cm staff 2048 1 Jan 1970 FSCK0000.REC
-rwx------ 1 cm staff 41 25 Apr 13:11 image-version-info
-rwx------ 1 cm staff 17847637 19 Nov 12:43 initramfs_2712
-rwx------ 1 cm staff 17843486 19 Nov 12:43 initramfs8
-rwx------ 1 cm staff 145 19 Nov 12:43 issue.txt
-rwx------ 1 cm staff 15214530 25 Apr 13:11 kernel8.img
-rwx------ 1 cm staff 9292371 19 Nov 12:32 kernel_2712.img
-rwx------ 1 cm staff 9284374 19 Nov 12:32 kernel8.img
-rwx------ 1 cm staff 1594 19 Nov 12:31 LICENCE.broadcom
-rwx------ 1 cm staff 193 25 Apr 13:11 os-release
drwx------ 1 cm staff 30720 19 Nov 12:43 overlays
drwx------ 1 cm staff 31232 25 Apr 13:11 overlays
-rwx------ 1 cm staff 811804 19 Nov 12:31 start_cd.elf
-rwx------ 1 cm staff 0 25 Apr 13:11 rpi-bootfiles-20241126.stamp
-rwx------ 1 cm staff 4828616 19 Nov 12:31 start_db.elf
-rwx------ 1 cm staff 3730536 19 Nov 12:31 start_x.elf
drwx------ 1 cm staff 512 25 Apr 13:11 splash
-rwx------ 1 cm staff 2983488 19 Nov 12:31 start.elf
-rwx------ 1 cm staff 808892 25 Apr 13:11 start_cd.elf
-rwx------ 1 cm staff 2259296 19 Nov 12:31 start4.elf
-rwx------ 1 cm staff 3727656 25 Apr 13:11 start_x.elf
-rwx------ 1 cm staff 811804 19 Nov 12:31 start4cd.elf
-rwx------ 1 cm staff 2980544 25 Apr 13:11 start.elf
-rwx------ 1 cm staff 3756808 19 Nov 12:31 start4db.elf
drwx------ 1 cm staff 512 25 Apr 13:11 system-connections
-rwx------ 1 cm staff 3006920 19 Nov 12:31 start4x.elf
drwx------ 1 cm staff 512 25 Apr 13:11 system-proxy
(base)
(base)
~ via 🅒 base
~ via 🅒 base
➜ cat /Volumes/bootfs/cmdline.txt
➜ cat /Volumes/resin-boot/cmdline.txt
dwc_otg.lpm_enable=0 rootfstype=ext4 rootwait dwc_otg.lpm_enable=0 rootwait console=null quiet splash vt.global_cursor_default=0 consoleblank=0 cgroup_enable=memory balena_stage2 maxcpus=0
(base)
(base)
~ via 🅒 base
~ via 🅒 base
➜ cat /Volumes/bootfs/config.txt
➜ cat /Volumes/resin-boot/config.txt
# For more options and information see
# http://rptl.io/configtxt
# Some settings may impact device functionality. See link above for details


# Uncomment some or all of these to enable the optional hardware interfaces
#dtparam=i2c_arm=on
#dtparam=i2s=on
#dtparam=spi=on


# Enable audio (loads snd_bcm2835)
#sdtv_mode=0

#sdtv_aspect=1

#sdtv_disable_colourburst=1