Firefly开源社区

12
发表新贴
打印 上一主题 下一主题

[Android] RK3566开发板自己编译的android11通过,但是系统进不去,请教下大家?

2122

积分

20

威望

24

贡献

中级创客

Rank: 4

积分
2122
发表于 2022-8-8 10:17:46        只看该作者  11#
zhu944567126 发表于 2022-8-8 10:14
你好 存储是4G+32G, 规格:核心板+底板  Core-3566JD4

你把SDK/kernel/arch/arm64/boot/dts/rockchip/rk3566-firefly-aiojd4.dtsi
里面,dmc节点的status,从okay改为disabled
然后重新编译烧录内核应该就能起来了
回复

使用道具 举报

361

积分

0

威望

0

贡献

技术达人

Rank: 2

积分
361
发表于 2022-8-8 10:32:17        只看该作者  12#
Liuth 发表于 2022-8-8 10:17
你把SDK/kernel/arch/arm64/boot/dts/rockchip/rk3566-firefly-aiojd4.dtsi
里面,dmc节点的status,从o ...

谢谢了,我先试试。不管结果,我都会回复你。
回复

使用道具 举报

361

积分

0

威望

0

贡献

技术达人

Rank: 2

积分
361
发表于 2022-8-8 11:13:57        只看该作者  13#
Liuth 发表于 2022-8-8 10:17
你把SDK/kernel/arch/arm64/boot/dts/rockchip/rk3566-firefly-aiojd4.dtsi
里面,dmc节点的status,从o ...

zcp@ubuntu:~/proj/RK356X_Android11.0/kernel$ make ARCH=arm64 firefly_defconfig android-11.config rk356x.config
arch/arm64/configs/firefly_defconfig:980:warning: override: reassigning to symbol MFD_RK628
arch/arm64/configs/firefly_defconfig:981:warning: override: reassigning to symbol DRM_ROCKCHIP_RK628
#
# configuration written to .config
#
Using .config as base
Merging ./kernel/configs/android-11.config
Value of CONFIG_CIFS is redefined by fragment ./kernel/configs/android-11.config:
Previous value: CONFIG_CIFS=y
New value: # CONFIG_CIFS is not set

Value of CONFIG_CIFS_XATTR is redefined by fragment ./kernel/configs/android-11.config:
Previous value: CONFIG_CIFS_XATTR=y
New value: # CONFIG_CIFS_XATTR is not set

Value of CONFIG_CIFS_POSIX is redefined by fragment ./kernel/configs/android-11.config:
Previous value: CONFIG_CIFS_POSIX=y
New value: # CONFIG_CIFS_POSIX is not set

Value of CONFIG_CRYPTO_MD4 is redefined by fragment ./kernel/configs/android-11.config:
Previous value: CONFIG_CRYPTO_MD4=y
New value: # CONFIG_CRYPTO_MD4 is not set

Value of CONFIG_DEVMEM is redefined by fragment ./kernel/configs/android-11.config:
Previous value: CONFIG_DEVMEM=y
New value: # CONFIG_DEVMEM is not set

Value of CONFIG_ANDROID_BINDERFS is redefined by fragment ./kernel/configs/android-11.config:
Previous value: # CONFIG_ANDROID_BINDERFS is not set
New value: CONFIG_ANDROID_BINDERFS=y

Value of CONFIG_IKHEADERS is redefined by fragment ./kernel/configs/android-11.config:
Previous value: CONFIG_IKHEADERS=m
New value: CONFIG_IKHEADERS=y

Value of CONFIG_UNICODE_NORMALIZATION_SELFTEST is redefined by fragment ./kernel/configs/android-11.config:
Previous value: # CONFIG_UNICODE_NORMALIZATION_SELFTEST is not set
New value: CONFIG_UNICODE_NORMALIZATION_SELFTEST=y

#
# merged configuration written to .config (needs make)
#
scripts/kconfig/conf  --oldconfig Kconfig
#
# configuration written to .config
#
Using .config as base
Merging ./kernel/configs/rk356x.config
Value of CONFIG_MALI_MIDGARD is redefined by fragment ./kernel/configs/rk356x.config:
Previous value: CONFIG_MALI_MIDGARD=y
New value: # CONFIG_MALI_MIDGARD is not set

Value of CONFIG_MALI_EXPERT is redefined by fragment ./kernel/configs/rk356x.config:
Previous value: CONFIG_MALI_EXPERT=y
New value: # CONFIG_MALI_EXPERT is not set

Value of CONFIG_MALI_DEBUG is redefined by fragment ./kernel/configs/rk356x.config:
Previous value: CONFIG_MALI_DEBUG=y
New value: # CONFIG_MALI_DEBUG is not set

#
# merged configuration written to .config (needs make)
#
scripts/kconfig/conf  --oldconfig Kconfig
#
# configuration written to .config
#
zcp@ubuntu:~/proj/RK356X_Android11.0/kernel$ make ARCH=arm64 BOOT_IMG=../rockdev/Image-rk3566_firefly_aiojd4/boot.img rk3566-firefly-aiojd4.img -j8
scripts/kconfig/conf  --syncconfig Kconfig
  DTC     arch/arm64/boot/dts/rockchip/rk3566-firefly-aiojd4.dtb
  CALL    scripts/checksyscalls.sh
