Beau 发表于 2022-6-8 10:42:34

OpenHarmony 使用手册步骤5:烧录修改后分区表和image,无法进入harmory界面

按照操作手册进行操作,在进行到第五步时,可以下载成功,但是不能进入openharmony系统界面。

Beau 发表于 2022-6-8 11:19:35

安装文件资料,开发板为3568jhttps://pan.baidu.com/s/1Gqh7ypLSsSMDKktTZmvOZg提取码:eii4]openharmony编译完成后代码

ChikoHu 发表于 2022-6-8 14:35:18

我这边移植也进不,在启动内核就崩溃了。

分区表的内容如下:
FIRMWARE_VER: 1.0
MACHINE_MODEL: RK3568
MACHINE_ID: 007
MANUFACTURER: RK3568
MAGIC: 0x5041524B
ATAG: 0x00200800
MACHINE: 0xffffffff
CHECK_MASK: 0x80
PWR_HLD: 0,0,A,0,1
TYPE: GPT
CMDLINE: mtdparts=rk29xxnand:0x00002000@0x00004000(uboot),0x00002000@0x00006000(misc),0x00020000@0x00008000(boot),0x00020000@0x00028000(recovery),0x00010000@0x00048000(backup),0x00096000@0x00058000(oem),0x00400000@0x000EE000(rootfs),-@0x004EE000(userdata:grow)
uuid:rootfs=614e0000-0000-4b53-8000-1d28000054a9

vendor.img 256M这里分配 300M
system.img 1.5G   这里分配 2G
userdata.img 1.4G

mount: mounting /run on /root/run failed: No such file or directory
run-init: /sbin/init: No such file or directory
Target filesystem doesn't have requested /sbin/init.
run-init: /sbin/init: No such file or directory
run-init: /etc/init: Permission denied
[    5.222574] DISABLE_INIT_TWO_STAGES not defined
[    5.222798] Failed get fstab.required
[    5.222907] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000004
[    5.222907]
[    5.224703] CPU: 3 PID: 1 Comm: init Not tainted 4.19.232 #1
[    5.225200] Hardware name: AIO-3568J HDMI (Linux) (DT)
[    5.225653] Call trace:
[    5.225891]dump_backtrace+0x0/0x188
[    5.226220]show_stack+0x24/0x30
[    5.226526]dump_stack+0x8c/0xb4
[    5.226832]panic+0x138/0x2b0
[    5.227117]do_exit+0x1a4/0x884
[    5.227410]__arm64_sys_exit_group+0x0/0x24
[    5.227795]get_signal+0x694/0x698
[    5.228111]do_signal+0x9c/0x238
[    5.228414]do_notify_resume+0xc8/0x114
[    5.228764]work_pending+0x8/0x10
[    5.229072] SMP: stopping secondary CPUs
[    5.229475] PMU CRU:
[    5.229684] 00000000: 00006064 00001481 00000000 00000007 00007f00 00000000 00000000 00000000
[    5.230437] 00000020: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    5.231190] 00000040: 00002063 00001481 00000000 00000007 00007f00 00000000 00000000 00000000
[    5.231942] 00000060: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    5.232695] 00000080: 00000001 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    5.233448] 000000a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    5.234200] 000000c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    5.234952] 000000e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    5.235705] 00000100: 00000080 0040b71b 00000001 00000001 00000800 00000000 00000001 00000009

FenixLee 发表于 2022-6-9 15:40:45

可以将enable_ramdisk从true改为false后重新编译尝试。
页: [1]
查看完整版本: OpenHarmony 使用手册步骤5:烧录修改后分区表和image,无法进入harmory界面