11-13-2021, 05:08 PM
(This post was last modified: 11-13-2021, 05:59 PM by dieselnutjob.)
(11-13-2021, 04:37 PM)mara Wrote:(11-13-2021, 04:19 PM)dieselnutjob Wrote: can I dd your xfce image straight to an eMMC card?
anyway, you just need to change the name of the root partition in /etc/fstab and /boot/uEnv.txt
I does work from microSD card. I just needed pay attention to the console
Code:
Copy info from "Call trace..." to a file(eg. dump.txt), and run
command in your U-Boot project: ./scripts/stacktrace.sh dump.txt
Resetting CPU ...
### ERROR ### Please RESET the board ###
My bad.
This is deeply impressive:-
If I want to recompile my own kernel do I do it with this source https://gitlab.com/pine64-org/quartz-bsp/rockchip-linux ?
and if yes, is it the "quartz64" one (branch?) or the "develop-4.19" or one of the others?
(11-13-2021, 04:37 PM)mara Wrote:(11-13-2021, 04:19 PM)dieselnutjob Wrote: can I dd your xfce image straight to an eMMC card?
anyway, you just need to change the name of the root partition in /etc/fstab and /boot/uEnv.txt
I don't have /boot/uEnv.txt did you mean /boot/extlinux/extlinux.conf ?
I changed the entry in extlinux.conf to root=UUID=d14648ed-fd3c-4e85-b9fd-619cfcc8d206
here are my logs:-
Code:
U-Boot SPL board init
U-Boot SPL 2017.09-rk3566 (Oct 10 2021 - 15:41:53)
unknown raw ID phN
unrecognized JEDEC id bytes: 00, 00, 00
Trying to boot from MMC2
MMC error: The cmd index is 1, ret is -110
Card did not respond to voltage select!
mmc_init: -95, time 9
spl: mmc init failed with error: -95
Trying to boot from MMC1
No misc partition
## Verified-boot: 0
## Checking atf-1 0x00040000 ... sha256+ OK
## Checking uboot 0x00a00000 ... sha256+ OK
## Checking fdt 0x00b23618 ... sha256+ OK
## Checking atf-2 0xfdcc9000 ... sha256+ OK
## Checking atf-3 0xfdcd0000 ... sha256+ OK
Jumping to U-Boot(0x00a00000) via ARM Trusted Firmware(0x00040000)
Total: 269.596 ms
INFO: Preloader serial: 2
NOTICE: BL31: v2.3():v2.3-135-gcda1658bc-dirty:xsf
NOTICE: BL31: Built : 14:19:26, Jun 1 2021
INFO: GICv3 without legacy support detected.
INFO: ARM GICv3 driver initialized in EL3
INFO: pmu v1 is valid
INFO: dfs DDR fsp_param[0].freq_mhz= 1056MHz
INFO: dfs DDR fsp_param[1].freq_mhz= 324MHz
INFO: dfs DDR fsp_param[2].freq_mhz= 528MHz
INFO: dfs DDR fsp_param[3].freq_mhz= 780MHz
INFO: Using opteed sec cpu_context!
INFO: boot cpu mask: 0
INFO: BL31: Initializing runtime services
WARNING: No OPTEE provided by BL2 boot loader, Booting device without OPTEE iniK
ERROR: Error initializing runtime service opteed_fast
INFO: BL31: Preparing for EL3 exit to normal world
INFO: Entry point address = 0xa00000
INFO: SPSR = 0x3c9
U-Boot 2017.09-rk3566 (Oct 10 2021 - 15:46:27 +0000)
Model: Pine64 RK3566 Quartz64 Board
PreSerial: 2, raw, 0xfe660000
DRAM: 4 GiB
Sysmem: init
Relocation Offset: ed355000, fdt: eb9f92f8
dwmmc@fe2b0000: 1, dwmmc@fe2c0000: 2, sdhci@fe310000: 0
Bootdev(atags): mmc 0
MMC0: HS200, 200Mhz
PartType: EFI
No misc partition
boot mode: None
FIT: No boot partition
No resource partition
Failed to load DTB
Failed to get kernel dtb, ret=-19
io-domain: OK
MMC error: The cmd index is 1, ret is -110
Card did not respond to voltage select!
mmc_init: -95, time 10
** Bad device mmc 1 **
Using default environment
Model: Pine64 RK3566 Quartz64 Board
rockchip_set_serialno: could not find efuse/otp device
CLK: (sync kernel. arm: enter 816000 KHz, init 816000 KHz, kernel 0N/A)
apll 816000 KHz
dpll 528000 KHz
gpll 1188000 KHz
cpll 1000000 KHz
npll 24000 KHz
vpll 24000 KHz
hpll 24000 KHz
ppll 100000 KHz
armclk 816000 KHz
aclk_bus 150000 KHz
pclk_bus 50000 KHz
aclk_top_high 300000 KHz
aclk_top_low 200000 KHz
hclk_top 150000 KHz
pclk_top 50000 KHz
aclk_perimid 300000 KHz
hclk_perimid 150000 KHz
pclk_pmu 50000 KHz
Net: clk_get_by_name(master_bus) failed: -22eqos_probe_resources() failed: -2.
Hit key to stop autoboot('CTRL+C'): 0
MMC error: The cmd index is 1, ret is -110
Card did not respond to voltage select!
mmc_init: -95, time 10
switch to partitions #0, OK
mmc0(part 0) is current device
Scanning mmc 0:2...
Found /extlinux/extlinux.conf
Retrieving file: /extlinux/extlinux.conf
242 bytes read in 81 ms (2 KiB/s)
1: slarm64
Retrieving file: /Image
23048200 bytes read in 266 ms (82.6 MiB/s)
append: root=UUID=d14648ed-fd3c-4e85-b9fd-619cfcc8d206 ro rootwait rootfstype=e8
Retrieving file: /dtb/rk3566-quartz64-a.dtb
115277 bytes read in 509 ms (220.7 KiB/s)
Fdt Ramdisk skip relocation
## Flattened Device Tree blob at 0x0a100000
Booting using the fdt blob at 0x0a100000
'reserved-memory' ramoops@110000: addr=110000 size=f0000
Using Device Tree in place at 000000000a100000, end 000000000a11f24c
Adding bank: 0x00200000 - 0xf0000000 (size: 0xefe00000)
Adding bank: 0x1f0000000 - 0x200000000 (size: 0x10000000)
Total: 2042.515 ms
Starting kernel ...
[ 0.115821] vcc3v3_pcie_p: regulator get failed, ret=-517
[ 0.265246] extcon extcon1: failed to create extcon usb2-phy link
[ 0.285100] mpp_rkvdec2 fdf80200.rkvdec: shared_niu_a is not found!
[ 0.285161] rkvdec2_init:875: No niu aclk reset resource define
[ 0.285192] mpp_rkvdec2 fdf80200.rkvdec: shared_niu_h is not found!
[ 0.285232] rkvdec2_init:878: No niu hclk reset resource define
[ 0.320760] dw-mipi-dsi fe060000.dsi: [drm:dw_mipi_dsi_bind] *ERROR* Failed 7
[ 0.330091] mali fde60000.gpu: Power management initialization failed error 7
[ 0.330178] mali fde60000.gpu: Device initialization Deferred
[ 0.347123] clk: failed to reparent clk_gmac1_rx_tx to gmac1_clkin: -22
[ 0.347713] rk_gmac-dwmac fe010000.ethernet: no regulator found
[ 0.489959] dwc3 fcc00000.dwc3: Failed to get clk 'ref': -2
[ 0.713131] rk817-battery rk817-battery: fb_temperature missing!
[ 0.713199] rk817-battery rk817-battery: energy_mode missing!
[ 0.713230] rk817-battery rk817-battery: zero_reserve_dsoc missing!
[ 0.794324] rk817-charger rk817-charger: power_dc2otg missing!
[ 0.794376] rk817-charger rk817-charger: sample_res missing!
[ 0.794404] rk817-charger rk817-charger: otg5v_suspend_enable missing!
[ 0.794430] rk817-charger rk817-charger: gate_function_disable missing!
[ 0.816748] rockchip-pinctrl pinctrl: pin gpio3-13 already requested by fe01c
[ 0.816818] rockchip-pinctrl pinctrl: pin-109 (fe5c0000.i2c) status -22
[ 0.816849] rockchip-pinctrl pinctrl: could not request pin 109 (gpio3-13) fl
[ 0.816902] rk3x-i2c fe5c0000.i2c: Error applying setting, reverse things bak
[ 0.817084] rockchip-pinctrl pinctrl: pin gpio3-11 already requested by fe01c
[ 0.817129] rockchip-pinctrl pinctrl: pin-107 (fe5e0000.i2c) status -22
[ 0.817174] rockchip-pinctrl pinctrl: could not request pin 107 (gpio3-11) fl
[ 0.817223] rk3x-i2c fe5e0000.i2c: Error applying setting, reverse things bak
[ 0.820422] rkisp_hw fdff0000.rkisp: can't request region for resource [mem ]
[ 0.871928] rockchip-pinctrl pinctrl: pin gpio0-16 already requested by fdd5q
[ 0.871993] rockchip-pinctrl pinctrl: pin-16 (sdio-pwrseq) status -22
[ 0.872017] rockchip-pinctrl pinctrl: could not request pin 16 (gpio0-16) frl
[ 0.872080] pwrseq_simple sdio-pwrseq: Error applying setting, reverse thingk
[ 0.900408] mmc2: Unknown controller version (5). You may experience problem.
[ 0.933987] rockchip,bus bus-npu: Failed to get leakage
[ 0.937421] rksfc_base v1.1 2016-01-08
[ 2.250241] mali fde60000.gpu: dev_pm_opp_set_regulators: no regulator (shad9
[ 2.256900] of_clk_hw_onecell_get: invalid index 3
[ 2.257033] ERROR: could not get clock /dmc:dmc_clk(0)
[ 2.257126] rockchip-dmc dmc: Cannot get the clk dmc_clk. If using SCMI, tru.
[ 2.277461] rkisp-vir0: update sensor failed
[ 2.362804] devfreq fde60000.gpu: Couldn't update frequency transition infor.
[ 2.428191] headset_interrupt:get pin level again, pin=148,i=0
and this one is booting microSD but with the eMMC still plugged in, and I ran some commands at the end
Code:
U-Boot SPL board init
U-Boot SPL 2017.09-rk3566 (Oct 10 2021 - 15:41:53)
unknown raw ID phN
unrecognized JEDEC id bytes: 00, 00, 00
Trying to boot from MMC2
No misc partition
## Verified-boot: 0
## Checking atf-1 0x00040000 ... sha256+ OK
## Checking uboot 0x00a00000 ... sha256+ OK
## Checking fdt 0x00b23618 ... sha256+ OK
## Checking atf-2 0xfdcc9000 ... sha256+ OK
## Checking atf-3 0xfdcd0000 ... sha256+ OK
Jumping to U-Boot(0x00a00000) via ARM Trusted Firmware(0x00040000)
Total: 388.635 ms
INFO: Preloader serial: 2
NOTICE: BL31: v2.3():v2.3-135-gcda1658bc-dirty:xsf
NOTICE: BL31: Built : 14:19:26, Jun 1 2021
INFO: GICv3 without legacy support detected.
INFO: ARM GICv3 driver initialized in EL3
INFO: pmu v1 is valid
INFO: dfs DDR fsp_param[0].freq_mhz= 1056MHz
INFO: dfs DDR fsp_param[1].freq_mhz= 324MHz
INFO: dfs DDR fsp_param[2].freq_mhz= 528MHz
INFO: dfs DDR fsp_param[3].freq_mhz= 780MHz
INFO: Using opteed sec cpu_context!
INFO: boot cpu mask: 0
INFO: BL31: Initializing runtime services
WARNING: No OPTEE provided by BL2 boot loader, Booting device without OPTEE iniK
ERROR: Error initializing runtime service opteed_fast
INFO: BL31: Preparing for EL3 exit to normal world
INFO: Entry point address = 0xa00000
INFO: SPSR = 0x3c9
U-Boot 2017.09-rk3566 (Oct 10 2021 - 15:46:27 +0000)
Model: Pine64 RK3566 Quartz64 Board
PreSerial: 2, raw, 0xfe660000
DRAM: 4 GiB
Sysmem: init
Relocation Offset: ed355000, fdt: eb9f92f8
no mmc device at slot 1
dwmmc@fe2b0000: 1 (SD), dwmmc@fe2c0000: 2, sdhci@fe310000: 0
Bootdev(atags): mmc 1
MMC1: Legacy, 50Mhz
PartType: EFI
No misc partition
boot mode: None
FIT: No boot partition
No resource partition
Failed to load DTB
Failed to get kernel dtb, ret=-19
io-domain: OK
** Unable to use mmc 1:3 for loading the env **
Using default environment
Model: Pine64 RK3566 Quartz64 Board
rockchip_set_serialno: could not find efuse/otp device
CLK: (sync kernel. arm: enter 816000 KHz, init 816000 KHz, kernel 0N/A)
apll 816000 KHz
dpll 528000 KHz
gpll 1188000 KHz
cpll 1000000 KHz
npll 24000 KHz
vpll 24000 KHz
hpll 24000 KHz
ppll 100000 KHz
armclk 816000 KHz
aclk_bus 150000 KHz
pclk_bus 50000 KHz
aclk_top_high 300000 KHz
aclk_top_low 200000 KHz
hclk_top 150000 KHz
pclk_top 50000 KHz
aclk_perimid 300000 KHz
hclk_perimid 150000 KHz
pclk_pmu 50000 KHz
Net: clk_get_by_name(master_bus) failed: -22eqos_probe_resources() failed: -2.
Hit key to stop autoboot('CTRL+C'): 0
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:2...
Found /extlinux/extlinux.conf
Retrieving file: /extlinux/extlinux.conf
215 bytes read in 17 ms (11.7 KiB/s)
1: slarm64
Retrieving file: /Image
23048200 bytes read in 1957 ms (11.2 MiB/s)
append: root=/dev/mmcblk0p3 ro rootwait rootfstype=ext4 init=/sbin/init logleve8
Retrieving file: /dtb/rk3566-quartz64-a.dtb
115277 bytes read in 118 ms (953.1 KiB/s)
Fdt Ramdisk skip relocation
## Flattened Device Tree blob at 0x0a100000
Booting using the fdt blob at 0x0a100000
'reserved-memory' ramoops@110000: addr=110000 size=f0000
Using Device Tree in place at 000000000a100000, end 000000000a11f24c
Adding bank: 0x00200000 - 0xf0000000 (size: 0xefe00000)
Adding bank: 0x1f0000000 - 0x200000000 (size: 0x10000000)
Total: 2334.686 ms
Starting kernel ...
[ 0.116204] vcc3v3_pcie_p: regulator get failed, ret=-517
[ 0.265714] extcon extcon1: failed to create extcon usb2-phy link
[ 0.285670] mpp_rkvdec2 fdf80200.rkvdec: shared_niu_a is not found!
[ 0.285729] rkvdec2_init:875: No niu aclk reset resource define
[ 0.285760] mpp_rkvdec2 fdf80200.rkvdec: shared_niu_h is not found!
[ 0.285798] rkvdec2_init:878: No niu hclk reset resource define
[ 0.321635] dw-mipi-dsi fe060000.dsi: [drm:dw_mipi_dsi_bind] *ERROR* Failed 7
[ 0.330632] mali fde60000.gpu: Power management initialization failed error 7
[ 0.330721] mali fde60000.gpu: Device initialization Deferred
[ 0.347646] clk: failed to reparent clk_gmac1_rx_tx to gmac1_clkin: -22
[ 0.348225] rk_gmac-dwmac fe010000.ethernet: no regulator found
[ 0.490507] dwc3 fcc00000.dwc3: Failed to get clk 'ref': -2
[ 0.715217] rk817-battery rk817-battery: fb_temperature missing!
[ 0.715284] rk817-battery rk817-battery: energy_mode missing!
[ 0.715315] rk817-battery rk817-battery: zero_reserve_dsoc missing!
[ 0.787572] rk817-charger rk817-charger: power_dc2otg missing!
[ 0.787624] rk817-charger rk817-charger: sample_res missing!
[ 0.787651] rk817-charger rk817-charger: otg5v_suspend_enable missing!
[ 0.787693] rk817-charger rk817-charger: gate_function_disable missing!
[ 0.811757] rockchip-pinctrl pinctrl: pin gpio3-13 already requested by fe01c
[ 0.811868] rockchip-pinctrl pinctrl: pin-109 (fe5c0000.i2c) status -22
[ 0.811902] rockchip-pinctrl pinctrl: could not request pin 109 (gpio3-13) fl
[ 0.811956] rk3x-i2c fe5c0000.i2c: Error applying setting, reverse things bak
[ 0.812134] rockchip-pinctrl pinctrl: pin gpio3-11 already requested by fe01c
[ 0.812193] rockchip-pinctrl pinctrl: pin-107 (fe5e0000.i2c) status -22
[ 0.812235] rockchip-pinctrl pinctrl: could not request pin 107 (gpio3-11) fl
[ 0.812284] rk3x-i2c fe5e0000.i2c: Error applying setting, reverse things bak
[ 0.815112] rkisp_hw fdff0000.rkisp: can't request region for resource [mem ]
[ 0.866755] rockchip-pinctrl pinctrl: pin gpio0-16 already requested by fdd5q
[ 0.866841] rockchip-pinctrl pinctrl: pin-16 (sdio-pwrseq) status -22
[ 0.866875] rockchip-pinctrl pinctrl: could not request pin 16 (gpio0-16) frl
[ 0.866941] pwrseq_simple sdio-pwrseq: Error applying setting, reverse thingk
[ 0.898063] mmc2: Unknown controller version (5). You may experience problem.
[ 0.932838] rockchip,bus bus-npu: Failed to get leakage
[ 0.936192] rksfc_base v1.1 2016-01-08
[ 2.211873] mali fde60000.gpu: dev_pm_opp_set_regulators: no regulator (shad9
[ 2.218315] of_clk_hw_onecell_get: invalid index 3
[ 2.218450] ERROR: could not get clock /dmc:dmc_clk(0)
[ 2.218583] rockchip-dmc dmc: Cannot get the clk dmc_clk. If using SCMI, tru.
[ 2.238929] rkisp-vir0: update sensor failed
[ 2.316111] devfreq fde60000.gpu: Couldn't update frequency transition infor.
INIT: version 3.00 booting
[ 2.388564] headset_interrupt:get pin level again, pin=148,i=0
mount: proc mounted on /proc.
mount: sysfs mounted on /sys.
mount: tmpfs mounted on /run.
Creating static nodes in /dev.
Starting udevd: /sbin/udevd --daemon
Triggering udev events: /sbin/udevadm trigger --action=add
Setting the system clock rate: /sbin/adjtimex --tick 10000 --frequency 0
Setting system time from the hardware clock (localtime): Fri Aug 4 09:00:08 U7
Testing root filesystem status: read-only filesystem
Checking root filesystem:
fsck from util-linux 2.37.2
linuxroot: clean, 275683/3837504 files, 2492306/15520251 blocks
Remounting root device with read-write enabled.
mount: /dev/mmcblk0p3 mounted on /.
Updating module dependency list for 4.19.210: /sbin/depmod --quick
Configuring kernel parameters: /sbin/sysctl -e --system
* Applying /etc/sysctl.d/10-ext4_tune.conf ...
vm.dirty_writeback_centisecs = 100
vm.dirty_expire_centisecs = 100
* Applying /etc/sysctl.d/swap.conf ...
vm.swappiness = 10
Checking non-root filesystems:
fsck from util-linux 2.37.2
/dev/mmcblk0p2: clean, 142/65536 files, 67587/262144 blocks
Mounting non-root local filesystems:
tmpfs on /dev/shm type tmpfs (rw)
shm on /dev/shm type tmpfs (rw)
/dev/mmcblk0p2 on /boot type ext4 (rw,noatime,nodiratime)
Using /etc/random-seed to initialize /dev/urandom.
INIT: Entering runlevel: 4
Going multiuser...
Updating shared library links: /sbin/ldconfig &
setterm: cannot (un)set powersave mode: Inappropriate ioctl for device
Starting syslogd daemon: /usr/sbin/syslogd -s
Updating X font indexes: /usr/bin/fc-cache -f &
Updating hardware database index: /sbin/udevadm hwdb --update
Triggering udev events: /sbin/udevadm trigger --action=change
Starting the network interfaces...
eth0: polling for DHCP server
dhcpcd-9.4.0 starting
DUID 00:01:00:01:21:16:f4:1d:6e:1e:e9:b6:6a:f3
eth0: waiting for carrier
eth0: carrier acquired
eth0: IAID e9:b6:6a:f3
eth0: carrier lost
eth0: carrier acquired
eth0: IAID e9:b6:6a:f3
eth0: rebinding lease of 192.168.1.135
eth0: probing address 192.168.1.135/24
eth0: leased 192.168.1.135 for 86400 seconds
eth0: adding route to 192.168.1.0/24
eth0: adding default route via 192.168.1.254
forked to background, child pid 511
Starting system message bus: /usr/bin/dbus-uuidgen --ensure ; /usr/bin/dbus-dam
Starting elogind: /lib64/elogind/elogind --daemon
Starting Bluetooth services: bluetoothd hciconfig sdptool hciattach
Starting NetworkManager daemon: /usr/sbin/NetworkManager
Starting OpenSSH SSH daemon: /usr/sbin/sshd
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
Starting NTP daemon: /usr/sbin/ntpd -g -u ntp:ntp
Enabled CPU frequency scaling governor: ondemand
Updating MIME database: /usr/bin/update-mime-database /usr/share/mime &
Updating gtk.immodules:
/usr/bin/update-gtk-immodules &
Updating gdk-pixbuf.loaders:
/usr/bin/update-gdk-pixbuf-loaders &
Compiling GSettings XML schema files:
/usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas &
Starting crond: /usr/sbin/crond -l notice
Loading ALSA mixer settings: /usr/sbin/alsactl restore
alsa-lib main.c:1405:(snd_use_case_mgr_open) error: failed to import hw:0 use c2
alsa-lib main.c:1405:(snd_use_case_mgr_open) error: failed to import hw:1 use c2
Loading /usr/share/kbd/keymaps/i386/qwerty/us.map.gz
Running script /etc/rc.d/rc.local:
Starting up X11 session manager...
=======================================================================
if you want to transfer the system to SDcard to internal memory (eMMC or NAND),
follow transfer-to-disk
=======================================================================
slarm64 GNU/Linux (ttyFIQ0)
Kernel 4.19.210 (aarch64)
quartz64 login:
root@quartz64:~# fdisk -l
GPT PMBR size mismatch (19728383 != 122142719) will be corrected by write.
The backup GPT table is not on the end of the device.
Disk /dev/mmcblk2: 58.24 GiB, 62537072640 bytes, 122142720 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: gpt
Disk identifier: 7CA82528-DCD3-4A4F-94ED-A1D8071D0E47
Device Start End Sectors Size Type
/dev/mmcblk2p1 16384 49151 32768 16M Microsoft basic data
/dev/mmcblk2p2 49152 573439 524288 256M EFI System
/dev/mmcblk2p3 573440 19728350 19154911 9.1G Linux filesystem
Disk /dev/mmcblk0: 59.48 GiB, 63864569856 bytes, 124735488 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: gpt
Disk identifier: 7CA82528-DCD3-4A4F-94ED-A1D8071D0E47
Device Start End Sectors Size Type
/dev/mmcblk0p1 16384 49151 32768 16M Microsoft basic data
/dev/mmcblk0p2 49152 573439 524288 256M EFI System
/dev/mmcblk0p3 573440 124735454 124162015 59.2G Linux filesystem
root@quartz64:~# blkid
/dev/mmcblk2p2: UUID="77ac32f4-d0d6-45fd-9aa7-f000f9098d01" BLOCK_SIZE="1024" TYPE="ext4" PAR"
/dev/mmcblk2p3: LABEL="linuxroot" UUID="d14648ed-fd3c-4e85-b9fd-619cfcc8d206" BLOCK_SIZE="409"
/dev/mmcblk0p3: LABEL="linuxroot" UUID="d14648ed-fd3c-4e85-b9fd-619cfcc8d206" BLOCK_SIZE="409"
/dev/mmcblk0p2: UUID="77ac32f4-d0d6-45fd-9aa7-f000f9098d01" BLOCK_SIZE="1024" TYPE="ext4" PAR"
/dev/mmcblk2p1: PARTLABEL="uboot" PARTUUID="1803f25a-1357-4844-9f19-7ad173e8864f"
/dev/mmcblk0p1: PARTLABEL="uboot" PARTUUID="1803f25a-1357-4844-9f19-7ad173e8864f"
root@quartz64:~#
root@quartz64:~# cd /mnt
root@quartz64:/mnt# mkdir emmcp2
root@quartz64:/mnt# mkdir emmcp3
root@quartz64:/mnt# mount
/dev/mmcblk0p3 on / type ext4 (rw,noatime,nodiratime,data=writeback,errors=remount-ro)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
tmpfs on /dev/shm type tmpfs (rw)
shm on /dev/shm type tmpfs (rw)
/dev/mmcblk0p2 on /boot type ext4 (rw,noatime,nodiratime)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
root@quartz64:/mnt# mount /dev/mmcblk2p2 emmcp2
root@quartz64:/mnt# mount /dev/mmcblk2p3 emmcp3
root@quartz64:/mnt# cat emmcp2/extlinux/extlinux.conf
LABEL slarm64
LINUX /Image
FDT /dtb/rk3566-quartz64-a.dtb
APPEND root=UUID=d14648ed-fd3c-4e85-b9fd-619cfcc8d206 ro rootwait rootfstype=ext4 init=/sbin/8
root@quartz64:/mnt# cat emmcp3/etc/fstab
#
# /etc/fstab: static file system information
#
# <file system> <mount point> <type> <options> <dump> <pass>
shm /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts noexec,nosuid,gid=tty,mode=0620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
#
#/dev/#EXT4FS_BOOT# /boot ext4 errors=remount-ro 0 1
#/dev/#SWAP# swap swap defaults 0 0
#/dev/#EXT4FS_ROOT# / ext4 errors=remount-ro 0 1
#/dev/#EXT4FS_HOME# /home ext4 defaults 0 2
UUID=d14648ed-fd3c-4e85-b9fd-619cfcc8d206 / ext4 noatime,nodiratime,data=write1
UUID=77ac32f4-d0d6-45fd-9aa7-f000f9098d01 /boot ext4 noatime,nodiratime 0 1
got it working on eMMC
I just edited extlinux.conf thusly
Code:
root@quartz64:~# cat /boot/extlinux/extlinux.conf
LABEL slarm64
LINUX /Image
FDT /dtb/rk3566-quartz64-a.dtb
APPEND root=/dev/mmcblk2p3 ro rootwait rootfstype=ext4 init=/sbin/init loglevel=4 earlycon=uar
t8250,mmio32,0xfe660000 console=tty1 console=ttyFIQ0,1500000n8
I wonder if there is a way to put UUID in the root=