[U-Boot] [PATCH] mpc83xx: set gpio level before direction

2008-08-29 Thread Peter Korsgaard
flash connected to a GPIO. Setting the direction register puts the NOR flash in reset so the next instruction to set the level cannot get executed. Signed-off-by: Peter Korsgaard [EMAIL PROTECTED] --- cpu/mpc83xx/cpu_init.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [U-Boot] [PATCH] mpc83xx: set gpio level before direction

2008-08-29 Thread Peter Korsgaard
Kim == Kim Phillips [EMAIL PROTECTED] writes: Kim this is a duplicate of: Ahh sorry, I must have missed that one. Kim so I'll merge your better description and s-o-b to that one if you Kim don't mind. Yeah, that's fine. -- Bye, Peter Korsgaard

[U-Boot] [PATCH] fdt_resize(): Expand to next page boundary independent of offset

2008-10-22 Thread Peter Korsgaard
random offset within a page. Instead, simply pad fdt to the next page boundary. For the common case of fdt at offset 0 within a page, the same amount of padding as before is added. Signed-off-by: Peter Korsgaard [EMAIL PROTECTED] --- common/fdt_support.c |3 +-- 1 files changed, 1

Re: [U-Boot] [PATCH] am33xx: Fix warning with CONFIG_DISPLAY_CPUINFO

2013-04-26 Thread Peter Korsgaard
Tom == Tom Rini tr...@ti.com writes: Tom The arm_freq and ddr_freq variables are unused, so remove. Fixup Tom whitespace slightly while in here. Tom Signed-off-by: Tom Rini tr...@ti.com Reviewed-by: Peter Korsgaard jac...@sunsite.dk -- Bye, Peter Korsgaard

Re: [U-Boot] [PATCH] tools: default image: use ih_size for checking data size

2013-05-07 Thread Peter Korsgaard
of whatever is written to flash - E.G. mkimage -l /dev/mtdN But that already fails as stat returns st_size=0 for devices. -- Bye, Peter Korsgaard ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCHv2 1/6] spl_mmc: return error from mmc_load_image_{raw, fat} rather than hanging

2013-05-08 Thread Peter Korsgaard
So we can instead fallback to doing something else on errors. Signed-off-by: Peter Korsgaard peter.korsga...@barco.com --- drivers/mmc/spl_mmc.c | 24 ++-- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/drivers/mmc/spl_mmc.c b/drivers/mmc/spl_mmc.c index

[U-Boot] [PATCHv2 2/6] spl_mmc: mmc_load_image_fat(): Add filename argument and move fat init out

2013-05-08 Thread Peter Korsgaard
So we can use it for falcon mode as well. Signed-off-by: Peter Korsgaard peter.korsga...@barco.com --- drivers/mmc/spl_mmc.c | 27 +-- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/drivers/mmc/spl_mmc.c b/drivers/mmc/spl_mmc.c index 0c50657..fac6f2d

[U-Boot] [PATCHv2 5/6] spl_mmc: add Falcon mode support for raw variant

2013-05-08 Thread Peter Korsgaard
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR. Signed-off-by: Peter Korsgaard peter.korsga...@barco.com --- README| 10 ++ drivers/mmc/spl_mmc.c | 18 ++ 2 files changed, 28 insertions(+) diff --git a/README b/README index 595c05d..3bac95b 100644 --- a/README +++ b/README @@ -2915,6

[U-Boot] [PATCHv2 3/6] spl_mmc: add Falcon mode support for FAT variant

2013-05-08 Thread Peter Korsgaard
If Falcon mode support is enabled (and the system isn't directed into booting u-boot), it will instead try to load kernel from CONFIG_SPL_FAT_LOAD_KERNEL_NAME file and kernel argument parameters from CONFIG_SPL_FAT_LOAD_ARGS_NAME, both from the same partition as u-boot. Signed-off-by: Peter

[U-Boot] [PATCHv2 6/6] RFC: am335x: enable falcon boot mode for mmc (raw and fat) and nand

2013-05-08 Thread Peter Korsgaard
). For nand, we use the last sector of the partition reserved for u-boot. This also enables the spl command in the full u-boot so the kernel parameter area snapshot can be created. Signed-off-by: Peter Korsgaard peter.korsga...@barco.com --- board/ti/am335x/board.c |9 + include

[U-Boot] [PATCHv2 0/6] Falcon boot mode for spl_mmc

2013-05-08 Thread Peter Korsgaard
Rini's feedback. Added spl command for easy kernel parameter area snapshot creation. Peter Korsgaard (6): spl_mmc: return error from mmc_load_image_{raw,fat} rather than hanging spl_mmc: mmc_load_image_fat(): Add filename argument and move fat init out spl_mmc: add Falcon mode

[U-Boot] [PATCHv2 4/6] spl_mmc: mmc_load_image_raw(): Add sector argument

