Re: [U-Boot] start.S

2011-09-19 Thread Christopher Harvey
On 09/19/11 14:28, maheen butt wrote: > Hi > I'm newbie in the boot loader world. I'm trying to learning the > source code for porting purpose. U-boot > start execution from start.S.I want to know that which part > of start.S jump to c code? and what is first function comes > after start.S? > > Tha

[U-Boot] [PATCH V5 3/4] ARM: Warn when the machine ID isn't set.

2011-08-30 Thread Christopher Harvey
Linux cannot boot without it. Signed-off-by: Christopher Harvey --- V2: Used a #define instead of a constant. Used a printf instead of a debug. --- V3: Moved gd->bd->bi_arch_number = BI_ARCH_NUMBER_INVALID; before the init_sequence loop, so it doesn't overwrite existing valu

Re: [U-Boot] git fetch failure

2011-08-26 Thread Christopher Harvey
On Fri, Aug 26, 2011 at 02:59:41PM -0400, Christopher Harvey wrote: > Today, I tried to run > > git fetch http://git.denx.de/u-boot.git > > but got the following error > > error: Unable to find dbf545f2d11cd3118c6c8b54122adfbe799ea1b8 under > http://git.denx.de/u-

[U-Boot] git fetch failure

2011-08-26 Thread Christopher Harvey
Today, I tried to run git fetch http://git.denx.de/u-boot.git but got the following error error: Unable to find dbf545f2d11cd3118c6c8b54122adfbe799ea1b8 under http://git.denx.de/u-boot.git Cannot obtain needed blob dbf545f2d11cd3118c6c8b54122adfbe799ea1b8 while processing commit fe0ddffac1ce63

Re: [U-Boot] [PATCH V2 1/4] Added documentation for CONFIG_SYS_TEXT_BASE.

2011-08-24 Thread Christopher Harvey
On Thu, Aug 04, 2011 at 08:20:33AM +0200, Albert ARIBAUD wrote: > Hi Christopher, > > Le 07/07/2011 16:26, Christopher Harvey a ?crit : > > Signed-off-by: Christopher Harvey > > --- > > V2: > > Make it clear that this is the start address of u-boot. > > &

Re: [U-Boot] [PATCH V4 3/4] ARM: Warn when the machine ID isn't set.

2011-08-24 Thread Christopher Harvey
On Wed, Aug 24, 2011 at 04:31:20PM +0200, Albert ARIBAUD wrote: > Le 04/08/2011 08:30, Albert ARIBAUD a ?crit : > > Hi Christopher, > > > > Le 18/07/2011 19:33, Christopher Harvey a ?crit : > >> Linux cannot boot without it. > >> > >> Signed-

Re: [U-Boot] Urgent : Regd. Cortex A9 quad core versatile express ca9x4_ct_vxp support in U-Boot..

2011-08-22 Thread Christopher Harvey
On 08/22/11 02:22, Sandeep Kumar wrote: > Hi Matt, > > We are in a process of developing a SoC around cortex a9 quad core > versatile express. For that we made changes in the U-Boot. Is there any > way (like any simulator/emulator which supports this board) to validate > the changes before getting

[U-Boot] [PATCH V4 3/4] ARM: Warn when the machine ID isn't set.

2011-07-18 Thread Christopher Harvey
Linux cannot boot without it. Signed-off-by: Christopher Harvey --- V2: Used a #define instead of a constant. Used a printf instead of a debug. --- V3: Moved gd->bd->bi_arch_number = BI_ARCH_NUMBER_INVALID; before the init_sequence loop, so it doesn't overwrite existing valu

[U-Boot] [PATCH V3 3/4] ARM: Warn when the machine ID isn't set.

2011-07-14 Thread Christopher Harvey
Linux cannot boot without it. Signed-off-by: Christopher Harvey --- V2: Used a #define instead of a constant. Used a printf instead of a debug. --- V3: Moved gd->bd->bi_arch_number = BI_ARCH_NUMBER_INVALID; before the init_sequence loop, so it doesn't overwrite existing valu

[U-Boot] [PATCH V2 4/4] Removed unused define, CONFIG_ARMV7.

2011-07-07 Thread Christopher Harvey
Signed-off-by: Christopher Harvey --- V2: Removed left over newlines. Made sure that this isn't the only "High level option", so everything looks ok around the sed'd text. include/configs/am3517_crane.h |1 - include/configs/am3517_evm.h|

[U-Boot] [PATCH V2 3/4] ARM: Warn when the machine ID isn't set.

