wok-6.x rev 14796

memtest: add serial version (115200 baud)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jul 12 23:37:19 2013 +0000 (2013-07-12)
parents bf48e8470b8b
children 8ee389d86c73
files memtest/receipt
line diff
     1.1 --- a/memtest/receipt	Tue Jul 09 19:42:20 2013 +0000
     1.2 +++ b/memtest/receipt	Fri Jul 12 23:37:19 2013 +0000
     1.3 @@ -22,6 +22,11 @@
     1.4  	objcopy -O binary unpack.o unpack.bin
     1.5  	./pack --build unpack.bin
     1.6  	./pack memtest.bin memtest.packed
     1.7 +	sed -i  -e 's/SERIAL_CONSOLE_DEFAULT 0/SERIAL_CONSOLE_DEFAULT 1/' \
     1.8 +		-e 's/SERIAL_BAUD_RATE 9600/SERIAL_BAUD_RATE 115200/' config.h
     1.9 +	make clean
    1.10 +	make
    1.11 +	./pack memtest.bin memtest.packed-115200
    1.12  } 
    1.13  
    1.14  
    1.15 @@ -30,4 +35,5 @@
    1.16  {
    1.17  	mkdir -p $fs/boot
    1.18  	cp $src/memtest.packed $fs/boot/memtest
    1.19 +	cp $src/memtest.packed-115200 $fs/boot/memtest.115200
    1.20  }