2013-05-08 Thread Peter Korsgaard
So we can use it for falcon mode as well. Signed-off-by: Peter Korsgaard peter.korsga...@barco.com --- drivers/mmc/spl_mmc.c | 15 ++- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/drivers/mmc/spl_mmc.c b/drivers/mmc/spl_mmc.c index d250b40..d710c0d 100644

Re: [U-Boot] [PATCHv2 6/6] RFC: am335x: enable falcon boot mode for mmc (raw and fat) and nand

2013-05-08 Thread Peter Korsgaard
Tom == Tom Rini tr...@ti.com writes: Hi, This also enables the spl command in the full u-boot so the kernel parameter area snapshot can be created. Signed-off-by: Peter Korsgaard peter.korsga...@barco.com Tom You forgot to drop the RFC part :) Argh, indeed. +/* nand */ +#define

Re: [U-Boot] [PATCH 1/6] am335x_evm: Drop useless CONFIG_ENV_IS_NOWHERE

2013-05-12 Thread Peter Korsgaard
Tom == Tom Rini tr...@ti.com writes: Tom We always set a CONFIG_ENV_IS_...somewhere... so drop the initial define Tom of NOWHERE. Tom Signed-off-by: Tom Rini tr...@ti.com Reviewed-by: Peter Korsgaard jac...@sunsite.dk -- Bye, Peter Korsgaard

Re: [U-Boot] [PATCH 3/6] am335x_evm: Only set CONFIG_NAND when !CONFIG_SPI_BOOT

2013-05-12 Thread Peter Korsgaard
#endif Tom -#endif Tom #endif /* ! __CONFIG_AM335X_EVM_H */ Tom -- Tom 1.7.9.5 Tom ___ Tom U-Boot mailing list Tom U-Boot@lists.denx.de Tom http://lists.denx.de/mailman/listinfo/u-boot -- Bye, Peter Korsgaard

Re: [U-Boot] [PATCH 2/6] am335x_evm: Add MTDPARTS info for SPI flash

2013-05-12 Thread Peter Korsgaard
*/ Tom -- Tom 1.7.9.5 Tom ___ Tom U-Boot mailing list Tom U-Boot@lists.denx.de Tom http://lists.denx.de/mailman/listinfo/u-boot -- Bye, Peter Korsgaard ___ U-Boot mailing list U-Boot@lists.denx.de http

Re: [U-Boot] [PATCH 5/6] am335x_evm:Add support for the NOR module on the memory cape

2013-05-12 Thread Peter Korsgaard
and beaglebone? That's not really nice. -- Bye, Peter Korsgaard ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 6/6] am335x_evm: Add support to boot from NOR.

2013-05-12 Thread Peter Korsgaard
___ Tom U-Boot mailing list Tom U-Boot@lists.denx.de Tom http://lists.denx.de/mailman/listinfo/u-boot -- Bye, Peter Korsgaard ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 6/6] am335x_evm: Add support to boot from NOR.

2013-05-12 Thread Peter Korsgaard
here at least that it doesn't seem like we'd gain on Tom falcon mode like we do on other medium. Ok. It would be good to mention this in the commit message. -- Bye, Peter Korsgaard ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman

[U-Boot] [PATCHv3 5/6] spl_mmc: add Falcon mode support for raw variant

2013-05-13 Thread Peter Korsgaard
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR. Signed-off-by: Peter Korsgaard peter.korsga...@barco.com --- README| 10 ++ drivers/mmc/spl_mmc.c | 18 ++ 2 files changed, 28 insertions(+) diff --git a/README b/README index 595c05d..3bac95b 100644 --- a/README +++ b/README @@ -2915,6

[U-Boot] [PATCHv3 1/6] spl_mmc: return error from mmc_load_image_{raw, fat} rather than hanging

2013-05-13 Thread Peter Korsgaard
So we can instead fallback to doing something else on errors. Signed-off-by: Peter Korsgaard peter.korsga...@barco.com --- drivers/mmc/spl_mmc.c | 24 ++-- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/drivers/mmc/spl_mmc.c b/drivers/mmc/spl_mmc.c index

[U-Boot] [PATCHv3 4/6] spl_mmc: mmc_load_image_raw(): Add sector argument

2013-05-13 Thread Peter Korsgaard
So we can use it for falcon mode as well. Signed-off-by: Peter Korsgaard peter.korsga...@barco.com --- drivers/mmc/spl_mmc.c | 15 ++- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/drivers/mmc/spl_mmc.c b/drivers/mmc/spl_mmc.c index d250b40..d710c0d 100644

[U-Boot] [PATCHv3 3/6] spl_mmc: add Falcon mode support for FAT variant

