Hi.
I enabled falcon mode.
However, there is a problem with that and I ask a question.
The error message is shown below.
MMC: block number 0x1001 exceeds max(0x1000)
mmc_load_image_raw_sector: mmc block read error
I modified u-boot and updated the target after the build.
Apalis iMX6 # setenv serverip 192.168.0.30
Apalis iMX6 # setenv ipaddr 192.168.0.111
Apalis iMX6 # run setethupdate
Using FEC device
TFTP from server 192.168.0.30; our IP address is 192.168.0.111
Filename 'flash_eth.img'.
Load address: 0x12000000
Loading: ################################################## 3.9 KiB
559.6 KiB/s
done
Bytes transferred = 4017 (fb1 hex)
## Executing script at 12000000
enter "run update" to update the entire module
Apalis iMX6 # run update_spl
Using FEC device
TFTP from server 192.168.0.30; our IP address is 192.168.0.111
Filename 'apalis_imx6/SPL'.
Load address: 0x12000000
Loading: ################################################## 59 KiB
4.8 MiB/s
done
Bytes transferred = 60416 (ec00 hex)
switch to partitions #1, OK
mmc0(part 1) is current device
MMC write: dev # 0, block # 2, count 118 ... 118 blocks written: OK
Apalis iMX6 #
Apalis iMX6 # run update_uboot
Using FEC device
TFTP from server 192.168.0.30; our IP address is 192.168.0.111
Filename 'apalis_imx6/u-boot.img'.
Load address: 0x12000000
Loading: ################################################## 404.9 KiB
6.1 MiB/s
done
Bytes transferred = 414580 (65374 hex)
switch to partitions #1, OK
mmc0(part 1) is current device
MMC write: dev # 0, block # 138, count 810 ... 810 blocks written: OK
Fuse 0, 5: 5072
Fast boot mode already fused, no need to fuse
And then I ran “reset” and “spl export” command.
Apalis iMX6 # setenv serverip 192.168.0.30
Apalis iMX6 # dhcp ${kernel_addr_r} uImage
BOOTP broadcast 1
DHCP client bound to address 192.168.0.156 (24 ms)
Using FEC device
TFTP from server 192.168.0.30; our IP address is 192.168.0.156
Filename 'uImage'.
Load address: 0x11000000
Loading: ################################################## 5 MiB
6.3 MiB/s
done
Bytes transferred = 5207280 (4f74f0 hex)
Apalis iMX6 # dhcp ${fdt_addr_r} imx6q-apalis-eval.dtb
BOOTP broadcast 1
DHCP client bound to address 192.168.0.156 (23 ms)
Using FEC device
TFTP from server 192.168.0.30; our IP address is 192.168.0.156
Filename 'imx6q-apalis-eval.dtb'.
Load address: 0x12000000
Loading: ################################################## 49.2 KiB
4 MiB/s
done
Bytes transferred = 50345 (c4a9 hex)
Apalis iMX6 # mmc dev 0
switch to partitions #0, OK
mmc0(part 0) is current device
Apalis iMX6 # mmc write ${kernel_addr_r} 0x1000 0x4000
MMC write: dev # 0, block # 4096, count 16384 ... 16384 blocks written: OK
Apalis iMX6 # setenv bootargs "console=enable_wait_mode=off vmalloc=400M ip=off root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait fec_mac=00:14:2d:4f:52:d5 consoleblank=0 no_console_suspend=1 console=tty1 console=ttymxc0,115200n8 mxc_hdmi.only_cea=1 video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24 video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off fbmem=32M"
Apalis iMX6 # spl export fdt ${kernel_addr_r} - ${fdt_addr_r}
## Booting kernel from Legacy Image at 11000000 ...
Image Name: Linux-4.1.44-2.7.4+gb1555bf
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 5207216 Bytes = 5 MiB
Load Address: 10008000
Entry Point: 10008000
Verifying Checksum ... OK
## Flattened Device Tree blob at 12000000
Booting using the fdt blob at 0x12000000
Loading Kernel Image ... OK
Using Device Tree in place at 12000000, end 1200f4a8
subcommand not supported
subcommand not supported
Using Device Tree in place at 12000000, end 120124a8
Argument image is now in RAM: 0x12000000
Apalis iMX6 # mmc write 12000000 0x800 0x800
MMC write: dev # 0, block # 2048, count 2048 ... 2048 blocks written: OK
Apalis iMX6 #
Please let me know if I made a mistake.
Or please let me know how to apply falcon mode.
Please let me know if there is any other applicable way to fast boot.
Thanks