arch/arm64/boot/dts/rockchip/rk3566-firefly-aiojd4.dtb: Warning (reg_format): /rkisp-vir1/port:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
arch/arm64/boot/dts/rockchip/rk3566-firefly-aiojd4.dtb: Warning (pci_device_bus_num): Failed prerequisite 'reg_format'
arch/arm64/boot/dts/rockchip/rk3566-firefly-aiojd4.dtb: Warning (avoid_default_addr_size): /rkisp-vir1/port: Relying on default #address-cells value
arch/arm64/boot/dts/rockchip/rk3566-firefly-aiojd4.dtb: Warning (avoid_default_addr_size): /rkisp-vir1/port: Relying on default #size-cells value
arch/arm64/boot/dts/rockchip/rk3566-firefly-aiojd4.dtb: Warning (graph_endpoint): /i2c@fe5d0000/XC7022b@1b/port/endpoint: graph connection to node '/csi2-dphy0/ports/port@0/endpoint@1' is not bidirectional
arch/arm64/boot/dts/rockchip/rk3566-firefly-aiojd4.dtb: Warning (graph_endpoint): /csi2-dphy0/ports/port@0/endpoint@4: graph connection to node '/i2c@fe5d0000/XC7022b@1b/port/endpoint' is not bidirectional
arch/arm64/boot/dts/rockchip/rk3566-firefly-aiojd4.dtb: Warning (graph_endpoint): /csi2-dphy1/ports/port@1/endpoint@1: graph connection to node '/rkisp-vir0/port/endpoint@0' is not bidirectional
  CHK     include/generated/compile.h
  GZIP    kernel/config_data.gz
  CHK     kernel/kheaders_data.tar.xz
  GEN     kernel/kheaders_data.tar.xz
  CC      kernel/kheaders.o
  UPD     kernel/config_data.h
  CC      kernel/configs.o
  AR      kernel/built-in.a
  GEN     .version
  CHK     include/generated/compile.h
  UPD     include/generated/compile.h
  CC      init/version.o
  AR      init/built-in.a
  AR      built-in.a
  MODPOST vmlinux.o
  KSYM    .tmp_kallsyms1.o
  KSYM    .tmp_kallsyms2.o
  LD      vmlinux
  SORTEX  vmlinux
  SYSMAP  System.map
  OBJCOPY arch/arm64/boot/Image
  LZ4C    arch/arm64/boot/Image.lz4
  Image:  kernel.img is ready
  CALL    scripts/checksyscalls.sh
  CHK     include/generated/compile.h
  CHK     kernel/kheaders_data.tar.xz
  CC [M]  drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/aiutils.o
  CC [M]  drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/siutils.o
  CC [M]  drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/sbutils.o
  CC [M]  drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/bcmutils.o
  CC [M]  drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/bcmwifi_channels.o
  CC [M]  drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/dhd_linux.o
  CC [M]  drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/dhd_linux_platdev.o
  CC [M]  drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/dhd_linux_sched.o
  CC [M]  drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/dhd_pno.o
  CC [M]  drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/dhd_common.o
  CC [M]  drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/dhd_ip.o
  CC [M]  drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/dhd_linux_wq.o
  CC [M]  drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/dhd_custom_gpio.o
  CC [M]  drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/bcmevent.o
  CC [M]  drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/hndpmu.o
  CC [M]  drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/linux_osl.o
  CC [M]  drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/wldev_common.o
  CC [M]  drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/wl_android.o
  CC [M]  drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/bcmxtlv.o
  CC [M]  drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/dhd_debug_linux.o
  CC [M]  drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/dhd_debug.o
  CC [M]  drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/dhd_mschdbg.o
  CC [M]  drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/hnd_pktq.o
  CC [M]  drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/hnd_pktpool.o
  CC [M]  drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/dhd_config.o
  CC [M]  drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/dhd_ccode.o
  CC [M]  drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/wl_event.o
  CC [M]  drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/wl_android_ext.o
  CC [M]  drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/wl_escan.o
  CC [M]  drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/bcmsdh.o
  CC [M]  drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/bcmsdh_linux.o
  CC [M]  drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/bcmsdh_sdmmc.o
  CC [M]  drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/bcmsdh_sdmmc_linux.o
  CC [M]  drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/dhd_sdio.o
  CC [M]  drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/dhd_cdc.o
  CC [M]  drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/dhd_wlfc.o
  CC [M]  drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/dhd_rtt.o
  CC [M]  drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/bcm_app_utils.o
  CC [M]  drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/dhd_gpio.o
  CC [M]  drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/wl_iw.o
  CC [M]  drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/wl_cfg80211.o
  CC [M]  drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/wl_cfgp2p.o
  CC [M]  drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/wl_linux_mon.o
  CC [M]  drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/wl_cfg_btcoex.o
  CC [M]  drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/wl_cfgvendor.o
  CC [M]  drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/dhd_cfg80211.o
  LD [M]  drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/bcmdhd.o
  Building modules, stage 2.
  MODPOST 5 modules
  CC      drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/bcmdhd.mod.o
  LD [M]  drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/bcmdhd.ko