2013-05-13 Thread Peter Korsgaard
If Falcon mode support is enabled (and the system isn't directed into booting u-boot), it will instead try to load kernel from CONFIG_SPL_FAT_LOAD_KERNEL_NAME file and kernel argument parameters from CONFIG_SPL_FAT_LOAD_ARGS_NAME, both from the same partition as u-boot. Signed-off-by: Peter

[U-Boot] [PATCHv3 0/6] Falcon boot mode for spl_mmc

2013-05-13 Thread Peter Korsgaard
MTDPARTS_DEFAULT settings according to Tom Rini's feedback. Changes since V1: - Adjusted am335x parameters according to Tom Rini's feedback. Added spl command for easy kernel parameter area snapshot creation. Peter Korsgaard (6): spl_mmc: return error from mmc_load_image_{raw,fat} rather

[U-Boot] [PATCHv3 2/6] spl_mmc: mmc_load_image_fat(): Add filename argument and move fat init out

2013-05-13 Thread Peter Korsgaard
So we can use it for falcon mode as well. Signed-off-by: Peter Korsgaard peter.korsga...@barco.com --- drivers/mmc/spl_mmc.c | 27 +-- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/drivers/mmc/spl_mmc.c b/drivers/mmc/spl_mmc.c index 0c50657..fac6f2d

[U-Boot] [PATCHv3 6/6] am335x: enable falcon boot mode for mmc (raw and fat) and nand

2013-05-13 Thread Peter Korsgaard
). For nand, we use the last sector of the partition reserved for u-boot. This also enables the spl command in the full u-boot so the kernel parameter area snapshot can be created. Signed-off-by: Peter Korsgaard peter.korsga...@barco.com --- board/ti/am335x/board.c |9 + include

Re: [U-Boot] [PATCH v2 1/7] am33xx/omap3: Clean up gpmc_init slightly

2013-05-15 Thread Peter Korsgaard
Korsgaard jac...@sunsite.dk -- Bye, Peter Korsgaard ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 3/7] am335x_evm: Update SPI_BOOT support, add MTDPARTS info

2013-05-15 Thread Peter Korsgaard
extra space, keep env size as 128KiB, add redundant environment. Tom Signed-off-by: Tom Rini tr...@ti.com Reviewed-by: Peter Korsgaard jac...@sunsite.dk Tom --- Tom Changes in v2: Tom - Correct physmap - m25p80 in mtdparts (Peter K). Tom - Style fixups, drop redundant SPL space, add

Re: [U-Boot] [PATCH v2 4/7] am335x_evm: Only set CONFIG_NAND when !CONFIG_SPI_BOOT

2013-05-15 Thread Peter Korsgaard
-by: Tom Rini tr...@ti.com Reviewed-by: Peter Korsgaard jac...@sunsite.dk Tom --- Tom Changes in v2: Tom - Reword commit message Thanks! -- Bye, Peter Korsgaard ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 5/7] am335x_evm: Rework board_is_foo() checks

2013-05-15 Thread Peter Korsgaard
be running from read-only memory. Tom Signed-off-by: Tom Rini tr...@ti.com Reviewed-by: Peter Korsgaard jac...@sunsite.dk -- Bye, Peter Korsgaard ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 6/7] am335x_evm: Add support for the NOR module on the memory cape

2013-05-16 Thread Peter Korsgaard
the nand handling should just get moved out of gpmc_init() (or the _cs_config args should be passed to gpmc_init() ). Tom return 0; Tom } -- Bye, Peter Korsgaard ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u

Re: [U-Boot] [PATCH v2 7/7] am335x_evm: Add support to boot from NOR.

2013-05-16 Thread Peter Korsgaard
writel(regs-dmm_lisa_map_0, hw_lisa_map_regs-dmm_lisa_map_0); Tom } Tom +#endif -- Bye, Peter Korsgaard ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 6/7] am335x_evm: Add support for the NOR module on the memory cape

2013-05-16 Thread Peter Korsgaard
() ? -- Bye, Peter Korsgaard ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 7/7] am335x_evm: Add support to boot from NOR.

2013-05-16 Thread Peter Korsgaard
message. -- Bye, Peter Korsgaard ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 6/7] am335x_evm: Add support for the NOR module on the memory cape

2013-05-16 Thread Peter Korsgaard
Tom == Tom Rini tr...@ti.com writes: Hi, Tom But I ended up with one non-default on all of omap3,which just Tom says lets re-program cs0 for our split. Ok, thanks. -- Bye, Peter Korsgaard ___ U-Boot mailing list U-Boot@lists.denx.de http

Re: [U-Boot] [PATCH v2 7/7] am335x_evm: Add support to boot from NOR.

2013-05-16 Thread Peter Korsgaard
Tom == Tom Rini tr...@ti.com writes: Ok, that's interesting info which imho belongs in the commit message. Tom Reworded, thanks! Great, thanks. -- Bye, Peter Korsgaard ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman

Re: [U-Boot] [PATCH V2 1/4] README: document CONFIG_ENV_IS_IN_MMC

2013-05-23 Thread Peter Korsgaard
CONFIG_ENV_OFFSET_REDUND is S + set. If this value is set, it must be set to the same value as S + CONFIG_ENV_OFFSET. s/CONFIG_ENV_OFFSET/CONFIG_ENV_SIZE/ -- Bye, Peter Korsgaard ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman

Re: [U-Boot] [PATCH V2 3/4] env_mmc: allow negative CONFIG_ENV_OFFSET

2013-05-23 Thread Peter Korsgaard
to let env_mmc work directly with block numbers instead of bytes, that way stuff would also work with 4GB MMCs. -- Bye, Peter Korsgaard ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH V3 1/4] README: document CONFIG_ENV_IS_IN_MMC

2013-05-23 Thread Peter Korsgaard
+ area within the specified MMC device. S + S + These two values are in units of bytes, but must be aligned to an S + MMC sector boundary. s/to an/t a/ Other than that: Reviewed-by: Peter Korsgaard jac...@sunsite.dk -- Bye, Peter Korsgaard

Re: [U-Boot] [PATCH V3 1/4] README: document CONFIG_ENV_IS_IN_MMC

2013-05-23 Thread Peter Korsgaard
Stephen == Stephen Warren swar...@wwwdotorg.org writes: Stephen On 05/23/2013 03:59 PM, Peter Korsgaard wrote: S == Stephen Warren swar...@wwwdotorg.org writes: Stephen ... S + These two values are in units of bytes, but must be aligned to an S + MMC sector boundary. s

Re: [U-Boot] [PATCH 2/3] am33xx: Correct NON_SECURE_SRAM_START/END

2013-05-31 Thread Peter Korsgaard
/ Otherwise it looks good. Reviewed-by: Peter Korsgaard jac...@sunsite.dk -- Bye, Peter Korsgaard ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] arm, am33xx: move s_init to a common place

2013-06-15 Thread Peter Korsgaard
noticed any problems. What are those problems exactly? -- Bye, Peter Korsgaard ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 3/3] am335x-evm: switch to DT boot

2013-02-17 Thread Peter Korsgaard
Koen == Koen Kooi k...@dominion.thruhere.net writes: Koen The findfdt method is being used to locate the right .dtb for the Koen board and load it from /boot. Acked-by: Peter Korsgaard jac...@sunsite.dk -- Bye, Peter Korsgaard ___ U-Boot mailing

Re: [U-Boot] [PATCH v2] Allow AM33xx boards to setup GPMC chipselects.

2013-02-17 Thread Peter Korsgaard
+u32 size); Seems like your mailer line wrapped the patch. -- Bye, Peter Korsgaard ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 2/3] am335x-evm: add support for BeagleBone Black DT name

2013-02-17 Thread Peter Korsgaard
+if test $board_name = A335BNLT; then \ Koen +setenv fdtfile am335x-bonelt.dtb; fi; \ Where does the 'bonelt' name come from? Seems quite far from bone black to me. Other than that it looks fine. Acked-by: Peter Korsgaard jac...@sunsite.dk -- Bye, Peter

Re: [U-Boot] [PATCH 03/10] am33xx: refactor am33xx clocks and add ti814x support

2013-02-17 Thread Peter Korsgaard
+ * Matt + * clocks for TI814X based boards Matt + * Matt + * Copyright (C) 2011, Texas Instruments, Incorporated - http://www.ti.com/ Same here. -- Bye, Peter Korsgaard ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo

Re: [U-Boot] [PATCH v2 1/3] am335x-evm: enable ext4

2013-02-17 Thread Peter Korsgaard
CONFIG_CMD_EXT2 Koen +#define CONFIG_CMD_EXT4 Shouldn't the bootcmd then also be changed to use ext4load instead? Why keep CMD_EXT2 enabled? -- Bye, Peter Korsgaard ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 05/10] am33xx: add ti814x specific register definitions

2013-02-17 Thread Peter Korsgaard
-- Bye, Peter Korsgaard ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 04/10] am33xx: refactor am33xx mux support and add ti814x support

2013-02-17 Thread Peter Korsgaard
it looks good. Acked-by: Peter Korsgaard jac...@sunsite.dk -- Bye, Peter Korsgaard ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 1/3] am335x-evm: enable ext4

2013-02-17 Thread Peter Korsgaard
at once as they are strongly related and in the same file. -- Bye, Peter Korsgaard ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v3] Allow AM33xx boards to setup GPMC chipselects.

2013-02-18 Thread Peter Korsgaard
, struct gpmc_cs *cs, u32 base, Mark +u32 size); Checkpatch still complains. How about wrapping after *cs, and properly aligning the next line? -- Bye, Peter Korsgaard ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman

Re: [U-Boot] [PATCH v4] Allow AM33xx boards to setup GPMC chipselects.

2013-02-18 Thread Peter Korsgaard
Mark == Mark Jackson mpfj-l...@mimc.co.uk writes: Mark Expose the enable_gpmc_cs_config() function so AM33xx based boards can register GPMC chip selects. Acked-by: Peter Korsgaard jac...@sunsite.dk -- Bye, Peter Korsgaard ___ U-Boot mailing list U

