OpenNuvoton / NUC970_NuWriter

NUC970/N9H30 NuWriter PC tool and firmware source code
18 stars 22 forks source link

Is nuwrite support nand(size : 4GB, page : 8k, oobsize : 448) #4

Closed williany closed 2 years ago

williany commented 3 years ago

my pack image include spl and uboot produced by nuwrite pack. I first erase my device(nand flash size : 4GB, page : 8k, oobsize : 448) and then flash it to device by pack manner, after flash, I readback the data(0~1M) from device. but I find the data on addr 0 is uboot data not spl. Is the newest nuwrite support flash nand nand(size : 4GB, page : 8k, oobsize : 448) ? thanks

yachen commented 3 years ago

NuWriter can support 4GB NAND flash. What's the offset of u-Boot.bin in NAND flash? NUC970 reserved block0~3 for SPL image. The block size is probably 1MB for a 4GB NAND, so your u-boot.bin and env must not occupy the first 4MB while you build the pack image.

williany commented 3 years ago

thanks, you are right。it's ok.