Re: [U-Boot] OMAP (4) boot_params

2013-04-08 Thread Michael Cashwell
ot only would the bss clearing then already be done it's much cleaner to access structs from C. Let me know if I can assist in any way. Best regards, -Michael Cashwell ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] "No status update" errors in OMAP mmc_send_cmd()

2013-04-08 Thread Michael Cashwell
cmd : @ 480b4100 cmd 0x0011 arg 0x mmc1(part 0) is current device So writing to the command register "too soon" after writing to the dependent data registers sometimes fails. Obviously a magic-number udelay() is a hack. I'm going to dive into the data sheet but wan

Re: [U-Boot] [PATCH] doc/feature-removal-schedule.txt: Add CONFIG_SYS_(CLOCKS|PADS)_ENABLE_ALL

2013-04-10 Thread Michael Cashwell
here be core call outs to a board- level function like do_clocks_essential() like there is for muxconf? Thanks for any guidance. -Michael Cashwell ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 3/5] ARM: OMAP: Correct save_boot_params and replace with 'C' function

2013-04-15 Thread Michael Cashwell
_AFTER_SPL)) { ... } else { ... } wouldn't it be clearer to drop the boolean negation "!" and exchange the if/else bodies? Best regards, -Michael Cashwell ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] Power Savings on ARM/OMAP4

2013-04-25 Thread Michael Cashwell
Greetings, I've been playing with controlling a bq2415x battery charger chip on I2C on a custom OMAP4 board. In USB/OTG charging mode the code currently monitors the charger chip in a loop to which I added a msleep(2000) call. I did that thinking that since battery parameters don't change very

[U-Boot] SDRAM init on OMAP4

2013-04-26 Thread Michael Cashwell
Greetings, I've gotten a new custom OMAP4 board and can't get the SDRAM to work. My plan is to retest part of this on a 4460 ES1.1 Pandaboard next week but wanted to put a feeler out now to see if this is known. I've see this today using DENX Mainline u-boot and u-boot-arm/master. I'm currently o

Re: [U-Boot] [PATCH] avr32: fix relocation address calculation

2013-05-10 Thread Michael Cashwell
On May 10, 2013, at 11:09 AM, Albert ARIBAUD wrote: > The compiler considers the name/symbol to be value, not the address of the > corresponding object... at least most of the time: as you indicate, when > the symbol denotes a C array, then the C compiler understand the symbol as > the address of

[U-Boot] SPL size issues on OMAP4

2013-07-11 Thread Michael Cashwell
Greetings, I've been absent for a while and couldn't find a way to search the list archives so I apologize if this has already been discussed… I've been fighting the SPL binary growing too large on OMAP4 (using custom configs and features). It's annoying that too large just fails to run with no

Re: [U-Boot] SPL size issues on OMAP4

2013-07-12 Thread Michael Cashwell
On Jul 11, 2013, at 1:29 PM, Tom Rini wrote: > On Thu, Jul 11, 2013 at 01:01:30PM -0400, Michael Cashwell wrote: >> I've been absent for a while and couldn't find a way to search the >> list archives so I apologize if this has already been discussed? >> >&

Re: [U-Boot] [PATCH] arm: at91sam9n12: change EBI IO to high drive mode

2013-07-17 Thread Michael Cashwell
On Jul 17, 2013, at 6:42 AM, Albert ARIBAUD wrote: > I understand the symptom. What I don't undestand is how come NAND > does not keep its data lines in high impedance when its chip select is > inactive, which it is when DDR is being accessed. Chip selects prevent contention but they do not make

Re: [U-Boot] [PATCH] arm: at91sam9n12: change EBI IO to high drive mode

2013-07-17 Thread Michael Cashwell
On Jul 17, 2013, at 9:05 AM, Albert ARIBAUD wrote: > Hi Michael, > > On Wed, 17 Jul 2013 07:27:36 -0400, Michael Cashwell > wrote: > >> Chip selects prevent contention but they do not make the load vanish. >> A deselected chip is not electrically the s

Re: [U-Boot] [u-boot-mips] gp init and -pie option

2013-02-26 Thread Michael Cashwell
hangs very early. It's on my list of things to look into. -Michael Cashwell On Feb 26, 2013, at 1:12 PM, "Juhyun (Justin) Oh" wrote: > HI Daniel, > > I'm using CodeSourcery 4.5.2. I've configured and have built the code for > "incaip" board an

Re: [U-Boot] Beginners Questions on modding a NAS

2013-03-04 Thread Michael Cashwell
On Mar 4, 2013, at 10:40 AM, JPT wrote: > It's a Netgear ReadyNAS Duo V2, and the original sofware sucks. ;) > standalone=fsload 0x200 $(image_name);setenv bootargs $(console) > root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) > $(mvPhoneConfig); bootm 0x200; > bootcmd=nan

Re: [U-Boot] DFU on OMAP4?

2013-03-05 Thread Michael Cashwell
On Feb 20, 2013, at 2:52 AM, Lukasz Majewski wrote: > Hi Michael, > >> Greetings, >> >> I've been trying to do some feasibility (performance / features) testing of >> DFU to see if it might work on a project I'm involved with. Due to >> architecture similarities I'm trying to do this using a

Re: [U-Boot] Beginners Questions on modding a NAS

2013-03-05 Thread Michael Cashwell
On Mar 5, 2013, at 2:25 PM, JPT wrote: > Hi, > > wow, thanks. bootm worked fine. :) Spiffy. > *** Next step, booting from disk > I created a root fs on USB drive and tried to boot it. > > usb start > ext2load usb 0:1 0x0200 /boot/kernel-DUO-1.0.22 > bootm > > this works, but the kernel d

Re: [U-Boot] [PATCH] dfu:mmc: When doing block operations, operate on the given length

2013-03-07 Thread Michael Cashwell
I was just bitten in this area today but in a different way. Larger than DDR? Any update larger than the default 4MB dfu_buf[] fails too. (As a hack I redefined dfu_buf[] to be a cast of I think CONFIG_SYS_SDRAM_BASE.) But I'd love to hear more about being able to handle updates larger than DDR

Re: [U-Boot] [PATCH] dfu:mmc: When doing block operations, operate on the given length

2013-03-07 Thread Michael Cashwell
On Mar 7, 2013, at 6:33 PM, Tom Rini wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 03/07/2013 06:19 PM, Michael Cashwell wrote: > >> I was just bitten in this area today but in a different way. >> >> Larger than DDR? Any update larger than th

Re: [U-Boot] [RFC] command/cache: Add flush_cache command

2013-03-20 Thread Michael Cashwell
On Mar 20, 2013, at 6:35 PM, Scott Wood wrote: > Really, instead of adding one command, you want to modify *two* commands to > do the same thing separately, which involves changing the syntax of both > commands to accept memory range information? What is the purpose of limiting the memory rang

Re: [U-Boot] [RFC] command/cache: Add flush_cache command

2013-03-20 Thread Michael Cashwell
On Mar 20, 2013, at 7:48 PM, Scott Wood wrote: > On 03/20/2013 06:33:41 PM, Michael Cashwell wrote: > >> What is the purpose of limiting the memory range to be flushed? Is there a >> reason one might want to NOT flush certain data sitting in a dirty cache >> line out

[U-Boot] Banner -> git co target?

2013-04-01 Thread Michael Cashwell
Greetings, My u-boot work area got messed up recently when I pulled from master. I'm having trouble figuring out what's wrong. I have this banner "U-Boot SPL 2013.04-rc1-00024-ga268170-dirty (Mar 15 2013 - 10:24:41)" from a recently working state. A corresponding banner that's broken for me is

[U-Boot] Potential issue with recent OMAP PRCM struct unification

2013-04-01 Thread Michael Cashwell
Greetings, I think or something related to it has confused OMAP4 clock init. I haven't entirely unraveled the onion but wanted to ping the list to see if this is known or I'm off in the weeds. Using u-boot master at commit a268170 in DEBUG mode the SP