Re: [U-Boot] [PATCH 05/10] am33xx: add ti814x specific register definitions

2013-02-18 Thread Peter Korsgaard
project. Argh! Couldn't we just swap the meaning of mmc1/mmc2 or would that be too confusing? Tom IMHO, that will lead to further confusion down the line. I talked with Tom Matt about this before and well, it's funky. Ok. -- Bye, Peter Korsgaard

Re: [U-Boot] [PATCH 1/4] am335x_evm: Enable CONFIG_CMD_BOOTZ

2013-02-19 Thread Peter Korsgaard
-off-by: Tom Rini tr...@ti.com Acked-by: Peter Korsgaard jac...@sunsite.dk -- Bye, Peter Korsgaard ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 1/2] ARM: bootm: allow skipping fdt memory node fixup

2013-02-20 Thread Peter Korsgaard
with replacing on 0x0 entries and Tom warning when they don't match what U-Boot has detected. It is correct for the (classic) beaglebone. This also hits people using appended dtb unless they have CONFIG_ARM_ATAG_DTB_COMPAT enabled (which the probably do though). -- Bye, Peter Korsgaard

Re: [U-Boot] [PATCH] Initialise correct GPMC WAITx irq for AM33xx

2013-02-21 Thread Peter Korsgaard
/* global settings */ Mark writel(0x0008, gpmc_cfg-sysconfig); Mark writel(0x0100, gpmc_cfg-irqstatus); Mark -writel(0x0200, gpmc_cfg-irqenable); Mark +writel(0x0100, gpmc_cfg-irqenable); Acked-by: Peter Korsgaard jac...@sunsite.dk

Re: [U-Boot] [RFC] Kbuild support for ARM FIT images

2013-02-21 Thread Peter Korsgaard
it in the same way). I know this was not the intention of DT, but unfortunately this is how things have turned out so far. -- Bye, Peter Korsgaard ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 05/10] am33xx: add ti814x specific register definitions

2013-02-22 Thread Peter Korsgaard
: 0 I'm looking at the emac driver at the moment. It still needs some more work and cleanup, but I would imagine an early series could be posted next week or so is Antoine agrees. -- Bye, Peter Korsgaard ___ U-Boot mailing list U-Boot@lists.denx.de http

Re: [U-Boot] [PATCH 05/10] am33xx: add ti814x specific register definitions

2013-02-22 Thread Peter Korsgaard
Tom in there? Thanks! I can have a look, but I don't have access to any of the older devices using the driver. -- Bye, Peter Korsgaard ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 3/4] am335x_evm: Add CONFIG_CMD_MTDPARTS and relevant defaults

2013-02-27 Thread Peter Korsgaard
) Is there a particular reason why the u-boot partition is so big? -- Bye, Peter Korsgaard ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] Allow AM335x MPU core clock speed to be specified in the board config file

2013-03-01 Thread Peter Korsgaard
#define MPUPLL_M550 Mark +#endif It would imho be more readable to do: /* default to 550 MHz */ #ifndef V_MPUCLK #define V_MPUCLK55000 #endif and then always use it below. -- Bye, Peter Korsgaard ___ U-Boot mailing list U-Boot

Re: [U-Boot] [PATCH v2 1/9] am33xx: convert defines from am33xx-specific to generic names

2013-03-03 Thread Peter Korsgaard
Matt == Matt Porter mpor...@ti.com writes: Matt Eliminate AM33xx specific names to prepare for TI814x support Matt within AM33xx-land. Matt Signed-off-by: Matt Porter mpor...@ti.com Matt Reviewed-by: Tom Rini tr...@ti.com Acked-by: Peter Korsgaard jac...@sunsite.dk Matt --- Matt v2

Re: [U-Boot] [PATCH v2 2/9] am33xx: refactor emif4/ddr to support multiple EMIF instances

2013-03-03 Thread Peter Korsgaard
argument. Matt Signed-off-by: Matt Porter mpor...@ti.com Matt Reviewed-by: Tom Rini tr...@ti.com Acked-by: Peter Korsgaard jac...@sunsite.dk -- Bye, Peter Korsgaard ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u

Re: [U-Boot] [PATCH v2 7/9] am33xx: support ti814x mmc reference clock

2013-03-03 Thread Peter Korsgaard
Matt == Matt Porter mpor...@ti.com writes: Matt TI814x has a 192MHz hsmmc reference clock. Select that clock rate Matt when building for TI814x. Matt Signed-off-by: Matt Porter mpor...@ti.com Acked-by: Peter Korsgaard jac...@sunsite.dk Did you figure out why it was working for you with 96

Re: [U-Boot] [PATCH v2 8/9] ns16550: enable quirks for ti814x

2013-03-03 Thread Peter Korsgaard
Matt == Matt Porter mpor...@ti.com writes: Matt TI814X requires the same quirks as AM33XX to be enabled. Matt Signed-off-by: Matt Porter mpor...@ti.com Matt Reviewed-by: Tom Rini tr...@ti.com Acked-by: Peter Korsgaard jac...@sunsite.dk Matt --- Matt v2: no changes Matt --- Matt drivers

Re: [U-Boot] [PATCH v2] Allow AM335x MPU core clock speed to be specified in the board config file

2013-03-03 Thread Peter Korsgaard
Mark --- Mark Changes in v2: Mark - Tweaked after comments from Peter Korsgaard Mark arch/arm/include/asm/arch-am33xx/clocks_am33xx.h |7 +-- Mark 1 file changed, 5 insertions(+), 2 deletions(-) Mark diff --git a/arch/arm/include/asm/arch-am33xx/clocks_am33xx.h b/arch/arm/include

Re: [U-Boot] [PATCH v4] Allow AM335x MPU core clock speed to be specified in the board config file

2013-03-04 Thread Peter Korsgaard
...@newflow.co.uk Acked-by: Peter Korsgaard jac...@sunsite.dk -- Bye, Peter Korsgaard ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 7/9] am33xx: support ti814x mmc reference clock

2013-03-04 Thread Peter Korsgaard
, Peter Korsgaard ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] driver for davicom dm9601 usb-ethernet NIC

2013-03-07 Thread Peter Korsgaard
for asix/smsc95xx based devices). The dm9601 is quite simple, so you could write a driver for it or alternative buy an asix/smsc95xx based dongle. -- Bye, Peter Korsgaard ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u

Re: [U-Boot] [PATCH v2 2/3] am335x_evm: Enable CMD_EXT4 and CMD_FS_GENERIC, add bootpart to env

2013-03-13 Thread Peter Korsgaard
instead. Tom @@ -147,6 +147,8 @@ Tom #define CONFIG_DOS_PARTITION Tom #define CONFIG_CMD_FAT Tom #define CONFIG_CMD_EXT2 Tom +#define CONFIG_CMD_EXT4 Tom +#define CONFIG_CMD_FS_GENERIC CMD_EXT2 can presumably be dropped now? Other than that, Acked-by: Peter Korsgaard jac...@sunsite.dk

Re: [U-Boot] [PATCH v2 3/3] am335x_evm: Add more variables and switch to DT booting.

2013-03-13 Thread Peter Korsgaard
+ Except for the extra line here, Acked-by: Peter Korsgaard jac...@sunsite.dk -- Bye, Peter Korsgaard ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 2/3] am335x_evm: Enable CMD_EXT4 and CMD_FS_GENERIC, add bootpart to env

2013-03-13 Thread Peter Korsgaard
message. -- Bye, Peter Korsgaard ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v3 1/3] am335x_evm: add support for BeagleBone Black DT name

2013-03-14 Thread Peter Korsgaard
Tom == Tom Rini tr...@ti.com writes: Tom From: Koen Kooi k...@dominion.thruhere.net Tom Cc: Matt Porter mpor...@ti.com Tom Cc: Nishanth Menon n...@ti.com Tom Signed-off-by: Koen Kooi k...@dominion.thruhere.net Tom Signed-off-by: Tom Rini tr...@ti.com Acked-by: Peter Korsgaard jac

Re: [U-Boot] [PATCH v3 2/3] am335x_evm: Enable CMD_EXT4 and CMD_FS_GENERIC, add bootpart to env

2013-03-14 Thread Peter Korsgaard
as well. We leave Tom CONFIG_CMD_EXT2 for existing scripts that use ext2load. Tom Signed-off-by: Koen Kooi k...@dominion.thruhere.net Tom Signed-off-by: Tom Rini tr...@ti.com Acked-by: Peter Korsgaard jac...@sunsite.dk -- Bye, Peter Korsgaard ___ U-Boot

Re: [U-Boot] [PATCH v3 3/3] am335x_evm: Add more variables and switch to DT booting.

2013-03-14 Thread Peter Korsgaard
Signed-off-by: Koen Kooi k...@dominion.thruhere.net Tom Signed-off-by: Tom Rini tr...@ti.com Acked-by: Peter Korsgaard jac...@sunsite.dk -- Bye, Peter Korsgaard ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] Patches pushed on 2013-03-12

2013-03-14 Thread Peter Korsgaard
considering the mail volume on u-boot@? I prefer individual replies. -- Bye, Peter Korsgaard ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] arm: Correct CONFIG_STANDALONE_LOAD_ADDR for AM33XX/OMAP* platforms

2013-03-15 Thread Peter Korsgaard
Tom == Tom Rini tr...@ti.com writes: Tom All of these platforms have memory starting at 0x8000, so this is Tom the correct CONFIG_STANDALONE_LOAD_ADDR for all of them. For am33xx atleast: Acked-by: Peter Korsgaard jac...@sunsite.dk Tom Signed-off-by: Tom Rini tr...@ti.com Tom --- Tom

Re: [U-Boot] [PATCH] am33xx: fix the ddr_cmdtctrl structure