2011-07-07 Thread Christopher Harvey
Linux cannot boot without it. Signed-off-by: Christopher Harvey --- V2: Used a #define instead of a constant. Used a printf instead of a debug. arch/arm/include/asm/u-boot.h |2 ++ arch/arm/lib/board.c |1 + arch/arm/lib/bootm.c |6 ++ 3 files changed, 9

[U-Boot] [PATCH V2 2/4] Don't compile in large memory test function by default.

2011-07-07 Thread Christopher Harvey
Signed-off-by: Christopher Harvey --- V2: I didn't receive comments on this one. By not compiling this by default it removes a couple of #defines people need to think about. Also, I'm guessing the memory test isn't used very much, so this makes u-boot a bit smaller. common/c

[U-Boot] [PATCH V2 1/4] Added documentation for CONFIG_SYS_TEXT_BASE.

2011-07-07 Thread Christopher Harvey
Signed-off-by: Christopher Harvey --- V2: Make it clear that this is the start address of u-boot. README |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/README b/README index 2da0f96..8345746 100644 --- a/README +++ b/README @@ -2366,6 +2366,12 @@ Configuration

[U-Boot] [PATCH V2 0/4] make u-boot a bit easier for newcomers to port.

2011-07-07 Thread Christopher Harvey
g the kernel are at least written to once and haven't been forgotten. -- V2 Mostly the same. Now using defines, rather than hard coded constants. Whitespace corrections. Documentation more clear. Christopher Harvey (4): Added documentation for CONFIG_SYS_TEXT_BASE. Don't compile

Re: [U-Boot] [PATCH 2/5] Added extra documentation about how the relocation address to RAM is picked for ARM.

2011-07-06 Thread Christopher Harvey
On Mon, Jul 04, 2011 at 09:43:24PM +0200, Wolfgang Denk wrote: > Dear Christopher Harvey, > > In message <20110704174348.gc3...@harvey-pc.matrox.com> you wrote: > > Signed-off-by: Christopher Harvey > > --- > > doc/README.arm-relocation |9 - > &g

Re: [U-Boot] [PATCH 1/3] arm: add CONFIG_MACH_TYPE option and documentation

2011-07-04 Thread Christopher Harvey
On Mon, Jul 04, 2011 at 12:00:19PM +0300, Igor Grinberg wrote: > CONFIG_MACH_TYPE can be used to set the machine type number in the > common arm code instead of setting it in the board code. > > Signed-off-by: Igor Grinberg > --- > README | 12 > arch/arm/lib/board.c

Re: [U-Boot] [PATCH 5/5] Warn when the machine ID isn't passed to an ARM kernel and u-boot is compiled in debug mode. The kernel cannot boot without it.

2011-07-04 Thread Christopher Harvey
On Mon, Jul 04, 2011 at 04:13:49PM -0400, Jason wrote: > On Mon, Jul 04, 2011 at 02:55:54PM -0400, Christopher Harvey wrote: > > On Mon, Jul 04, 2011 at 02:08:44PM -0400, Jason wrote: > > > On Mon, Jul 04, 2011 at 01:45:41PM -0400, Christopher Harvey wrote: > > > > +

Re: [U-Boot] [PATCH 5/5] Warn when the machine ID isn't passed to an ARM kernel and u-boot is compiled in debug mode. The kernel cannot boot without it.

2011-07-04 Thread Christopher Harvey
On Mon, Jul 04, 2011 at 02:08:44PM -0400, Jason wrote: > On Mon, Jul 04, 2011 at 01:45:41PM -0400, Christopher Harvey wrote: > > Signed-off-by: Christopher Harvey > > --- > > arch/arm/lib/board.c |4 > > arch/arm/lib/bootm.c |6 ++ > > 2 f

Re: [U-Boot] [PATCH 3/5] Removed unused define, CONFIG_ARMV7.

2011-07-04 Thread Christopher Harvey
On Mon, Jul 04, 2011 at 02:00:12PM -0400, Jason wrote: > On Mon, Jul 04, 2011 at 01:44:26PM -0400, Christopher Harvey wrote: > > Signed-off-by: Christopher Harvey > > --- > > include/configs/am3517_crane.h |2 +- > > include/configs/am3517_evm.h|

[U-Boot] [PATCH 5/5] Warn when the machine ID isn't passed to an ARM kernel and u-boot is compiled in debug mode. The kernel cannot boot without it.

2011-07-04 Thread Christopher Harvey
Signed-off-by: Christopher Harvey --- arch/arm/lib/board.c |4 arch/arm/lib/bootm.c |6 ++ 2 files changed, 10 insertions(+), 0 deletions(-) diff --git a/arch/arm/lib/board.c b/arch/arm/lib/board.c index 169dfeb..dbb835a 100644 --- a/arch/arm/lib/board.c +++ b/arch/arm/lib

[U-Boot] [PATCH 4/5] Don't compile in large memory test function by default.

2011-07-04 Thread Christopher Harvey
Signed-off-by: Christopher Harvey --- common/cmd_mem.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/common/cmd_mem.c b/common/cmd_mem.c index a5576aa..833af66 100644 --- a/common/cmd_mem.c +++ b/common/cmd_mem.c @@ -610,6 +610,8 @@ int do_mem_loopw (cmd_tbl_t

[U-Boot] [PATCH 3/5] Removed unused define, CONFIG_ARMV7.

2011-07-04 Thread Christopher Harvey
Signed-off-by: Christopher Harvey --- include/configs/am3517_crane.h |2 +- include/configs/am3517_evm.h|2 +- include/configs/ca9x4_ct_vxp.h |2 +- include/configs/cm_t35.h|2 +- include/configs/devkit8000.h|2 +- include/configs/dig297

[U-Boot] [PATCH 2/5] Added extra documentation about how the relocation address to RAM is picked for ARM.

2011-07-04 Thread Christopher Harvey
Signed-off-by: Christopher Harvey --- doc/README.arm-relocation |9 - 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/doc/README.arm-relocation b/doc/README.arm-relocation index 5a9a2fb..954627d 100644 --- a/doc/README.arm-relocation +++ b/doc/README.arm-relocation

[U-Boot] [PATCH 1/5] Added documentation for CONFIG_SYS_TEXT_BASE for ARM.

2011-07-04 Thread Christopher Harvey
Signed-off-by: Christopher Harvey --- README |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/README b/README index a760cf3..a0090ef 100644 --- a/README +++ b/README @@ -2355,6 +2355,15 @@ Configuration Settings: - CONFIG_SYS_SDRAM_BASE: Physical

[U-Boot] [PATCH 0/5] Make u-boot a bit easier for newbies to port

2011-07-04 Thread Christopher Harvey
ernel are at least written to once and haven't been forgotten. Christopher Harvey (5): Added documentation for CONFIG_SYS_TEXT_BASE for ARM. Added extra documentation about how the relocation address to RAM is picked for ARM. Removed unused define, CONFIG_ARMV7. Don't compile

Re: [U-Boot] request for some debugging hints

2011-06-29 Thread Christopher Harvey
On 06/29/11 08:55, Christopher Harvey wrote: > kernel version: 2.6.38 > u-boot version: 2011.06 > > I've got an ARM (armv7) kernel that I can boot under QEMU without > problems, but refuses to boot with a bootm command under u-boot. > > All I see is "Uncompres

[U-Boot] request for some debugging hints

2011-06-29 Thread Christopher Harvey
kernel version: 2.6.38 u-boot version: 2011.06 I've got an ARM (armv7) kernel that I can boot under QEMU without problems, but refuses to boot with a bootm command under u-boot. All I see is "Uncompressing Linux... done, booting the kernel.", then nothing else. I'm also hitting a bug very simila

[U-Boot] misc patches and cleanup

2011-06-16 Thread Christopher Harvey
I recently dabbled in u-boot and kept track of a few points I found confusing. I fixed them up to the best of my ability and created some patches for consideration. >From 9802439149594948e3862b9609ca0e68ab793ecc Mon Sep 17 00:00:00 2001 From: Christopher Harvey Date: Wed, 15 Jun 2011 16

Re: [U-Boot] newbie questions regarding some config options.

2011-06-13 Thread Christopher Harvey
On Mon, 13 Jun 2011 15:08:35 +0100, phil.edwor...@renesas.com wrote: > Hi Matthias, > >> >> What is the CONFIG_SYS_TEXT_BASE variable and how can >> >> I figure out what it should be? >> > >> > U-boot is typically stored in flash and one of the first things it >> does when executed is relocate t

[U-Boot] newbie questions regarding some config options.

2011-06-13 Thread Christopher Harvey
As per the README file: Subscribe to u-boot mailing list; if (clueless) email("Hi, I am new to U-Boot, how do I get started?"); I'm messing around with uboot and QEMU (qemu-system-arm -M realview-pbx-a9 -kernel u-boot.bin), things are going pretty well in the