Improvements to the implementation method of U-Boot supporting boot from multiple flashes
B Wang · Microcomputer Information · 2012
The standard U-Boot does not support boot from NAND Flash yet at present,and the existing method of enabling U-Boot to boot from NAND Flash cannot recognize new NAND Flash with large pagesize and does not perform the bad block detection.To solve the above problems,this paper presents a general method of acquiring the pagesize and blocksize information of NAND Flash, and implements the function of detecting bad blocks.Furthermore,this paper presents an improvement to the existing method of automatically identifying whether the system are booting from NOR Flash or from NAND Flash after power on.After modifying and porting the U-Boot-2010.09 to mini2440 development board which is based on S3C2440A processor,the running result shows that UBoot supporting dual-boot from NOR and NAND Flash has been implemented,and the function of U-Boot has been extended.