2013-06-17 Thread Peter Korsgaard
-by: Ilya Ledvich i...@compulab.co.il Reviewed-by: Peter Korsgaard jac...@sunsite.dk -- Bye, Peter Korsgaard ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] spl_mmc.c: Detect missing kernel image in RAW MMC

2013-06-28 Thread Peter Korsgaard
-by: Peter Korsgaard jac...@sunsite.dk Tom --- Tom common/spl/spl_mmc.c |4 Tom 1 file changed, 4 insertions(+) Tom diff --git a/common/spl/spl_mmc.c b/common/spl/spl_mmc.c Tom index 170fa38..d20f45d 100644 Tom --- a/common/spl/spl_mmc.c Tom +++ b/common/spl/spl_mmc.c Tom @@ -29,6

Re: [U-Boot] [PATCH 1/2] README.falcon: Note how we determine if we can boot the OS or not

2013-07-03 Thread Peter Korsgaard
Tom == Tom Rini tr...@ti.com writes: Tom Signed-off-by: Tom Rini tr...@ti.com Reviewed-by: Peter Korsgaard jac...@sunsite.dk Tom --- Tom doc/README.falcon |2 ++ Tom 1 file changed, 2 insertions(+) Tom diff --git a/doc/README.falcon b/doc/README.falcon Tom index 93e855d..6357b1e

Re: [U-Boot] [PATCH 2/2] am335x_evm: Update, document Falcon Mode support

2013-07-03 Thread Peter Korsgaard
. Really? I thought eMMC behaved just like SD cards? Tom +# Ensure are able to talk with this mmc device, erase most previous contents Ensure we are -- Bye, Peter Korsgaard ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman

Re: [U-Boot] [PATCH v2 2/5] am335x_evm: Correct DFU ALT settings for falcon mode

2013-07-08 Thread Peter Korsgaard
for ease of math later. Tom Signed-off-by: Tom Rini tr...@ti.com Reviewed-by: Peter Korsgaard jac...@sunsite.dk -- Bye, Peter Korsgaard ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 3/5] am335x_evm: Update eMMC falcon mode locations

2013-07-08 Thread Peter Korsgaard
we set aside for U-Boot itself, so move it Tom up a bit higher. Tom Signed-off-by: Tom Rini tr...@ti.com Reviewed-by: Peter Korsgaard jac...@sunsite.dk -- Bye, Peter Korsgaard ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman

Re: [U-Boot] [PATCH v2 5/5] am335x_evm: Add basic README

2013-07-08 Thread Peter Korsgaard
Tom == Tom Rini tr...@ti.com writes: Tom Add a README for the family of boards the am335x_evm covers, and include Tom instructions on preparing and using falcon mode, for various media. Tom Signed-off-by: Tom Rini tr...@ti.com Reviewed-by: Peter Korsgaard jac...@sunsite.dk -- Bye, Peter

Re: [U-Boot] [PATCH v4 5/5] board/ti/am335x/README: update for NAND boot

2013-09-03 Thread Peter Korsgaard
+ # flash MLO. redundant copies of MLO are kept for backup s/redundant/Redundant/ s/backup/failsafe/ Otherwise it looks good. Acked-by: Peter Korsgaard jac...@sunsite.dk -- Bye, Peter Korsgaard ___ U-Boot mailing list U-Boot@lists.denx.de http

[U-Boot] [PATCH 1/2] mmc: mmc_getcd/getwp: use sensible defaults

2013-03-21 Thread Peter Korsgaard
Let mmc_getcd() return true and mmc_getwp() false if mmc driver doesn't provide handlers for them. Signed-off-by: Peter Korsgaard peter.korsga...@barco.com --- drivers/mmc/mmc.c | 14 ++ 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/drivers/mmc/mmc.c b/drivers/mmc

[U-Boot] [PATCH 2/2] mmc: omap_hsmmc.c: only register getcd/getwp callbacks if gpio could be used

2013-03-21 Thread Peter Korsgaard
Gets rid of warnings from omap_gpio: ERROR : check_gpio: invalid GPIO -1 (and undefined behaviour as the -1 error code is interpreted as gpio value) Signed-off-by: Peter Korsgaard peter.korsga...@barco.com --- drivers/mmc/omap_hsmmc.c |8 ++-- 1 file changed, 6 insertions(+), 2

Re: [U-Boot] [PATCH 2/2] mmc: omap_hsmmc.c: only register getcd/getwp callbacks if gpio could be used

2013-03-21 Thread Peter Korsgaard
, Peter Korsgaard ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 1/2] mmc: mmc_getcd/getwp: use sensible defaults

2013-03-21 Thread Peter Korsgaard
Tom == Tom Rini tr...@ti.com writes: Tom On Thu, Mar 21, 2013 at 03:00:03PM +0100, Peter Korsgaard wrote: Let mmc_getcd() return true and mmc_getwp() false if mmc driver doesn't provide handlers for them. Signed-off-by: Peter Korsgaard peter.korsga...@barco.com Tom Do we really need

[U-Boot] [PATCH] spl_mmc: cleanup variable types

2013-03-21 Thread Peter Korsgaard
block_read returns unsigned long, so it doesn't make sense to check for 0. and neither does marking the header structure as const and then casting away the constness to load data into it. Also cleanup some unneeded pointer casting while we're at it. Signed-off-by: Peter Korsgaard peter.korsga

[U-Boot] [PATCH 1/6] spl_mmc: return error from mmc_load_image_{raw, fat} rather than hanging

2013-03-24 Thread Peter Korsgaard
So we can instead fallback to doing something else on errors. Signed-off-by: Peter Korsgaard peter.korsga...@barco.com --- drivers/mmc/spl_mmc.c | 24 ++-- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/drivers/mmc/spl_mmc.c b/drivers/mmc/spl_mmc.c index

[U-Boot] [PATCH 6/6] RFC: am335x: enable falcon boot mode for mmc (raw and fat)

2013-03-24 Thread Peter Korsgaard
Jump into full u-boot mode if a 'c' character is received on the uart. We need to adjust the spl bss/malloc area to not overlap with the loadaddr of the kernel (sdram + 32k), so move it past u-boot instead. Signed-off-by: Peter Korsgaard peter.korsga...@barco.com --- board/ti/am335x/board.c

[U-Boot] [PATCH 5/6] spl_mmc: add Falcon mode support for raw variant

2013-03-24 Thread Peter Korsgaard
CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR. Signed-off-by: Peter Korsgaard peter.korsga...@barco.com --- README| 10 ++ drivers/mmc/spl_mmc.c | 18 ++ 2 files changed, 28 insertions(+) diff --git a/README b/README index ef1aca1..a30b7a2 100644 --- a/README +++ b/README @@ -2845,6

[U-Boot] [PATCH 4/6] spl_mmc: mmc_load_image_raw(): Add sector argument

2013-03-24 Thread Peter Korsgaard
So we can use it for falcon mode as well. Signed-off-by: Peter Korsgaard peter.korsga...@barco.com --- drivers/mmc/spl_mmc.c | 15 ++- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/drivers/mmc/spl_mmc.c b/drivers/mmc/spl_mmc.c index d250b40..d710c0d 100644

[U-Boot] [PATCH 3/6] spl_mmc: add Falcon mode support for FAT variant

2013-03-24 Thread Peter Korsgaard
If Falcon mode support is enabled (and the system isn't directed into booting u-boot), it will instead try to load kernel from CONFIG_SPL_FAT_LOAD_KERNEL_NAME file and kernel argument parameters from CONFIG_SPL_FAT_LOAD_ARGS_NAME, both from the same partition as u-boot. Signed-off-by: Peter

[U-Boot] [PATCH 2/6] spl_mmc: mmc_load_image_fat(): Add filename argument and move fat init out

2013-03-24 Thread Peter Korsgaard
So we can use it for falcon mode as well. Signed-off-by: Peter Korsgaard peter.korsga...@barco.com --- drivers/mmc/spl_mmc.c | 27 +-- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/drivers/mmc/spl_mmc.c b/drivers/mmc/spl_mmc.c index 0c50657..fac6f2d

[U-Boot] sba...@denx.de

2013-03-24 Thread Peter Korsgaard
support for the am335x evm board, which has been used to test the series. That patch should not be committed as is. -- Bye, Peter Korsgaard ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH 0/6] Falcon boot mode for spl_mmc

2013-03-24 Thread Peter Korsgaard
Ehh, seems I fat fingered the subject :/ On Sun, Mar 24, 2013 at 10:51 PM, Peter Korsgaard peter.korsga...@barco.com wrote: Hi, This patch series adds falcon boot mode for MMC (raw and FAT), similar to the existing nand support. This series applies on top of the recent spl_mmc variable

Re: [U-Boot] [PATCH 6/6] RFC: am335x: enable falcon boot mode for mmc (raw and fat)

2013-03-27 Thread Peter Korsgaard
Tom == Tom Rini tr...@ti.com writes: Tom On Sun, Mar 24, 2013 at 10:51:33PM +0100, Peter Korsgaard wrote: Jump into full u-boot mode if a 'c' character is received on the uart. We need to adjust the spl bss/malloc area to not overlap with the loadaddr of the kernel (sdram + 32k), so

Re: [U-Boot] [PATCH 6/6] RFC: am335x: enable falcon boot mode for mmc (raw and fat)

2013-03-27 Thread Peter Korsgaard
, the spl export looks like it Tom goes right at the start of the rootfs, isn't that bad? Or at least, Tom luck? You mean nandsrcaddr, right? CONFIG_CMD_SPL_NAND_OFS just need to be somewhere unused on the nand. -- Bye, Peter Korsgaard ___ U-Boot

  1   2   3   >