Date:2011-05-27 10:49:31 (9 years 11 days ago)
Author:Xiangfu Liu
Commit:43a86619c3cb9aceaace51097bc35d59b7b8a4fc
Message:uboot-xburst: nanonote: using 0xFF fill the bin file

Files: package/uboot-xburst/files/nand_spl/board/xburst/nanonote/Makefile (1 diff)

Change Details

package/uboot-xburst/files/nand_spl/board/xburst/nanonote/Makefile
4343all: $(obj).depend $(ALL)
4444
4545$(nandobj)u-boot-spl-16k.bin: $(nandobj)u-boot-spl.bin
46    dd bs=1024 count=8 if=/dev/zero of=$(nandobj)junk1
46    tr '\0' '\377' < /dev/zero | dd bs=1024 count=8 of=$(nandobj)junk1
4747    cat $< $(nandobj)junk1 > $(nandobj)junk2
4848    dd bs=1024 count=8 if=$(nandobj)junk2 of=$(nandobj)junk3
4949    cat $(nandobj)junk3 $(nandobj)junk3 > $(nandobj)junk4
50    dd bs=1024 count=256 if=/dev/zero of=$(nandobj)junk5
50
51    tr '\0' '\377' < /dev/zero | dd bs=1024 count=256 of=$(nandobj)junk5
5152    cat $(nandobj)junk4 $(nandobj)junk5 > $(nandobj)junk6
5253    dd bs=1024 count=256 if=$(nandobj)junk6 of=$@
5354    rm -f $(nandobj)junk*

Archive Download the corresponding diff file



interactive