[pkg-fso-maint] Bug#501810: fso-utils: fails to add new menu entry
Timo Juhani Lindfors
timo.lindfors at iki.fi
Fri Oct 10 16:44:34 UTC 2008
Package: fso-utils
Version: 0.git20080812.2
Severity: normal
[Note that this package is not yet in debian, see http://wiki.debian.org/pkg-fso ]
I tried to add
lindi at ginger:~$ tr '\0' '\n' < env.add |uniq
menu_6=
SD/uImage2.bin
setenv bootargs
${bootargs_base} ${mtdparts}
rootfstype=ext2 root=/dev/mmcblk0p2 rootdelay=5;
mmcinit;
ext2load mmc 1 0x32000000 uImage2.bin
bootm 0x32000000
to my existing configuration
lindi at ginger:~$ tr '\0' '\n' < env.orig |uniq
¶2U?boot_menu_timeout=300
bootargs_base=rootfstype=jffs2 root=/dev/mtdblock6 console=ttySAC2,115200 console=tty0 loglevel=8 regular_boot
bootcmd=setenv bootargs ${bootargs_base} ${mtdparts} rootfstype=ext2 root=/dev/mmcblk0p2 rootdelay=5; mmcinit; ext2load mmc 1 0x32000000 ${sd_image_name}; bootm 0x32000000
bootdelay=1
menu_1=Boot from Flash: setenv bootargs ${bootargs_base} ${mtdparts}; nand read.e 0x32000000 kernel 0x200000; bootm 0x32000000
menu_2=Reboot: reset
menu_3=Power off: neo1973 power-off
menu_4=Set console to USB: setenv stdin usbtty; setenv stdout usbtty; setenv stderr usbtty
menu_5=Set console to serial: setenv stdin serial; setenv stdout serial; setenv stderr serial
mtddevname=nor
mtddevnum=0
mtdids=nor0=physmap-flash,nand0=neo1973-nand
mtdparts=mtdparts=physmap-flash:-(nor);neo1973-nand:0x00040000(u-boot),0x00040000(u-boot_env),0x00800000(kernel),0x000a0000(splash),0x00040000(factory),0x0f6a0000(rootfs)
partition=nor0,0
pcb_rev=0x000
pcf50633_int1=0x80
pcf50633_int2=0xfe
quiet=1
sd_image_name=uImage.bin
splashimage=nand read.e 0x32000000 splash 0x5000; unzip 0x32000000 0x8800000 0x96000
stderr=usbtty
stdin=usbtty
stdout=usbtty
usbtty=cdc_acm
using
lindi at ginger:~$ time uboot-envedit -i env.orig f env.add -o env.new
but after 30 seconds it failed with return value 1 and just printed
usage message:
usage: /usr/bin/uboot-envedit [-s size] [-c] [-i file] [-o file|-p] [-f env_file]
[-D var[=value]] [var=[value] ...]
-c ignore CRC errors in input environment
-f env_file read changes from env_file
-i file read environment from file (default: use empty environment)
-o file write environment to file (default: write to stdout)
-p print environment in human-readable form to stdout
-s bytes environment size in bytes (default: 262144)
-D var[=value] define a variable for env_file preprocessing only
var= remove the specified variable
var=value set the specified variable
The options -c, and -s, if present, must precede all other options.
real 0m30.281s
user 0m29.235s
sys 0m0.175s
Am I doing something wrong here or is this a bug?
More information about the pkg-fso-maint
mailing list