Re: [U-Boot] Potential issue with recent OMAP PRCM struct unification

2013-04-02 Thread Michael Cashwell
On Apr 2, 2013, at 5:32 AM, Sricharan R wrote: >> On first blush, it looks like having both cm_l3instr_intrconn_wp1_clkct and >> cm_l3instr_intrconn_wp1_clkctrl is a mistake. > > First, on which board are you testing ?. I tested the mainline on my 4460 > ES1.1 PANDA and it booted. One custom

Re: [U-Boot] [PATCH] doc/feature-removal-schedule.txt: Add CONFIG_SYS_(CLOCKS|PADS)_ENABLE_ALL

2013-04-02 Thread Michael Cashwell
On Apr 2, 2013, at 1:39 PM, Tom Rini wrote: > We shall remove these OMAP4/5-specific options in v2013.07, barring > insufficient progress on the kernel side. > ... > +Our expectation is that by v2013.07 a suitable kernel shall exist that > does not need these options set for a reasonable I

[U-Boot] OMAP (4) boot_params

2013-04-02 Thread Michael Cashwell
Greetings, I've been fighting with SPL passing not boot_params properly to u-boot on OMAP4. There are many layers to this onion but I've tracked the bulk of the problem down to the following issues. --- SPL --- arch/arm/cpu/armv7/omap-common/hwinit-common.c sets a pointer to the SPL's &boot_p

Re: [U-Boot] [PATCH] doc/feature-removal-schedule.txt: Add CONFIG_SYS_(CLOCKS|PADS)_ENABLE_ALL

2013-04-02 Thread Michael Cashwell
On Apr 2, 2013, at 2:56 PM, Tom Rini wrote: > On 04/02/2013 02:41 PM, Michael Cashwell wrote: > >> I'm currently using 3.0.8. That version most assuredly fails miserably >> without defining CONFIG_SYS_(CLOCKS|PADS)_ENABLE_ALL in >> u-boot. That kernel is part

Re: [U-Boot] OMAP (4) boot_params

2013-04-03 Thread Michael Cashwell
ot, and for good reason. I fail to see why line width should be some magical special case. So with all due respect, I can with greater legitimately turn your admonition around and ask that you please update or configure your MUA to handle your display preferences on your side. > On Tue, 2

Re: [U-Boot] OMAP (4) boot_params

2013-04-03 Thread Michael Cashwell
On Apr 3, 2013, at 10:36 AM, Albert ARIBAUD wrote: > Hi Michael, > > On Wed, 3 Apr 2013 09:45:19 -0400, Michael Cashwell > wrote: > >> I've never understood why this is useful. [...] > > ... but apparently you managed to do it, thanks. With extra effort that

Re: [U-Boot] OMAP (4) boot_params

2013-04-04 Thread Michael Cashwell
On Apr 4, 2013, at 1:52 AM, Wolfgang Denk wrote: > Dear Tom, > > On Apr 3, 2013, at 11:34 AM, Albert ARIBAUD wrote: >>> ... except, as I said above, at this point your code should not write at >>> all, be it in BSS or data, until the C environment is set up. So... >> >> But we have to save thi

Re: [U-Boot] [RFC][DFU] Unification of dfu_alt_info alt settings description + command execution

2013-07-18 Thread Michael Cashwell
On Jul 18, 2013, at 12:39 PM, Tom Rini wrote: > uImage | raw | nand | 0 | "kernel" | "-" | "-" | "-" | > > Since partitions provide start/size. I've got some WIP that pulls the alt info from a GPT partition map on mmc. That alt settings in DFU can be strings or numbers was ha

[U-Boot] DFU on OMAP4?

2013-02-19 Thread Michael Cashwell
just doing something dumb? Has anyone used u-boot DFU on a Pandaboard? Sorry for the n00b question but I've been banging my head on this for several days and I just can't sort out which part is the horse and which the cart. Best regards, -Michael Cashwell ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot