From: Omar Pighi <pighi@selea.com>
To: Sascha Hauer <s.hauer@pengutronix.de>
Cc: "barebox@lists.infradead.org" <barebox@lists.infradead.org>
Subject: Re: again on enviroment and partition problems
Date: Tue, 19 Apr 2011 11:17:08 +0200 [thread overview]
Message-ID: <4DAD5314.3070504@selea.com> (raw)
In-Reply-To: <20110418174845.GO14770@pengutronix.de>
[-- Attachment #1: Type: text/plain, Size: 1964 bytes --]
Hi,
you where right about CONFIG_GLOB... sorry.
and what about the other problem on crc error?
(http://www.spinics.net/lists/u-boot-v2/msg02944.html) is it ok the
correction?
but i have some problem on saving enviroment... I mean if i create a
enviroment variable from command line (i.e. myvar=testvalue) and perorm
saveenv command.
then reset the board.. i should find the variable again (using printenv
i doesn't have it defined)
i tried to modify a scrit in the /env directory (just adding an echo)
then "make" but downloading the new bin... but i cannot see the new init
script .. in the /env/bin directory i still have the old one...
can anybody explain to me the usage of this menuconfig item:
[*] Compile in default environment │ │
│ │ [*] Default environment generic │ │
│ │ (arch/arm/boards/freescale-mx25-3-stack/env/) Default environment path
attached my config file just to understand if i'm doign something wrong
on enviroment usage...
thanks
Omar
Dott. Ing. Omar Pighi
R&D Selea s.r.l.
Via A.Moro 69
46015 Cicognara (MN)
ITALY
tel +39-0375-889091
fax +39-0375-889080
web:www.selea.com
Il 18/04/2011 19:48, Sascha Hauer ha scritto:
> On Mon, Apr 18, 2011 at 05:03:30PM +0200, Omar Pighi wrote:
>
>> reading here:
>> http://www.spinics.net/lists/u-boot-v2/msg02944.html
>>
>> it seems that now it works and save enviroments with correct crc.
>> but when i triy to ypdate_kernel it says_
>> partition dev/nand0.kernel.bb not found... no one .bb partition has been
>> created.
>> it should be done by hush_hack but it doesn't.
>>
>> reading here:
>> http://www.spinics.net/lists/u-boot-v2/msg02957.html
>>
>> but "CONFIG_GLOB=y"
>>
>> I cannot find it in any kconfig file... so it is not possible to set
>> using menuconfig... should i add by hand. this means something missin in
>> the kconfigs...
>>
> CONFIG_GLOB depends on CONFIG_SHELL_HUSH. Could it be that hush is not
> enabled in you config?
>
> Sascha
>
>
[-- Attachment #2: auto.conf --]
[-- Type: text/plain, Size: 2837 bytes --]
#
# Automatically generated make config: don't edit
# Linux/arm 2011.04.0 Barebox Configuration
# Tue Apr 19 09:55:24 2011
#
CONFIG_CRC32=y
CONFIG_CMD_BOOTM=y
CONFIG_ARCH_IMX_INTERNAL_BOOT=y
CONFIG_DEFAULT_ENVIRONMENT_PATH="arch/arm/boards/freescale-mx25-3-stack/env/"
CONFIG_I2C_IMX=y
CONFIG_GLOB=y
CONFIG_CMD_CD=y
CONFIG_DEFAULT_ENVIRONMENT_GENERIC=y
CONFIG_ZLIB=y
CONFIG_CMD_DEVINFO=y
CONFIG_CMD_FALSE=y
CONFIG_DYNAMIC_CRC_TABLE=y
CONFIG_DEFAULT_ENVIRONMENT=y
CONFIG_HAS_CFI=y
CONFIG_CMD_EXPORT=y
CONFIG_CMD_CP=y
CONFIG_NAND_IMX=y
CONFIG_NET_DHCP=y
CONFIG_MTD=y
CONFIG_SHELL_HUSH=y
CONFIG_MTD_NAND_IDS=y
CONFIG_CMD_CRC_CMP=y
CONFIG_CMD_ARM_CPUINFO=y
CONFIG_SIMPLE_READLINE=y
CONFIG_CMD_PARTITION=y
CONFIG_DRIVER_NET_FEC_IMX=y
CONFIG_ARM=y
CONFIG_MAXARGS=16
CONFIG_GENERIC_GPIO=y
CONFIG_PARTITION=y
CONFIG_CMD_HELP=y
CONFIG_ENABLE_DEVICE_NOISE=y
CONFIG_CMD_CRC=y
CONFIG_CMD_SAVEENV=y
CONFIG_CMD_TRUE=y
CONFIG_DEFCONFIG_LIST="$ARCH_DEFCONFIG"
CONFIG_HAVE_CONFIGURABLE_TEXT_BASE=y
CONFIG_CMD_FLASH=y
CONFIG_ARCH_IMX25=y
CONFIG_CMD_TEST=y
CONFIG_CMD_LOADENV=y
CONFIG_CMD_MKDIR=y
CONFIG_TEXT_BASE=0x83f00000
CONFIG_I2C_MC34704=y
CONFIG_CPU_ARM926T=y
CONFIG_STACK_SIZE=0x8000
CONFIG_CPU_32=y
CONFIG_ENABLE_PARTITION_NOISE=y
CONFIG_PROCESS_ESCAPE_SEQUENCE=y
CONFIG_ERRNO_MESSAGES=y
CONFIG_ARCH_TEXT_BASE=0x83f00000
CONFIG_NET_TFTP=y
CONFIG_CPU_32v5=y
CONFIG_BZLIB=y
CONFIG_MTD_NAND_VERIFY_WRITE=y
CONFIG_CMD_RESET=y
CONFIG_GREGORIAN_CALENDER=y
CONFIG_HAVE_CONFIGURABLE_MEMORY_LAYOUT=y
CONFIG_CMD_PWD=y
CONFIG_ARCH_IMX=y
CONFIG_MIIDEV=y
CONFIG_I2C=y
CONFIG_ENV_HANDLING=y
CONFIG_CMD_CLEAR=y
CONFIG_NET_NFS=y
CONFIG_NAND=y
CONFIG_NET=y
CONFIG_ARCH_HAS_FEC_IMX=y
CONFIG_ARCH_IMX_INTERNAL_BOOT_NAND=y
CONFIG_CMD_BOOTM_BZLIB=y
CONFIG_MALLOC_SIZE=0x400000
CONFIG_CMD_GO=y
CONFIG_GENERIC_LINKER_SCRIPT=y
CONFIG_ENABLE_FLASH_NOISE=y
CONFIG_CMD_BOOTU=y
CONFIG_CMD_VERSION=y
CONFIG_NET_PING=y
CONFIG_CMD_BOOTM_SHOW_TYPE=y
CONFIG_HAS_KALLSYMS=y
CONFIG_CMD_UMOUNT=y
CONFIG_CMD_TIMEOUT=y
CONFIG_CMD_MEMORY=y
CONFIG_CMD_BOOTZ=y
CONFIG_MACH_HAS_LOWLEVEL_INIT=y
CONFIG_CMD_ECHO=y
CONFIG_LOCALVERSION_AUTO=y
CONFIG_HAS_MODULES=y
CONFIG_CMD_CAT=y
CONFIG_CMD_PRINTENV=y
CONFIG_CMD_LS=y
CONFIG_CMD_RM=y
CONFIG_CONSOLE_FULL=y
CONFIG_BAUDRATE=115200
CONFIG_MACH_DO_LOWLEVEL_INIT=y
CONFIG_BOARDINFO="Freescale MX25 3Stack"
CONFIG_CONSOLE_ACTIVATE_FIRST=y
CONFIG_TIMESTAMP=y
CONFIG_FREESCALE_MX25_3STACK_SDRAM_64MB_DDR2=y
CONFIG_FS_DEVFS=y
CONFIG_CBSIZE=1024
CONFIG_HUSH_GETOPT=y
CONFIG_CMD_MOUNT=y
CONFIG_FS_CRAMFS=y
CONFIG_PROMPT_HUSH_PS2="> "
CONFIG_MACH_FREESCALE_MX25_3STACK=y
CONFIG_IMX_CLKO=y
CONFIG_CMD_EDIT=y
CONFIG_NET_NETCONSOLE=y
CONFIG_CMD_ECHO_E=y
CONFIG_FS_RAMFS=y
CONFIG_MEMORY_LAYOUT_DEFAULT=y
CONFIG_PROMPT="barebox:"
CONFIG_CMD_BOOTM_ZLIB=y
CONFIG_CMD_MEMINFO=y
CONFIG_DRIVER_SERIAL_IMX=y
CONFIG_LONGHELP=y
CONFIG_CMD_RMDIR=y
CONFIG_DEBUG_INFO=y
[-- Attachment #3: Type: text/plain, Size: 149 bytes --]
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
prev parent reply other threads:[~2011-04-19 9:17 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-16 18:14 Imx51 processor hangs when we do an md 0xf0000000 (memory display) in u-boot Greg Topmiller
2011-04-18 7:29 ` Sascha Hauer
2011-04-18 9:44 ` Greg Topmiller
2011-04-18 13:15 ` on enviromen Omar Pighi
2011-04-18 15:03 ` again on enviroment and partition problems Omar Pighi
2011-04-18 17:48 ` Sascha Hauer
2011-04-19 9:17 ` Omar Pighi [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4DAD5314.3070504@selea.com \
--to=pighi@selea.com \
--cc=barebox@lists.infradead.org \
--cc=s.hauer@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.