found ./arch/arm64/boot/dts/rockchip/.rk3566-firefly-aiojd4.dtb.dts.tmp
found ./arch/arm64/boot/dts/rockchip/.rk3566-firefly-aiojd4.dtb.dts.tmp
found ./arch/arm64/boot/dts/rockchip/.rk3566-firefly-aiojd4.dtb.dts.tmp
found ./arch/arm64/boot/dts/rockchip/.rk3566-firefly-aiojd4.dtb.dts.tmp
found ./arch/arm64/boot/dts/rockchip/.rk3566-firefly-aiojd4.dtb.dts.tmp
found ./arch/arm64/boot/dts/rockchip/.rk3566-firefly-aiojd4.dtb.dts.tmp
found ./arch/arm64/boot/dts/rockchip/.rk3566-firefly-aiojd4.dtb.dts.tmp
  Image:  resource.img (with rk3566-firefly-aiojd4.dtb logo.bmp logo_kernel.bmp) is ready
  Image:  boot.img (../rockdev/Image-rk3566_firefly_aiojd4/boot.img + Image) is ready
  Image:  zboot.img (../rockdev/Image-rk3566_firefly_aiojd4/boot.img + Image.lz4) is ready
zcp@ubuntu:~/proj/RK356X_Android11.0/kernel$



回复

使用道具 举报

361

积分

0

威望

0

贡献

技术达人

Rank: 2

积分
361
发表于 2022-8-8 11:20:52        只看该作者  14#
Liuth 发表于 2022-8-8 10:17
你把SDK/kernel/arch/arm64/boot/dts/rockchip/rk3566-firefly-aiojd4.dtsi
里面,dmc节点的status,从o ...

我用root权限改了 你说的 设备树节点,  编译后我复制/home/zcp/proj/RK356X_Android11.0/kernel 这个新编译的boot.img ,开发板进入loader模式直接烧这一个文件,系统还是到不了android桌面。
回复

使用道具 举报

2122

积分

20

威望

24

贡献

中级创客

Rank: 4

积分
2122
发表于 2022-8-8 11:28:08        只看该作者  15#
不应该啊,你改的哪里的文件?为什么要root权限去改?
回复

使用道具 举报

361

积分

0

威望

0

贡献

技术达人

Rank: 2

积分
361
发表于 2022-8-8 11:38:35        只看该作者  16#
/home/zcp/proj/RK356X_Android11.0/kernel/arch/arm64/boot/dts/rockchip  我只是用进入root 用了gedit 改了你说的节点,

我只改你说的节点
&dfi {
    status = "okay";
};

&dmc {
    status = "disabled";
};

&vcc3v3_pcie{
    status="disabled";
};

文件权限是   rk3566-firefly-aiojd4.dtsi
-rw-rw-r-- 1 zcp zcp 7.9K Aug  8 10:36 rk3566-firefly-aiojd4.dtsi


我想问下,我去拆开公版的boot 然后烧我自己系统,再烧公版的boot 是不是先可以跑起来我自己的系统
回复

使用道具 举报

361

积分

0

威望

0

贡献

技术达人

Rank: 2

积分
361
发表于 2022-8-8 11:45:25        只看该作者  17#
Liuth 发表于 2022-8-8 10:17
你把SDK/kernel/arch/arm64/boot/dts/rockchip/rk3566-firefly-aiojd4.dtsi
里面,dmc节点的status,从o ...

已经进入android系统桌面了,我是拿着公版的系统android11镜像拆开了boot给,我自己编译的andorid系统 重烧公网的boot。我希望有空时候,解决我自己编译的boot能用啊。
回复

使用道具 举报

67

积分

0

威望

0

贡献

技术小白

积分
67
QQ
发表于 2022-9-7 14:20:29        只看该作者  18#
你好我按照步骤来出现了找不到某个文件夹的错误,想问问原因,我的版本是Ubuntu18.04,

1.png (555.66 KB, 下载次数: 841)

1.png
回复

使用道具 举报

67

积分

0

威望

0

贡献

技术小白

积分
67
QQ
发表于 2022-9-8 11:55:13        只看该作者  19#
你好我第一次编译几个小时后出现了ninja失败的提示,我执行的是首次编译命令“./FFTools/make.sh -d rk3568-firefly-aioj -j8 -l rk3568_firefly_aioj-userdebug”出现的,想问问怎么解决

5.png (378.55 KB, 下载次数: 833)

5.png

6.png (614.48 KB, 下载次数: 851)

6.png
回复

使用道具 举报

1万

积分

18

威望

20

贡献

神级创客

Rank: 8Rank: 8

积分
10851

突出贡献

发表于 2022-9-8 14:26:00        只看该作者  20#
ubuntu是虚拟机吗,配置情况怎样
回复

使用道具 举报

返回列表
12
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表