I have set mainline uboot and kernel ,and get the ubuntu image, but burn failed in
unpacking image stage:
burn-tool -v aml -b VIM1 -i build/images/vim1-ubuntu-20.04-xfce-linux-5.18-fenix-1.1.1-251021-develop.img
Try to burn Amlogic image…
Burning image ‘/work/vim1/fenix/build/images/vim1-ubuntu-20.04-xfce-linux-5.18-fenix-1.1.1-251021-develop.img’ for ‘VIM1/VIM2’ to eMMC…
Rebooting the board …[OK]
Unpacking image [KO]
I tried to burn android img,its okay , and kernel-4.9 & uboot-2015.1 img also okay。
Anyone know how to fix this?
numbqq
2
Hello @yangchao315
For mainline image, you cant use the USB flash tool, you can write the mainline image to SD cand and boot from the SD card.
Should I change boot mode?
As I know , flash to emmc, it boot from eMMC, if flash to SD card,any hw setting should I do?
numbqq
4
Hello @yangchao315
You can follow the below steps:
Thanks a lot.
one more question,which dts & kernel config used in mainline?
I find no “drm” in meson-gxl-s905x-khadas-vim.dtb, is this right?
./11.dts:1531: vpu@d0100000 {
./11.dts:1533: reg = <0x00 0xd0100000 0x00 0x100000 0x00 0xc883c000 0x00 0x1000>;
./11.dts:2022: vpu = "/soc/vpu@d0100000";
./11.dts:2023: cvbs_vdac_port = "/soc/vpu@d0100000/port@0";
./11.dts:2024: hdmi_tx_port = "/soc/vpu@d0100000/port@1";
./11.dts:2025: hdmi_tx_out = "/soc/vpu@d0100000/port@1/endpoint";
./meson-gx.dtsi:633: vpu: vpu@d0100000 {
./meson-gx.dtsi:635: reg = <0x0 0xd0100000 0x0 0x100000>,
--> vpu: vpu@d0100000 {
compatible = "amlogic,meson-gx-vpu";
meson-gx-vpu in dts, but driver as bellow, any other dts-overlay used in this case?
static const struct of_device_id dt_match[] = {
{ .compatible = "amlogic,meson-gxbb-vpu",
.data = (void *)&meson_drm_gxbb_data },
{ .compatible = "amlogic,meson-gxl-vpu",
.data = (void *)&meson_drm_gxl_data },
{ .compatible = "amlogic,meson-gxm-vpu",
.data = (void *)&meson_drm_gxm_data },
{ .compatible = "amlogic,meson-g12a-vpu",
.data = (void *)&meson_drm_g12a_data },
{}
};
MODULE_DEVICE_TABLE(of, dt_match);
./meson-gxl.dtsi:912
&vpu {
compatible = "amlogic,meson-gxl-vpu", "amlogic,meson-gx-vpu";
power-domains = <&pwrc PWRC_GXBB_VPU_ID>;
};
find it
system
Closed
8
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.