Can't access iMX7 via fastboot on Mac

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Can't access iMX7 via fastboot on Mac

1,309件の閲覧回数
j2abro
Contributor I

Hello

I'm not able to access iMX7 (PICO-PI-IMX7) via fastboot or ADB. I'm on a Mac and also tried Windows to no avail. My goal is to flash the device with Android Things image. I am able to access the device via a terminal. Any idea what might be my issue? I've reviewed the Android Things guide from Google, as well as the Quick Start guide (PICO i.MX7D Development Platform for Android Things Quick Start Guide).

# fastboot devices //doesn't return anythig

# adb devcies //doesn't return anything

My Mac does 'see' the USB device. I have connected other boards in the past and seen been able to access them via fastboot.

Any help appreciated.

Thanks,

John

タグ(3)
0 件の賞賛
返信
2 返答(返信)

922件の閲覧回数
b36401
NXP Employee
NXP Employee

Please try to add androidboot.dm_verity=disabled and androidboot.selinux=disabled options to bootargs.

Have a great day,
Victor

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信

922件の閲覧回数
j2abro
Contributor I

Victor

Thanks for the reply! I've tried 

=> setenv bootargs androidboot.dm_verity=disabled androidboot.selinux=disabled

=> saveenv

=> boot

and

=> setenv cmd_custom 'setenv bootargs androidboot.dm_verity=disabled androidboot.selinux=disabled'

=> savenv

=> boot

But I'm still getting nothing for $ fastboot devices . Am I misunderstanding how to set the evniroment? My board env is below. Any help appreciated.

Thanks,

John

=> printenv
baudrate=115200
boot_fdt=try
bootargs=androidboot.selinux=disabled
bootcmd=mmc dev ${mmcdev};mmc dev ${mmcdev}; if mmc rescan; then if run loadbootscript; then run bootscript; else if run loadimage; then run mmcboot; else run netboot; fi; fi; else run netboot; fi
bootcmd_mfg=run mfgtool_args;bootz ${loadaddr} ${initrd_addr} ${fdt_addr};
bootdelay=3
bootscript=echo Running bootscript from mmc ...; source
console=ttymxc4
ethact=FEC0
ethaddr=00:1f:7b:aa:01:32
ethprime=FEC
fdt_addr=0x83000000
fdt_file=imx7d-pico_pi.dtb
fdt_high=0xffffffff
image=zImage
initrd_addr=0x83800000
initrd_high=0xffffffff
ip_dyn=yes
loadaddr=0x80800000
loadbootscript=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};
loadfdt=fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdt_file}
loadimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image}
loadm4image=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${m4image}
m4boot=sf probe 0:0; bootaux 0x60000000
m4image=m4_qspi.bin
mfgtool_args=setenv bootargs console=${console},${baudrate} rdinit=/linuxrc g_mass_storage.stall=0 g_mass_storage.removable=1 g_mass_storage.idVendor=0x066F g_mass_storage.idProduct=0x37FF g_mass_storage.iSerialNumber="" clk_ignore_unused
mmcargs=setenv bootargs console=${console},${baudrate} root=${mmcroot}
mmcautodetect=yes
mmcboot=echo Booting from mmc ...; run mmcargs; if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if run loadfdt; then bootz ${loadaddr} - ${fdt_addr}; else if test ${boot_fdt} = try; then bootz; else echo WARN: Cannot load the DT; fi; fi; else bootz; fi;
mmcdev=1
mmcpart=1
mmcroot=/dev/mmcblk2p2 rootwait rw
netargs=setenv bootargs console=${console},${baudrate} root=/dev/nfs ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp
netboot=echo Booting from net ...; run netargs; if test ${ip_dyn} = yes; then setenv get_cmd dhcp; else setenv get_cmd tftp; fi; ${get_cmd} ${image}; if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if ${get_cmd} ${fdt_addr} ${fdt_file}; then bootz ${loadaddr} - ${fdt_addr}; else if test ${boot_fdt} = try; then bootz; else echo WARN: Cannot load the DT; fi; fi; else bootz; fi;
script=boot.scr
splashpos=m,m
update_m4_from_sd=if sf probe 0:0; then if run loadm4image; then setexpr fw_sz ${filesize} + 0xffff; setexpr fw_sz ${fw_sz} / 0x10000; setexpr fw_sz ${fw_sz} * 0x10000; sf erase 0x0 ${fw_sz}; sf write ${loadaddr} 0x0 ${filesize}; fi; fi

Environment size: 2452/8188 bytes

0 件の賞賛
返信