One more thing about the UBNT RS RedBoot (version 0.9.6.1 - built 15:42:13, Nov 4 2008). When I perform a fis init -f thsi is my output:
RedBoot> fis init -f About to initialize [format] FLASH image system - continue (y/n)? y *** Initialize FLASH Image System ... Erase from 0xbf030000-0xbfff0000: ................................................................................................................................. ... Erase from 0xbfff0000-0xc0000000: . ... Program from 0x83ff0000-0x84000000 at 0xbfff0000: V Error writing FIS directory at 0xbfff0000: Unknown error and the same error is present when I update the fconfig configuration whit a fconfig -i: Update RedBoot non-volatile configuration - continue (y/n)? y [...] ... Erase from 0xbfff0000-0xc0000000: . ... Program from 0x83ff0000-0x84000000 at 0xbfff0000: V Error writing FIS directory at 0xbfff0000: Unknown error Any way I can can create working flash partitions and I can update an fconfig parameter without any RedBoot error or waring... This don't cause any other problems (apparently). Thanks Andrea On Thu, Feb 12, 2009 at 9:12 AM, Gabor Juhos <juh...@openwrt.org> wrote: > > Andrea Tassi írta: > > I have an Ubiquiti RouterStation and RedBoot pass the board name > > parameter ("board") initialised to "Ubiquiti AR71xx-based board". If I > > boot with the command exec -c "board=UBNT-RS" the appended parameter > > is ignored because the RedBoot board parameter can be correctly > > parsed. > > With this patch the ar71xx_prom_init_generic function tests first the > > "board" parameter passed within the kernel boot command and if it > > there isn't it reads the RedBoot "board" parameter. > > > > Signed-off-by: Andrea Tassi <andrea.tassi at gmail.com> and WiFi(ed) - > > The Embedded Development Team (of Riccardo Coppola <coppola.riccardo > > at gmail.com>, Andrea Tassi <andrea.tassi at gmail.com> and > > Massimiliano Toce <massimiliano.toce at gmail.com>) > > > > --- > > > > --- kamikaze.orig/target/linux/ar71xx/files/arch/mips/ar71xx/prom.c > > 2009-02-04 > > 21:23:10.000000000 +0100 > > +++ kamikaze/target/linux/ar71xx/files/arch/mips/ar71xx/prom.c > > 2009-02-11 > > 23:42:31.000000000 +0100 > > @@ -168,9 +168,9 @@ > > ar71xx_prom_argv = (char **)fw_arg1; > > ar71xx_prom_envp = (char **)fw_arg2; > > > > - p = ar71xx_prom_getenv("board"); > > + p = ar71xx_prom_getargv("board"); > > if (!p) > > - p = ar71xx_prom_getargv("board"); > > + p = ar71xx_prom_getenv("board"); > > if (p) > > ar71xx_mach_type = find_board_byname(p); > > Applied in changeset 14482, thanks. Athough the RedBoot does not pass any > board > parameter on my RouterStation. > > RedBoot(tm) bootstrap and debug environment [ROMRAM] > Ubiquiti Networks certified release, version 0.9.6.1 - built 15:42:13, Nov 4 > 2008 > > Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc. > > Board: Ubiquiti AR71xx-based board > RAM: 0x80000000-0x84000000, [0x8003ab70-0x80fe1000] available > FLASH: 0xbf000000 - 0xc0000000, 256 blocks of 0x00010000 bytes each. > RedBoot> > > Maybe you have a newer version on your board? > > Regards, > Gabor -- Studente di Ingegneria Informatica (c.d.l. specialistico) presso l'Università degli Studi di Firenze. Recapiti: E-mail: andrea.ta...@gmail.com _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel