Re: [U-Boot] pull request for u-boot-tegra/master into ARM/master

2013-04-16 Thread Albert ARIBAUD
Hi Stephen, On Tue, 16 Apr 2013 13:55:36 -0600, Stephen Warren wrote: > On 04/16/2013 11:17 AM, Albert ARIBAUD wrote: > > Hi Tom, > > > > On Mon, 15 Apr 2013 16:28:20 -0700, Tom Warren > > wrote: > > > >> Albert, > >> > >> Please pull u-boot-tegra/master into ARM/master. Thanks! > >> > >> ./M

Re: [U-Boot] [PATCH] Allow U-Boot scripts to be placed in a .env file

2013-04-16 Thread Wolfgang Denk
Dear Simon Glass, In message <1366155414-6525-1-git-send-email-...@chromium.org> you wrote: > At present U-Boot environment variables, and thus scripts, are defined > by CONFIG_EXTRA_ENV_SETTINGS. It is painful to add large amounts of text > to this file and dealing with quoting and newlines is ha

Re: [U-Boot] [PATCH] crc32: Correct endianness of crc32 result

2013-04-16 Thread Wolfgang Denk
Dear Simon Glass, In message you wrote: > > >> +#ifdef USE_HOSTCC > >> + crc = htobe32(crc); > >> memcpy(output, &crc, sizeof(crc)); > >> +#else > >> + put_unaligned_be32(crc, output); > >> +#endif > > > > Why is this depending on USE_HOSTCC, and not on the endianess? > > We alwa

Re: [U-Boot] [PATCH] Add NanoBone board support

2013-04-16 Thread Hebbar, Gururaja
Mark, On Tue, Apr 16, 2013 at 20:32:34, Mark Jackson wrote: > NanoBone Specification: > --- > Memory: > 256MB DDR3 > 64MB NOR flash > 256MB NAND flash > 128KB FRAM > > Ethernet: > 2 x 10/100 connected to SMSC LAN8710 PHY > > USB: > 1 x USB2.0 Type A > > I2C: >

Re: [U-Boot] [PATCH] powerpc/85xx: Add P1023RDB board support

2013-04-16 Thread Chunhe Lan
On 04/16/2013 09:57 PM, Sinan Akman wrote: Chunhe Lan wrote: P1023RDB Specification: --- Memory subsystem: 512MB DDR3 (Fixed DDR on board) 64MB NOR flash 128MB NAND flash Chunhe, what is the orderable part number of this board, I don't see anything on the FSL web

Re: [U-Boot] [PATCH 1/3 V5] EXYNOS5: Add gpio pin numbering feature

2013-04-16 Thread Rajeshwari Birje
Hi Minkyu Kang, Please do let me know if any comments on these patchset. Regards, Rajeshwari Shinde On Wed, Apr 3, 2013 at 5:24 PM, Rajeshwari Shinde wrote: > This patch adds support for gpio pin numbering support on > EXYNOS5250 > To have consistent 0..n-1 GPIO numbering the banks are divided

Re: [U-Boot] [PATCH] fdt: Ensure that libfdt_env.h comes from U-Boot

2013-04-16 Thread Jerry Van Baren
Hi Simon, On 04/12/2013 04:24 PM, Simon Glass wrote: Hi Tom / Jerry, [snip] Another way to fix this is to use -nostdinc and -idirafter to ensure that system includes are included after U-Boot ones. Unfortunately this means that U-Boot's errno.h gets included instead of the system one. This i

Re: [U-Boot] [STATUS] v2013.04-rc3 released

2013-04-16 Thread Minkyu Kang
On 16/04/13 08:12, Simon Glass wrote: > +Minkyu, > > Hi Tom, > > On Mon, Apr 15, 2013 at 8:57 AM, Tom Rini wrote: >> Hey all, >> >> I was hoping to release v2013.04 today, but that's not happening. The >> good news is that there were some issues in the ARM tree that got sorted >> out and things

[U-Boot] please pull u-boot-samsung master

2013-04-16 Thread Minkyu Kang
Dear Albert, The following changes since commit 601795462a4e7ede97b64dc306de1002e688eef6: Tegra: T30: Beaver board support. (2013-04-15 16:13:51 -0700) are available in the git repository at: git://git.denx.de/u-boot-samsung master for you to fetch changes up to f2e8a87305a55652488af140adc

Re: [U-Boot] [PATCH 2/2] exynos: fdt: Add TMU node for snow

2013-04-16 Thread Minkyu Kang
On 13/04/13 23:26, Simon Glass wrote: > Snow is missing a TMU node, and with TMU support this is not allowed, so it > fails to boot. Add it. > > Signed-off-by: Simon Glass > --- > board/samsung/dts/exynos5250-snow.dts | 14 ++ > 1 file changed, 14 insertions(+) > > diff --git a/boar

Re: [U-Boot] [PATCH 1/2] exynos: Correct use of 64-bit division

2013-04-16 Thread Minkyu Kang
On 13/04/13 23:26, Simon Glass wrote: > The current code is causing errors like this on my toolchains: > > /usr/x86_64-pc-linux-gnu/armv7a-cros-linux-gnueabi/binutils-bin/2.22/ > ld.bfd.real: failed to merge target specific data of file /usr/lib/gcc/ > armv7a-cros-linux-gnueabi/4.7.x-google/libgcc

Re: [U-Boot] [PATCH] Exynos5: Add support for USB download boot mode

2013-04-16 Thread Minkyu Kang
On 15/04/13 14:36, Vivek Gautam wrote: > Hi, > > > On Sat, Apr 13, 2013 at 7:50 PM, Simon Glass wrote: >> Hi, >> >> On Tue, Feb 5, 2013 at 9:04 PM, Vivek Gautam >> wrote: >>> Hi Simon, >>> >>> >>> On Tue, Feb 5, 2013 at 2:56 AM, Simon Glass wrote: Hi, On Mon, Jan 28, 2013 at 2:

[U-Boot] [PATCH] Allow U-Boot scripts to be placed in a .env file

2013-04-16 Thread Simon Glass
At present U-Boot environment variables, and thus scripts, are defined by CONFIG_EXTRA_ENV_SETTINGS. It is painful to add large amounts of text to this file and dealing with quoting and newlines is harder than it should be. It would be better if we could just type the script into a text file and ha

Re: [U-Boot] [PATCH] powerpc/85xx: Add P1023RDB board support

2013-04-16 Thread Scott Wood
On 04/16/2013 04:00:46 AM, Chunhe Lan wrote: +struct fsl_e_tlb_entry tlb_table[] = { + /* TLB 0 - for temp stack in cache */ + SET_TLB_ENTRY(0, CONFIG_SYS_INIT_RAM_ADDR, CONFIG_SYS_INIT_RAM_ADDR, + MAS3_SX|MAS3_SW|MAS3_SR, 0, + 0, 0, BOOKE_PAGESZ_4

Re: [U-Boot] [PATCH] crc32: Correct endianness of crc32 result

2013-04-16 Thread Simon Glass
Hi Tom, On Tue, Apr 16, 2013 at 4:00 PM, Tom Rini wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 04/16/2013 05:57 PM, Simon Glass wrote: >> Hi Wolfgang, >> >> On Sat, Apr 6, 2013 at 12:04 AM, Wolfgang Denk wrote: >>> Dear Simon Glass, >>> >>> In message <1365203470-9099-1-git-se

Re: [U-Boot] [PATCH] crc32: Correct endianness of crc32 result

2013-04-16 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/16/2013 05:57 PM, Simon Glass wrote: > Hi Wolfgang, > > On Sat, Apr 6, 2013 at 12:04 AM, Wolfgang Denk wrote: >> Dear Simon Glass, >> >> In message <1365203470-9099-1-git-send-email-...@chromium.org> >> you wrote: >>> When crc32 is handled by

Re: [U-Boot] [PATCH v2] patman: fix gitutil for decorations

2013-04-16 Thread Simon Glass
+Tom On Tue, Apr 16, 2013 at 8:48 AM, Simon Glass wrote: > On Tue, Apr 16, 2013 at 2:52 AM, Andreas Bießmann > wrote: >> The git config parameter log.decorate is quite useful when working with git. >> Patman, however can not handle the decorated output when parsing the commit. >> To prevent this

Re: [U-Boot] [PATCH] crc32: Correct endianness of crc32 result

2013-04-16 Thread Simon Glass
Hi Wolfgang, On Sat, Apr 6, 2013 at 12:04 AM, Wolfgang Denk wrote: > Dear Simon Glass, > > In message <1365203470-9099-1-git-send-email-...@chromium.org> you wrote: >> When crc32 is handled by the hash library, it requires the data to be in >> big-endian format, since it reads it byte-wise. Thus

Re: [U-Boot] pull request for u-boot-tegra/master into ARM/master

2013-04-16 Thread Albert ARIBAUD
Hi Tom, On Mon, 15 Apr 2013 16:28:20 -0700, Tom Warren wrote: > Albert, > > Please pull u-boot-tegra/master into ARM/master. Thanks! > > ./MAKEALL for all the Tegra boards is OK, running a ./MAKEALL -a arm now. > tools/checkpatch.pl is clean. > > The following changes since commit c4a4e2e20ca

Re: [U-Boot] [PATCH v4 7/7] cros: enable cros-ec for smdk5250

2013-04-16 Thread Simon Glass
Hi Minkyu, On Thu, Apr 4, 2013 at 1:17 PM, Simon Glass wrote: > On Tue, Apr 2, 2013 at 3:01 AM, Hung-ying Tyan wrote: >> >> This patch initiates cros-ec in board_init() to enable it for smdk5250. >> >> Signed-off-by: Simon Glass >> Signed-off-by: Vincent Palatin >> Signed-off-by: Hung-ying Tya

[U-Boot] [PATCH] beagleboard: Update comment in get_board_rev()

2013-04-16 Thread Tom Rini
We are able to tell the difference between xM Rev Ax/Bx and xM Rev Cx, and have been for some time. The comment above the function however did not list this, so update. Signed-off-by: Tom Rini --- board/ti/beagle/beagle.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git

Re: [U-Boot] Please pull u-boot-x86.git

2013-04-16 Thread Tom Rini
On Tue, Apr 16, 2013 at 01:07:33PM -0700, Simon Glass wrote: > Hi Tom, > > [Trying again with the offending patch removed for now] > > The following changes since commit cba6494f24d711ba63afb22b1ee691a41fee121c: > > Prepare v2013.04-rc3 (2013-04-15 11:47:10 -0400) > > are available in the gi

[U-Boot] [PATCH v4] palmtreo680: add utility that writes u-boot to flash

2013-04-16 Thread Mike Dunn
This adds a userspace linux utility that writes the u-boot image to an mtd partition on the docg4 nand flash. A special utility is required to do this because u-boot is partially loaded by an initial program loader (IPL) that is permanently programmed to the boot region of the flash. This IPL exp

Re: [U-Boot] Please pull u-boot-x86.git

2013-04-16 Thread Simon Glass
Hi Tom, [Trying again with the offending patch removed for now] The following changes since commit cba6494f24d711ba63afb22b1ee691a41fee121c: Prepare v2013.04-rc3 (2013-04-15 11:47:10 -0400) are available in the git repository at: git://git.denx.de/u-boot-x86.git master for you to fetch ch

Re: [U-Boot] [PATCH] Fix wrong >4G filtering

2013-04-16 Thread Simon Glass
+Tom Hi Vladimir, On Mon, Apr 15, 2013 at 4:51 PM, Simon Glass wrote: > On Sun, Apr 7, 2013 at 8:33 AM, Vladimir 'φ-coder/phcoder' Serbinenko > wrote: >> Filtering of >4G chunks is wrong and one of such chunks can be improperly >> declared >> as usable ram top after being cut down to 4G, so ub

Re: [U-Boot] pull request for u-boot-tegra/master into ARM/master

2013-04-16 Thread Tom Warren
Thanks, Stephen. > -Original Message- > From: Stephen Warren [mailto:swar...@wwwdotorg.org] > Sent: Tuesday, April 16, 2013 12:56 PM > To: Albert ARIBAUD > Cc: Tom Warren; m...@theia.denx.de; Jimmy Zhang; u-boot@lists.denx.de; > Tom Warren; Tom Rini; Stephen Warren > Subject: Re: [U-Boot]

Re: [U-Boot] pull request for u-boot-tegra/master into ARM/master

2013-04-16 Thread Stephen Warren
On 04/16/2013 11:17 AM, Albert ARIBAUD wrote: > Hi Tom, > > On Mon, 15 Apr 2013 16:28:20 -0700, Tom Warren > wrote: > >> Albert, >> >> Please pull u-boot-tegra/master into ARM/master. Thanks! >> >> ./MAKEALL for all the Tegra boards is OK, running a ./MAKEALL -a arm now. >> tools/checkpatch.pl i

Re: [U-Boot] Please pull u-boot-x86.git

2013-04-16 Thread Tom Rini
On Tue, Apr 16, 2013 at 12:15:36PM -0700, Simon Glass wrote: > Vladimir '?-coder/phcoder' Serbinenko (1): > x86: Fix wrong >4G filtering Two problems. First, this is missing a signed-off-by line. Second, nicnames in the author field are frowned upon to not allowed here. Thanks! -- Tom

Re: [U-Boot] [PATCH] Add NanoBone board support

2013-04-16 Thread Mark Jackson
On 16/04/13 20:27, Tom Rini wrote: On Tue, Apr 16, 2013 at 08:25:17PM +0100, Mark Jackson wrote: On 16/04/13 20:14, Mark Jackson wrote: On 16/04/13 16:48, Tom Rini wrote: On Tue, Apr 16, 2013 at 04:02:34PM +0100, Mark Jackson wrote: +#defineCONFIG_SYS_NAND_ECCTOTAL(CONFIG_SYS_NAND

Re: [U-Boot] [PATCH] Add NanoBone board support

2013-04-16 Thread Tom Rini
On Tue, Apr 16, 2013 at 08:25:17PM +0100, Mark Jackson wrote: > On 16/04/13 20:14, Mark Jackson wrote: > >On 16/04/13 16:48, Tom Rini wrote: > >>On Tue, Apr 16, 2013 at 04:02:34PM +0100, Mark Jackson wrote: > > > > >>>+#defineCONFIG_SYS_NAND_ECCTOTAL(CONFIG_SYS_NAND_ECCBYTES * \ > >>>+

Re: [U-Boot] [PATCH] Add NanoBone board support

2013-04-16 Thread Mark Jackson
On 16/04/13 20:14, Mark Jackson wrote: On 16/04/13 16:48, Tom Rini wrote: On Tue, Apr 16, 2013 at 04:02:34PM +0100, Mark Jackson wrote: +#defineCONFIG_SYS_NAND_ECCTOTAL(CONFIG_SYS_NAND_ECCBYTES * \ +CONFIG_SYS_NAND_ECCSTEPS) + +#defineCONFIG_SYS_NAND_U_BO

Re: [U-Boot] [PATCH] Add NanoBone board support

2013-04-16 Thread Tom Rini
On Tue, Apr 16, 2013 at 08:14:13PM +0100, Mark Jackson wrote: > On 16/04/13 16:48, Tom Rini wrote: > >On Tue, Apr 16, 2013 at 04:02:34PM +0100, Mark Jackson wrote: > > > >[snip] > >>+static int do_switch_ecc(cmd_tbl_t * cmdtp, int flag, int argc, char * > >>const argv[]) > > > >Why are we bringin

[U-Boot] Please pull u-boot-x86.git

2013-04-16 Thread Simon Glass
Hi Tom, [sorry, take 2] Unfortunately I found some problems in x86 that I had not picked up on earlier. The following changes since commit cba6494f24d711ba63afb22b1ee691a41fee121c: Prepare v2013.04-rc3 (2013-04-15 11:47:10 -0400) are available in the git repository at: git://git.denx.de/

Re: [U-Boot] [PATCH] Add NanoBone board support

2013-04-16 Thread Mark Jackson
On 16/04/13 16:48, Tom Rini wrote: On Tue, Apr 16, 2013 at 04:02:34PM +0100, Mark Jackson wrote: [snip] +static struct emif_regs ddr3_emif_reg_data = { + .sdram_config = MT41J128MJT125_EMIF_SDCFG, + .ref_ctrl = MT41J128MJT125_EMIF_SDREF, + .sdram_tim1 = MT41J128MJT125_EMIF_TIM

Re: [U-Boot] [PATCH v3 8/8] palmtreo680: add utility that writes u-boot to flash

2013-04-16 Thread Marek Vasut
Dear Mike Dunn, > Thanks again Marek. A question below... > > > On 04/14/2013 10:38 AM, Marek Vasut wrote: > > > [...] > > >> + > >> + if (argc != 3) { > >> + printf("usage: %s \n", argv[0]); > >> + exit(-1); > > > > Use proper errno and "return" as you're returning from

Re: [U-Boot] [PATCH v3 8/8] palmtreo680: add utility that writes u-boot to flash

2013-04-16 Thread Mike Dunn
Thanks again Marek. A question below... On 04/14/2013 10:38 AM, Marek Vasut wrote: [...] >> + >> +if (argc != 3) { >> +printf("usage: %s \n", argv[0]); >> +exit(-1); > > Use proper errno and "return" as you're returning from main() anyway. Agreed regarding 're

Re: [U-Boot] pull request for u-boot-tegra/master into ARM/master

2013-04-16 Thread Albert ARIBAUD
Hi Tom, On Mon, 15 Apr 2013 16:28:20 -0700, Tom Warren wrote: > Albert, > > Please pull u-boot-tegra/master into ARM/master. Thanks! > > ./MAKEALL for all the Tegra boards is OK, running a ./MAKEALL -a arm now. > tools/checkpatch.pl is clean. > > The following changes since commit c4a4e2e20ca

Re: [U-Boot] [PATCH 1/5][v4] powerpc/mpc85xx:No NOR boot, do not compile IFC errata A003399

2013-04-16 Thread Scott Wood
On 04/15/2013 11:19:55 PM, Prabhakar Kushwaha wrote: On 04/16/2013 03:11 AM, Scott Wood wrote: On 04/15/2013 05:12:48 AM, Prabhakar Kushwaha wrote: diff --git a/arch/powerpc/cpu/mpc85xx/cpu_init_early.c b/arch/powerpc/cpu/mpc85xx/cpu_init_early.c index dacfdd1..439a873 100644 --- a/arch/power

Re: [U-Boot] [PATCH] make hang() a weak function

2013-04-16 Thread Andreas Bießmann
Dear Wolfgang, On 16.04.13 18:00, Wolfgang Denk wrote: > Dear Andreas, > > In message <516d6f71.8090...@gmail.com> you wrote: >>> Also, as done in arch/powerpc/lib/board.c we usually print an error >>> message on the console device, and we can call bootstage_error(), >>> which could initialte su

Re: [U-Boot] [PATCH] make hang() a weak function

2013-04-16 Thread Wolfgang Denk
Dear Andreas, In message <516d6f71.8090...@gmail.com> you wrote: > > You say (or at least I understand you so), that I have to hack all these > places with some application specific stuff to inform the user of the > device that we will stop processing now. Why don't we add an interface > to easil

Re: [U-Boot] Pull request: u-boot-arm/master

2013-04-16 Thread Tom Rini
On Mon, Apr 15, 2013 at 09:36:37PM +0200, Albert ARIBAUD wrote: > Hi Tom, > > The following changes since commit > 8960af8ba9488fc54e2e4733cbada26d3cece225: > > cosmetic: fix CONFIG_SPL_BSS_MAX_SIZE typo in README (2013-04-14 > 17:04:43 +0200) > > are available in the git repository at: >

Re: [U-Boot] Bug in fdt_fixup_fman_firmware

2013-04-16 Thread Wolfgang Denk
Dear Николай Пузанов, In message you wrote: > > In my opinion I found a bug in the function 'fdt_fixup_fman_firmware' > (arch/powerpc/cpu/mpc85xx/fdt.c): on line 495 function > 'simple_strtul' takes an hex number without the prefix '0x' and > considers it a decimal. Here are two variants for co

Re: [U-Boot] [PATCH] make hang() a weak function

2013-04-16 Thread Andreas Bießmann
Dear Wolfgang, On 04/16/2013 05:14 PM, Wolfgang Denk wrote: > Dear Andreas, > > In message <516d62e1.7090...@gmail.com> you wrote: >> >> But how about other places in u-boot hang()ing the device? How can we >> tell the user that state without a terminal? If one plugs a uart cable >> he might see

Re: [U-Boot] [PATCH v2] patman: fix gitutil for decorations

2013-04-16 Thread Simon Glass
On Tue, Apr 16, 2013 at 2:52 AM, Andreas Bießmann wrote: > The git config parameter log.decorate is quite useful when working with git. > Patman, however can not handle the decorated output when parsing the commit. > To prevent this use the '--no-decorate' switch for git-log. > > Signed-off-by: An

Re: [U-Boot] [PATCH] Add NanoBone board support

2013-04-16 Thread Tom Rini
On Tue, Apr 16, 2013 at 04:02:34PM +0100, Mark Jackson wrote: [snip] > +static struct emif_regs ddr3_emif_reg_data = { > + .sdram_config = MT41J128MJT125_EMIF_SDCFG, > + .ref_ctrl = MT41J128MJT125_EMIF_SDREF, > + .sdram_tim1 = MT41J128MJT125_EMIF_TIM1, > + .sdram_tim2 = MT41J128MJT

[U-Boot] [PATCH v4] add support for the palm treo 680 board

2013-04-16 Thread Mike Dunn
A quick overview of u-boot implementation on the treo 680... The treo 680 has a Diskonchip G4 nand flash chip. This device has a 2k region that maps to the system bus at the reset vector in a NOR-like fashion so that it can be used as the boot device. The phone is shipped with this 2k region con

Re: [U-Boot] [PATCH] ARM: mx6: define CONFIG_ARM_ERRATA_742230

2013-04-16 Thread Shawn Guo
On Tue, Apr 16, 2013 at 05:05:30PM +0200, Stefano Babic wrote: > This is a fix, but the release is coming (end of the week). What do you > think if I push this to -next ? No pressure on this, so -next is fine. Thanks, Stefano. Shawn ___ U-Boot mailing

Re: [U-Boot] [PATCH] make hang() a weak function

2013-04-16 Thread Wolfgang Denk
Dear Andreas, In message <516d62e1.7090...@gmail.com> you wrote: > > But how about other places in u-boot hang()ing the device? How can we > tell the user that state without a terminal? If one plugs a uart cable > he might see some cause of the hang() but this is not acceptable for > some groups o

[U-Boot] Bug in fdt_fixup_fman_firmware

2013-04-16 Thread Николай Пузанов
Hello! In my opinion I found a bug in the function 'fdt_fixup_fman_firmware' (arch/powerpc/cpu/mpc85xx/fdt.c): on line 495 function 'simple_strtul' takes an hex number without the prefix '0x' and considers it a decimal. Here are two variants for correcting this bug, but I do not know what will be

Re: [U-Boot] [PATCH] make hang() a weak function

2013-04-16 Thread Andreas Bießmann
Dear Wolfgang, On 04/16/2013 04:23 PM, Wolfgang Denk wrote: > Dear Andreas, > > In message <516d5d0a.20...@gmail.com> you wrote: >> >> In my opinion it makes sense to panic(). In my special case I also need >> to hang() when panic(). The next question is then how to visualize the >> (end-)user of

[U-Boot] [PATCH] ARM: mx6: define CONFIG_ARM_ERRATA_742230

2013-04-16 Thread Shawn Guo
The ARM errata 742230 - "ARM errata: DMB operation may be faulty" is claimed for Cortex-A9 (r1p0..r2p2). Though i.MX6 uses a newer revision than r2p2, we are seeing a reboot failure on i.MX6 SMP build that can be fixed by applying the workaround for this errata. So for safety, let's define CONFIG

Re: [U-Boot] [PATCH] ARM: mx6: define CONFIG_ARM_ERRATA_742230

2013-04-16 Thread Stefano Babic
On 16/04/2013 16:58, Shawn Guo wrote: > The ARM errata 742230 - "ARM errata: DMB operation may be faulty" is > claimed for Cortex-A9 (r1p0..r2p2). Though i.MX6 uses a newer revision > than r2p2, we are seeing a reboot failure on i.MX6 SMP build that can be > fixed by applying the workaround for th

[U-Boot] [PATCH] Add NanoBone board support

2013-04-16 Thread Mark Jackson
NanoBone Specification: --- Memory: 256MB DDR3 64MB NOR flash 256MB NAND flash 128KB FRAM Ethernet: 2 x 10/100 connected to SMSC LAN8710 PHY USB: 1 x USB2.0 Type A I2C: 2Kbit EEPROM (Microchip 24AA02) RTC (Maxim DS1338) GPIO Expander (Microchip MCP23017) Ex

Re: [U-Boot] [PATCH] powerpc/85xx: Add P1023RDB board support

2013-04-16 Thread Sinan Akman
Chunhe Lan wrote: P1023RDB Specification: --- Memory subsystem: 512MB DDR3 (Fixed DDR on board) 64MB NOR flash 128MB NAND flash Chunhe, what is the orderable part number of this board, I don't see anything on the FSL web page with the description above. Regards

Re: [U-Boot] [PATCH] make hang() a weak function

2013-04-16 Thread Wolfgang Denk
Dear Andreas, In message <516d5d0a.20...@gmail.com> you wrote: > > In my opinion it makes sense to panic(). In my special case I also need > to hang() when panic(). The next question is then how to visualize the > (end-)user of that device that we hang(). The intention behind hang() is to stop d

Re: [U-Boot] [PATCH] make hang() a weak function

2013-04-16 Thread Graeme Russ
Hi Andreas, On Wed, Apr 17, 2013 at 12:15 AM, Andreas Bießmann < andreas.de...@googlemail.com> wrote: > > Hi Graeme, > > On 04/16/2013 03:35 PM, Graeme Russ wrote: > > Hi Andreas, > > > > On Tue, Apr 16, 2013 at 11:32 PM, Andreas Bießmann > > mailto:andreas.de...@googlemail.com>> wrote: > >> > >>

Re: [U-Boot] [PATCH] make hang() a weak function

2013-04-16 Thread Wolfgang Denk
Dear Andreas, In message <516d52ee.1040...@gmail.com> you wrote: > > Yes it is independent (or should at least). But there are still slightly > different versions: Yes, I know :-( > ---8<--- > arch/powerpc/lib/board.c:void __hang(void) > arch/powerpc/lib/board.c-{ > arch/powerpc/lib/board.c-

Re: [U-Boot] [PATCH] make hang() a weak function

2013-04-16 Thread Andreas Bießmann
Hi Graeme, On 04/16/2013 03:35 PM, Graeme Russ wrote: > Hi Andreas, > > On Tue, Apr 16, 2013 at 11:32 PM, Andreas Bießmann > mailto:andreas.de...@googlemail.com>> wrote: >> >> Dear Wolfgang, >> >> On 04/16/2013 03:05 PM, Wolfgang Denk wrote: >> > Dear Andreas, >> > >> > In message <516d4b00.9030.

Re: [U-Boot] [PATCH] make hang() a weak function

2013-04-16 Thread Graeme Russ
Hi Andreas, On Tue, Apr 16, 2013 at 11:32 PM, Andreas Bießmann < andreas.de...@googlemail.com> wrote: > > Dear Wolfgang, > > On 04/16/2013 03:05 PM, Wolfgang Denk wrote: > > Dear Andreas, > > > > In message <516d4b00.9030...@gmail.com> you wrote: > >> > >>> So it is dead code in mainline, and we

Re: [U-Boot] [PATCH] make hang() a weak function

2013-04-16 Thread Andreas Bießmann
Dear Wolfgang, On 04/16/2013 03:05 PM, Wolfgang Denk wrote: > Dear Andreas, > > In message <516d4b00.9030...@gmail.com> you wrote: >> >>> So it is dead code in mainline, and we will not add it. >> >> Well, I don't think it is dead code cause the hang() is called in some ways. >> This patch opens

Re: [U-Boot] [PATCH] make hang() a weak function

2013-04-16 Thread Wolfgang Denk
Dear Andreas, In message <516d4b00.9030...@gmail.com> you wrote: > > > So it is dead code in mainline, and we will not add it. > > Well, I don't think it is dead code cause the hang() is called in some ways. > This patch opens just the possibility to specialize the hang() by for > example a speci

Re: [U-Boot] [PATCH] make hang() a weak function

2013-04-16 Thread Andreas Bießmann
Dear Wolfgang Denk, On 04/16/2013 02:22 PM, Wolfgang Denk wrote: > Dear "Andreas Bießmann", > > In message <516d39cf.9020...@gmail.com> you wrote: >> >>> Apart from Stefan's comments: considered standalone, doesn't this patch >>> have zero effect? I suspect you intend to use this in a later patch

[U-Boot] [PATCH v4] imx: Add titanium board support (i.MX6 based)

2013-04-16 Thread Stefan Roese
Titanium is a i.MX6 based board from ProjectionDesign / Barco. This patch adds support for this board with the newly introduced NAND support for i.MX6. Signed-off-by: Stefan Roese Cc: Stefano Babic Cc: Fabio Estevam --- v4: - Use register defines instead of hardcoded addresses by including th

Re: [U-Boot] [PATCH] powerpc/85xx: Add P1023RDB board support

2013-04-16 Thread Tom Rini
On Tue, Apr 16, 2013 at 06:35:13AM -0500, Timur Tabi wrote: > On Tue, Apr 16, 2013 at 4:00 AM, Chunhe Lan wrote: > > > > +#define CONFIG_SYS_BAUDRATE_TABLE \ > > + {300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 115200} > > > It's amazing that Freescale is still producing board file

Re: [U-Boot] [PATCH] make hang() a weak function

2013-04-16 Thread Wolfgang Denk
Dear "Andreas Bießmann", In message <516d39cf.9020...@gmail.com> you wrote: > > > Apart from Stefan's comments: considered standalone, doesn't this patch > > have zero effect? I suspect you intend to use this in a later patch, > > and if so, I would suggest grouping these in a series so that the

Re: [U-Boot] [PATCH v3] imx: Add titanium board support (i.MX6 based)

2013-04-16 Thread Stefan Roese
Hi Stefano, thanks for your review. I'll adress your comments in v4. Thanks, Stefan On 16.04.2013 09:50, Stefano Babic wrote: > On 16/04/2013 09:19, Stefan Roese wrote: >> Titanium is a i.MX6 based board from ProjectionDesign / Barco. This >> patch adds support for this board with the newly intr

Re: [U-Boot] [PATCH] make hang() a weak function

2013-04-16 Thread Andreas Bießmann
Hi Albert, On 04/16/2013 01:36 PM, Albert ARIBAUD wrote: > Hi Andreas, > > On Tue, 16 Apr 2013 12:14:09 +0200, Andreas Bießmann > wrote: > >> This patch also does some minor coding style cleanups. >> >> Signed-off-by: Andreas Bießmann >> >> --- >> arch/arm/lib/board.c|3 ++- >>

Re: [U-Boot] [PATCH] powerpc/85xx: Add P1023RDB board support

2013-04-16 Thread Timur Tabi
On Tue, Apr 16, 2013 at 4:00 AM, Chunhe Lan wrote: > > +#define CONFIG_SYS_BAUDRATE_TABLE \ > + {300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 115200} It's amazing that Freescale is still producing board files that are missing 57,600 baud. ___

Re: [U-Boot] [PATCH] make hang() a weak function

2013-04-16 Thread Albert ARIBAUD
Hi Andreas, On Tue, 16 Apr 2013 12:14:09 +0200, Andreas Bießmann wrote: > This patch also does some minor coding style cleanups. > > Signed-off-by: Andreas Bießmann > > --- > arch/arm/lib/board.c|3 ++- > arch/avr32/lib/board.c |3 ++- > arch/blackfin/lib/board.c

Re: [U-Boot] [PATCH] make hang() a weak function

2013-04-16 Thread Graeme Russ
Hi Andreas, On Tue, Apr 16, 2013 at 8:14 PM, Andreas Bießmann < andreas.de...@googlemail.com> wrote: > This patch also does some minor coding style cleanups. > > Coding style cleanups belong in a separate patch - Rules are rules ;) Regards, Graeme __

Re: [U-Boot] [PATCH] make hang() a weak function

2013-04-16 Thread Stefan Roese
Hi Andreas, On 16.04.2013 12:14, Andreas Bießmann wrote: > This patch also does some minor coding style cleanups. > > Signed-off-by: Andreas Bießmann > > --- > arch/arm/lib/board.c|3 ++- > arch/avr32/lib/board.c |3 ++- > arch/blackfin/lib/board.c |3 ++-

[U-Boot] [PATCH] make hang() a weak function

2013-04-16 Thread Andreas Bießmann
This patch also does some minor coding style cleanups. Signed-off-by: Andreas Bießmann --- arch/arm/lib/board.c|3 ++- arch/avr32/lib/board.c |3 ++- arch/blackfin/lib/board.c |3 ++- arch/m68k/lib/board.c |3 ++- arch/microblaze/lib/board.c

Re: [U-Boot] [PATCH] arm: imx: Change iomux functions to void type

2013-04-16 Thread Stefano Babic
On 11/04/2013 11:06, Stefan Roese wrote: > They never return anything also than 0, so lets change the function > to void instead. > > Signed-off-by: Stefan Roese > --- Applied to u-boot-imx, -next branch, thanks. Best regards, Stefano Babic -- ===

Re: [U-Boot] [PATCH] mx28evk: add trimffs to nand command

2013-04-16 Thread Stefano Babic
On 08/04/2013 20:59, Eric Bénard wrote: > this is usefull when writing an UBI image which contains > and UBIFS volume (check README.nand and UBI FAQ for more details) > > Signed-off-by: Eric Bénard > --- Applied to u-boot-imx, -next branch, thanks. Best regards, Stefano Babic --

Re: [U-Boot] [PATCH v2] mx35 iomux: correct offsets of IOMUX registers

2013-04-16 Thread Stefano Babic
On 10/04/2013 00:44, Philip Paeps wrote: > This makes mxc_iomux_set_input() work correctly. Previously, the > incorrect offset of IOMUXSW_INPUT_CTL caused mxc_iomux_set_input() > to write to the wrong register, possibly resulting in unexpected > behaviour. > > Signed-off-by: Philip Paeps > ---

[U-Boot] [PATCH v2] patman: fix gitutil for decorations

2013-04-16 Thread Andreas Bießmann
The git config parameter log.decorate is quite useful when working with git. Patman, however can not handle the decorated output when parsing the commit. To prevent this use the '--no-decorate' switch for git-log. Signed-off-by: Andreas Bießmann --- Changes in v2: * add --no-decorate to all git-

[U-Boot] [PATCH] patman: fix gitutil for decorations

2013-04-16 Thread Andreas Bießmann
The git config parameter log.decorate is quite useful when working with git. Patman, however can not handle the decorated output when parsing the commit. To prevent this use the '--no-decorate' switch for git-log. Signed-off-by: Andreas Bießmann Cc: Tom Rini Cc: Simon Glass --- Since this is r

Re: [U-Boot] fatwrite problem

2013-04-16 Thread Ruud Commandeur
Hi Everyone, As far as I noticed, set_cluster can be called quite often with a size being zero. That can indeed be with a file that has a size being an exact multiple (including 0) of the clustersize, but also for files that are smaller than the size of one cluster. In that case, the 1st call t

[U-Boot] [PATCH] powerpc/85xx: Add P1023RDB board support

2013-04-16 Thread Chunhe Lan
P1023RDB Specification: --- Memory subsystem: 512MB DDR3 (Fixed DDR on board) 64MB NOR flash 128MB NAND flash Ethernet: eTSEC1: Connected to Atheros AR8035 GETH PHY eTSEC2: Connected to Atheros AR8035 GETH PHY PCIe: Three mini-PCIe slots USB: Two USB2.0 Type

Re: [U-Boot] [PATCH V8 4/9] EXYNOS5: DWMMC: Added FDT support for DWMMC

2013-04-16 Thread Amarendra Reddy
Hi Jaehoon, Please find my response below. Thanks & Regards Amarendra Reddy On 12 April 2013 16:50, Jaehoon Chung wrote: > On 04/10/2013 03:13 PM, Amarendra Reddy wrote: > > Hi Jaehoon, > > > > Please find my responses below. > > > > Thanks & Regards > > Amarendra Reddy > > > > On 9 April 2013

[U-Boot] [PATCH 5/5][v5] board/bsc9132qds:Add NAND boot support using new SPL format

2013-04-16 Thread Prabhakar Kushwaha
- Add NAND boot target - defines contants - Add spl_minimal.c to initialise DDR - update TLB, LAW entries as per NAND boot Signed-off-by: Prabhakar Kushwaha --- Based upon git://git.denx.de/u-boot.git branch master Changes for v2: Sending as it is Changes for v2: Fix tools/checkpat

[U-Boot] [PATCH 4/5][v5] board/bsc9131rdb:Add NAND boot support using new SPL format

2013-04-16 Thread Prabhakar Kushwaha
- Add NAND boot target - defines contants - Add spl_minimal.c to initialise DDR - update TLB entries as per NAND boot Signed-off-by: Prabhakar Kushwaha --- Based upon git://git.denx.de/u-boot.git branch master Changes for v2: Sending as it is Changes for v3: Fix tools/checkpatch er

[U-Boot] [PATCH 3/5][v5] board/p1010rdb:Add NAND boot support using new SPL format

2013-04-16 Thread Prabhakar Kushwaha
- defines contants - Add spl_minimal.c to initialise DDR - update TLB entries as per NAND boot - remove nand_spl support for P1010RDB Signed-off-by: Prabhakar Kushwaha --- Based upon git://git.denx.de/u-boot.git branch master Changes for v2: - Define CONFIG_A003399_NOR_WORKAROUN

[U-Boot] [v5] new SPL support for IFC based Feescale platforms

2013-04-16 Thread Prabhakar Kushwaha
This patch series ports existing Freescale's IFC based platforms/boards to new SPL based architecture. It is done to support NAND boot. It contains following patches: 1. powerpc/mpc85xx:No NOR boot,do not compile IFC errata A003399 2. powerpc/mpc85xx: new SPL support for IFC NAND 3. board/p10

[U-Boot] [PATCH 2/5][v5] powerpc/mpc85xx: new SPL support for IFC NAND

2013-04-16 Thread Prabhakar Kushwaha
Linker script is not able find start.o binary. So add its absolute path in u-boot-spl.lds. This change is similar to u-boot-nand.lds common/Makefile: Avoid compiling unnecssary files fsl_ifc_spl.c : It is is responsible for reading u-boot binary from NAND flash and copying into DDR. It also trans

[U-Boot] [PATCH 1/5][v5] powerpc/mpc85xx:No NOR boot, do not compile IFC errata A003399

2013-04-16 Thread Prabhakar Kushwaha
IFC errata A003399 is valid for IFC NOR boot i.e.if no on-board NOR flash or no NOR boot, do not compile its workaround. Signed-off-by: Prabhakar Kushwaha --- Based upon git://git.denx.de/u-boot.git branch master Changes for v2: - Add CONFIG_A003399_NOR_WORKAROUND for errata workaround

Re: [U-Boot] [PATCH v3] imx: Add titanium board support (i.MX6 based)

2013-04-16 Thread Stefano Babic
On 16/04/2013 09:19, Stefan Roese wrote: > Titanium is a i.MX6 based board from ProjectionDesign / Barco. This > patch adds support for this board with the newly introduced NAND > support for i.MX6. > Hi Stefan. > diff --git a/board/freescale/titanium/imximage.cfg > b/board/freescale/titanium/i

[U-Boot] [PATCH v3] imx: Add titanium board support (i.MX6 based)

2013-04-16 Thread Stefan Roese
Titanium is a i.MX6 based board from ProjectionDesign / Barco. This patch adds support for this board with the newly introduced NAND support for i.MX6. Signed-off-by: Stefan Roese Cc: Stefano Babic Cc: Fabio Estevam --- v3: - Rebased on current master (ARM PR included, 2013.04-rc3) - Removed ge

[U-Boot] [PATCH 4/4 v2] mtd: mxs_nand: Add support for i.MX6

2013-04-16 Thread Stefan Roese
Signed-off-by: Stefan Roese Acked-by: Scott Wood Cc: Stefano Babic Cc: Marek Vasut Cc: Fabio Estevam --- v2: - Changed tab to space after "#ifdef" Scott, is it okay for you if Stefano pulls this patchset via his ARM/imx repository? As it touches mainly ARM related bits and the MTD driver chan