AnsweredAssumed Answered

Running the Linux image from NFS

Question asked by ma chengyuan on Jun 25, 2018
Latest reply on Jun 26, 2018 by ma chengyuan

Hello,I am using the i.MX 8M QUAD EVK.I want to run the Linux image from NFS.I operate in accordance with 4.7.5 of the i.MX_Linux_User's_Guide.pdf.The following is my parameter setting:

setenv ipaddr 192.168.0.100 && setenv serverip 192.168.0.102 && setenv image Image && setenv fdt_file fsl-imx8mq-evk.dtb && setenv bootcmd_net 'run rootfsinfo; dhcp ${image}; dhcp ${fdt_addr}${fdt_file}; booti ${loadaddr} - ${fdt_addr}' && setenv bootcmd 'run bootcmd_net'.

But here's the problem:

BOOTP broadcast 1

DHCP client bound to address 192.168.0.100 (3 ms)

Using ethernet@30be0000 device

TFTP from server 192.168.0.102; our IP address is 192.168.0.100

Filename 'Image'.Load address: 0x40480000

Loading: #################################################################         #######################       

2.3 MiB/s

done

Bytes transferred = 20464128 (1384200 hex)

BOOTP broadcast 1

DHCP client bound to address 192.168.0.100 (3 ms)

Using ethernet@30be0000 device

TFTP from server 192.168.0.102; our IP address is 192.168.0.100

Filename 'fsl-imx8mq-evk.dtb'.

Load address: 0x40480000

Loading: ###         1.4 MiB/s

done

Bytes transferred = 42199 (a4d7 hex)

Bad Linux ARM64 Image magic!

It's not just my own compiled kernel and device tree that doesn't work. The same problems can occur with the kernel and device tree in the

L4.9.51_8mq-ga_mfg-tools.

Outcomes