To use single flash of 64MB do i need to make some changes to u-boot and kernel? You do not have to make any code changes. You just: 1. Program everything (u-boot, dtb, kernel, rootfs) into 1 SPI flash 2. Change your boot sequence from "qspi dual" to "qspi single" NOTE: Your SPI addresses will be different because now you are only writing to 1 SPI flash. So, from your example above: # for writing 5MB uImage image to flash: = sf probe 0 = sf erase 200000 500000 = sf write 0x0C000000 200000 500000 # for writing 56MB squashfs image to flash: = sf probe 0 = sf erase 800000 3800000 = sf write 0x0C000000 800000 3800000 ## NOTE ## Now that I look at it, you are trying to program in a 56MB image. Meaning...if you only have 32MB of SDRAM on your board, you can't download a 56MB image to SDRAM with the Jlink to then be programmed into with u-boot. You have to split up your 56MB image into smaller images (that will fit into your SDRAM). You can use the Linux 'split' command to cut your file into smaller fixed sizes. For example, to split into 16M chunks: $ split -b 16M -d rootfs.squashfs rootfs.squashfs_ Chris
↧