[U-Boot] Pull request: u-boot-arm/master -- from a temporary repository
Hello Tom, The following changes since commit aaf5e825606a70ddc8fca8e366d8c16a6fd3cc7c: Merge branch 'master' of git://git.denx.de/u-boot-nds32 (2013-07-25 08:51:51 -0400) are available in the git repository at: git://88.191.163.10/u-boot-arm master for you to fetch changes up to 9ed887caecb9ecb0c68773a1870d143b9f28d3da: Merge branch 'u-boot-imx/master' into 'u-boot-arm/master' (2013-08-17 18:24:13 +0200) Albert ARIBAUD (2): Merge branch 'u-boot/master' into u-boot-arm/master Merge branch 'u-boot-imx/master' into 'u-boot-arm/master' Andreas Bießmann (1): omap3/sys_info: fix printout of OMAP36XX L3 freqency Ash Charles (1): omap: overo: Use 200MHz SDRC timings for revision 1, 2 3 boards Christian Riesch (1): da850evm: Use clrbits function with correct endianess Dan Murphy (2): gpio: tca642x: Add the tca642x gpio expander driver gpio: omap5-uevm: Configure the tca6424 gpio expander Dinh Nguyen (1): socfpga: Move board/socfpga_cyclone5 to board/socfpga Dirk Behme (1): mxc_gpio: Correct the GPIO handling in gpio_direction_output() Enric Balletbo i Serra (5): ARM: IGEP0033: Remove undef of CONFIG_CMD_MEMTEST ARM: IGEP0033: Remove CYGNUS name from header. ARM: IGEP0033: Add support to boot from NAND. ARM: IGEP0033: Remove duplicate / unused #defines. ARM: igep00x0.h: Enable the use of CMD_EXT4, CMD_FS_GENERIC and zImage. Enric Balletbò i Serra (1): ARM: IGEP0033: Add support for Flattened Device Tree. Eric Nelson (1): mxc_ipuv3: fix memory alignment of framebuffer Fabio Estevam (1): mx6qsabrelite: Remove mx6qsabrelite code in favor of nitrogen6x Heiko Schocher (6): net, phy, cpsw: fix gigabit register access ARM: AM33xx: Move s_init to a common place arm/davinci/da850: add uart0_pins_rtscts and RMII_MHz_50_CLK in emac_pins_rmii pinmux bootstage: get more BOOTSTAGE_ID* in show_boot_progress() arm, da850: enable the correct uart in arch_cpu_init() arm, da850: add ipam390 board support Javier Martinez Canillas (1): OMAP3: igep00x0: allow booting with a FDT from MMC Justin Waters (6): am335x_evm: Make NAND support modular am335x_evm: Add command line editing am335x_evm: Rework bootcmd to handle two MMC devs Add additional MLO images to .gitignore am335x_evm: Add support for eMMC environment am335x_evm: Add am335x_boneblack variant Lokesh Vutla (10): ARM: DRA7xx: Lock DPLL_GMAC ARM: AM33xx: Cleanup dplls data ARM: AM33xx: Cleanup clocks layer musb: Disable extra prints ARM: AM43xx: Add Board files ARM: AM43xx: Add header files ARM: AM43xx: clocks: Add dpll and clock data ARM: OMAP: Add CONFIG_OMAP_COMMON ARM: AM43xx: Add build support ARM: AM43xx: Add config file Marek Vasut (1): ARM: mxs: Consolidate configuration options Masahiro Yamada (1): ARM: omap24xx: remove remainders of dead board Mugunthan V N (6): drivers: net: cpsw: remove hard coding bd ram for cpsw drivers: net: cpsw: Enable statistics for all port ARM: DRA7xx: Enable GMAC clock control ARM: DRA7xx: Add CPSW support to DRA7xx EVM ARM: DRA7xx: Add CPSW and MDIO pinmux support ARM: DRA7xx: Enable CPSW Ethernet support Naumann Andreas (1): ARM: omap3: Implement dpll5 (HSUSB clk) workaround for OMAP36xx/AM/DM37xx according to errata sprz318e. Nishanth Menon (6): omap3_beagle: remove JFFS2 support. omap3_beagle: replace uImage.beagle with generic uImage beagleboard: remove RevB support for BeagleBoard Xm omap3_beagle: enable CMD_FS_GENERIC and simplify load of image/ramdisk omap3_beagle: support findfdt and loadfdt for devicetree support omap3_beagle: support booting from zImage and device tree as last option Otavio Salvador (1): wandboard: Use splash image at screen center by default Pardeep Kumar Singla (2): mx6: Factor out common HDMI setup code mx6qsabresd: Add splash screen support via HDMI Rob Herring (10): ARM: move interrupt_init to before relocation net: calxedaxgmac: enable rx cut-thru ARM: highbank: update config options ARM: highbank: fix get_tbclk value to timer rate ARM: highbank: set timer prescaler to 256 ARM: highbank: avoid bss write in timer_init ARM: highbank: enable reset on command timeout ARM: highbank: setup peripherals based on power domain status ARM: highbank: compile misc_init_r only if CONFIG_MISC_INIT_R highbank: enable keyed autoboot stop Robert Winkler (2): imx: Add documentation for imx specific commands imx: nitrogen6x: mx6qsabrelite: Add support for DVI monitors Stefan Roese (1): arm: omap3: spl: Fix problem with 8bit NAND devices Stefano Babic (1): Merge git://git.denx.de/u-boot-arm Steve Kipisz (2): am335x_evm:
Re: [U-Boot] Pull request - arm/zynq v2
On Sat, Aug 17, 2013 at 05:42:22PM +0200, Albert ARIBAUD wrote: Hi Michal, On Mon, 12 Aug 2013 09:05:00 +0200, Michal Simek mon...@monstr.eu wrote: Hi Albert, please pull these 3 zynq patches to your arm tree. There is still pending the arm: lds: Remove libgcc eabi exception handling tables patch. Have you considered to also add it? v2: - Changed email address, - There was incorrect rebase which I have fixed - correct sha1 now Thanks. Michal The following changes since commit a78dac79ede7fbb4c9e816abc879655540c3f076: nds32: fix the missing COBJS-y change (2013-08-09 01:51:24 +0800) are available in the git repository at: git://www.denx.de/git/u-boot-microblaze.git zynq for you to fetch changes up to 2d83d33a51926d6471eb9282d03d83783850d565: zynq: Enable axi ethernet and emaclite driver initialization (2013-08-12 08:59:56 +0200) Michal Simek (3): zynq: Add new ddrc driver for ECC support zynq: slcr: Wait 100ms till clk is properly setup zynq: Enable axi ethernet and emaclite driver initialization arch/arm/cpu/armv7/zynq/Makefile | 1 + arch/arm/cpu/armv7/zynq/ddrc.c | 50 ++ arch/arm/cpu/armv7/zynq/slcr.c | 2 +- arch/arm/include/asm/arch-zynq/hardware.h | 8 + arch/arm/include/asm/arch-zynq/sys_proto.h | 1 + board/xilinx/zynq/board.c | 19 6 files changed, 80 insertions(+), 1 deletion(-) create mode 100644 arch/arm/cpu/armv7/zynq/ddrc.c I cannot merge these three commits without merging a lot of nds32 stuff too, apparently, and I don't want to. If this stuff is not needed for the three commits, then please rebase them so that they don't pull anything else in. Alternatively, can I get a pull request for nds32? Thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] [PATCH] serial: arm_dcc: Convert to use default_serial_puts
Dear Axel Lin, Use default_serial_puts() instead of its own implementation. Signed-off-by: Axel Lin axel@ingics.com Thanks, Acked-by: Marek Vasut ma...@denx.de --- drivers/serial/arm_dcc.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/drivers/serial/arm_dcc.c b/drivers/serial/arm_dcc.c index 29d9295..5dfb02f 100644 --- a/drivers/serial/arm_dcc.c +++ b/drivers/serial/arm_dcc.c @@ -123,12 +123,6 @@ static void arm_dcc_putc(char ch) write_dcc(ch); } -static void arm_dcc_puts(const char *s) -{ - while (*s) - arm_dcc_putc(*s++); -} - static int arm_dcc_tstc(void) { register unsigned int reg; @@ -148,7 +142,7 @@ static struct serial_device arm_dcc_drv = { .stop = NULL, .setbrg = arm_dcc_setbrg, .putc = arm_dcc_putc, - .puts = arm_dcc_puts, + .puts = default_serial_puts, .getc = arm_dcc_getc, .tstc = arm_dcc_tstc, }; Best regards, Marek Vasut ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] [PATCH] ARM: mxs: Add mx28evk_auart_console target
Hi Andreas, Dear Marek I wonder, why dont you add support for the TQ SoM in the first place? I have plans to do it but I only have access to the board at work and I currently am very busy so have limited time testing the board setup, so I don't know when in time I will be able to submit such a patch. Sucks, but ok. Best regards, Marek Vasut ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] Enable xmodem support
On Wed, Jun 26, 2013 at 04:54:24PM -0600, Angus Ainslie wrote: This is a trivial patch that just enables xmodem downloads using the existing ymodem framework. Signed-off-by: Angus Ainslie an...@akkea.ca Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] SPL: Limit image name print length
On Tue, Jul 16, 2013 at 02:45:01PM +0300, Taras Kondratiuk wrote: If image name is longer than 32 bytes, then it will be truncated. This will remove '\0' at the end of the line, so printf will go out of string limit. Signed-off-by: Taras Kondratiuk ta...@ti.com Reviewed-by: Tom Rini tr...@ti.com Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] Pull request: u-boot-arm/master -- from a temporary repository
On Sun, Aug 18, 2013 at 02:17:11PM +0200, Albert ARIBAUD wrote: Hello Tom, The following changes since commit aaf5e825606a70ddc8fca8e366d8c16a6fd3cc7c: Merge branch 'master' of git://git.denx.de/u-boot-nds32 (2013-07-25 08:51:51 -0400) are available in the git repository at: git://88.191.163.10/u-boot-arm master for you to fetch changes up to 9ed887caecb9ecb0c68773a1870d143b9f28d3da: Merge branch 'u-boot-imx/master' into 'u-boot-arm/master' (2013-08-17 18:24:13 +0200) Albert ARIBAUD (2): Merge branch 'u-boot/master' into u-boot-arm/master Merge branch 'u-boot-imx/master' into 'u-boot-arm/master' Andreas Bie??mann (1): omap3/sys_info: fix printout of OMAP36XX L3 freqency Ash Charles (1): omap: overo: Use 200MHz SDRC timings for revision 1, 2 3 boards Christian Riesch (1): da850evm: Use clrbits function with correct endianess Dan Murphy (2): gpio: tca642x: Add the tca642x gpio expander driver gpio: omap5-uevm: Configure the tca6424 gpio expander Dinh Nguyen (1): socfpga: Move board/socfpga_cyclone5 to board/socfpga Dirk Behme (1): mxc_gpio: Correct the GPIO handling in gpio_direction_output() Enric Balletbo i Serra (5): ARM: IGEP0033: Remove undef of CONFIG_CMD_MEMTEST ARM: IGEP0033: Remove CYGNUS name from header. ARM: IGEP0033: Add support to boot from NAND. ARM: IGEP0033: Remove duplicate / unused #defines. ARM: igep00x0.h: Enable the use of CMD_EXT4, CMD_FS_GENERIC and zImage. Enric Balletb?? i Serra (1): ARM: IGEP0033: Add support for Flattened Device Tree. Eric Nelson (1): mxc_ipuv3: fix memory alignment of framebuffer Fabio Estevam (1): mx6qsabrelite: Remove mx6qsabrelite code in favor of nitrogen6x Heiko Schocher (6): net, phy, cpsw: fix gigabit register access ARM: AM33xx: Move s_init to a common place arm/davinci/da850: add uart0_pins_rtscts and RMII_MHz_50_CLK in emac_pins_rmii pinmux bootstage: get more BOOTSTAGE_ID* in show_boot_progress() arm, da850: enable the correct uart in arch_cpu_init() arm, da850: add ipam390 board support Javier Martinez Canillas (1): OMAP3: igep00x0: allow booting with a FDT from MMC Justin Waters (6): am335x_evm: Make NAND support modular am335x_evm: Add command line editing am335x_evm: Rework bootcmd to handle two MMC devs Add additional MLO images to .gitignore am335x_evm: Add support for eMMC environment am335x_evm: Add am335x_boneblack variant Lokesh Vutla (10): ARM: DRA7xx: Lock DPLL_GMAC ARM: AM33xx: Cleanup dplls data ARM: AM33xx: Cleanup clocks layer musb: Disable extra prints ARM: AM43xx: Add Board files ARM: AM43xx: Add header files ARM: AM43xx: clocks: Add dpll and clock data ARM: OMAP: Add CONFIG_OMAP_COMMON ARM: AM43xx: Add build support ARM: AM43xx: Add config file Marek Vasut (1): ARM: mxs: Consolidate configuration options Masahiro Yamada (1): ARM: omap24xx: remove remainders of dead board Mugunthan V N (6): drivers: net: cpsw: remove hard coding bd ram for cpsw drivers: net: cpsw: Enable statistics for all port ARM: DRA7xx: Enable GMAC clock control ARM: DRA7xx: Add CPSW support to DRA7xx EVM ARM: DRA7xx: Add CPSW and MDIO pinmux support ARM: DRA7xx: Enable CPSW Ethernet support Naumann Andreas (1): ARM: omap3: Implement dpll5 (HSUSB clk) workaround for OMAP36xx/AM/DM37xx according to errata sprz318e. Nishanth Menon (6): omap3_beagle: remove JFFS2 support. omap3_beagle: replace uImage.beagle with generic uImage beagleboard: remove RevB support for BeagleBoard Xm omap3_beagle: enable CMD_FS_GENERIC and simplify load of image/ramdisk omap3_beagle: support findfdt and loadfdt for devicetree support omap3_beagle: support booting from zImage and device tree as last option Otavio Salvador (1): wandboard: Use splash image at screen center by default Pardeep Kumar Singla (2): mx6: Factor out common HDMI setup code mx6qsabresd: Add splash screen support via HDMI Rob Herring (10): ARM: move interrupt_init to before relocation net: calxedaxgmac: enable rx cut-thru ARM: highbank: update config options ARM: highbank: fix get_tbclk value to timer rate ARM: highbank: set timer prescaler to 256 ARM: highbank: avoid bss write in timer_init ARM: highbank: enable reset on command timeout ARM: highbank: setup peripherals based on power domain status ARM: highbank: compile misc_init_r only if CONFIG_MISC_INIT_R highbank: enable keyed autoboot stop Robert Winkler (2): imx: Add documentation for imx specific commands imx: nitrogen6x: mx6qsabrelite:
Re: [U-Boot] gpio: pca953x: Use ARRAY_SIZE instead of reinventing it
On Sat, Jun 22, 2013 at 06:22:48PM +0800, Axel Lin wrote: Signed-off-by: Axel Lin axel@ingics.com Reviewed-by: Thierry Reding thierry.red...@gmail.com Acked-by: Marek Vasut ma...@denx.de --- drivers/gpio/pca953x.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] [U-Boot, 3/3] image: Display FIT timestamp when booting
On Tue, Jul 16, 2013 at 08:10:01PM -0700, Simon Glass wrote: The timestamp is shown in fit_print_contents() but for some reason not in fit_image_print(). This seems to be an oversight, since it is the latter which is used by bootm. Add timestamp printing in this case. (There is code duplication in these two function, for looking at in a future patch). Signed-off-by: Simon Glass s...@chromium.org Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] [U-Boot, 2/3] RFC: bootm: Add silent_linux environment variable
On Tue, Jul 16, 2013 at 08:10:00PM -0700, Simon Glass wrote: At present the console for linux is silent if the U-Boot console is silent, unless CONFIG_SILENT_U_BOOT_ONLY is set. I wonder if a better way would be to have an environment variable to control this? Then we can control the verbosity from scripts, and set the variable to 'no' for those boards that want Linux to boot with console output. Signed-off-by: Simon Glass s...@chromium.org Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] bootm: fix conditional controlling call to fixup_silent_linux
On Sat, Aug 03, 2013 at 09:29:09PM -0700, Paul B. Henson wrote: This function is only defined if CONFIG_SILENT_CONSOLE is set and CONFIG_SILENT_U_BOOT_ONLY is not set, the call to it should be based on the same conditions. Signed-off-by: Paul B. Henson hen...@acm.org Acked-by: Simon Glass s...@chromium.org Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] tools/Makefile: Move _GNU_SOURCE to Makefile
On Tue, Jul 30, 2013 at 03:26:11PM -0700, York Sun wrote: Commit 669dfc2e adds libfdt_env.h to HOSTCPPFLAGS. It causes stdio.h to be included before _GNU_SOURCE is defined in C files. On some old hosts some prototypes are protected by #ifdef __USE_GNU, which is set when _GNU_SOURCE is defined. Signed-off-by: York Sun york...@freescale.com Acked-by: Simon Glass s...@chromium.org Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] [PATCH V2] Origen: Set FIMD as the default display path
On Fri, Aug 16, 2013 at 16:31, Ajay kumar wrote: On Thu, Aug 15, 2013 at 6:53 PM, Tushar Behera tushar.beh...@linaro.org mailto:tushar.beh...@linaro.org wrote: On EXYNOS4210, there are three paths for display data to be processed, namely MIE, MDNIE and FIMD. On Origen board, FIMD display controller is used. Signed-off-by: Tushar Behera tushar.beh...@linaro.org mailto:tushar.beh...@linaro.org --- Changes for V2: * Updated review comments from Ajay Kumar, reusing the code from arch/arm/cpu/armv7/exynos/system.c. board/samsung/origen/origen.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/board/samsung/origen/origen.c b/board/samsung/origen/origen.c index 15f77ca..bb16699 100644 --- a/board/samsung/origen/origen.c +++ b/board/samsung/origen/origen.c @@ -22,6 +22,9 @@ int board_init(void) gpio2 = (struct exynos4_gpio_part2 *) EXYNOS4_GPIO_PART2_BASE; gd-bd-bi_boot_params = (PHYS_SDRAM_1 + 0x100UL); + + set_system_display_ctrl(); + Ok. You are trying to get the display up in the kernel, without enabling the display in u-boot. And, thats why you are making an explicit call here? Previously, Ajay kumar said set_system_display_ctrl() function is already called by lcd_ctrl_init() of exynos_fb.c. If you need to use FIMD path, you'd better use the existing one. return 0; } -- 1.7.9.5 ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
[U-Boot] [PATCH] net: macb: fix the following building warning
fix the following building warning ---8--- macb.c: In function 'macb_init': macb.c:400:14: warning: 'phydev' may be used uninitialized in this function macb.c:377:21: note: 'phydev' was declared here ---8--- Signed-off-by: Bo Shen voice.s...@atmel.com --- drivers/net/macb.c | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/drivers/net/macb.c b/drivers/net/macb.c index 1f7cc32..bf3983a 100644 --- a/drivers/net/macb.c +++ b/drivers/net/macb.c @@ -36,6 +36,7 @@ #include asm/io.h #include asm/dma-mapping.h #include asm/arch/clk.h +#include asm-generic/errno.h #include macb.h @@ -397,9 +398,14 @@ static int macb_phy_init(struct macb_device *macb) } #ifdef CONFIG_PHYLIB - phydev-bus = macb-bus; - phydev-dev = netdev; - phydev-addr = macb-phy_addr; + /* need to consider other phy interface mode */ + phydev = phy_connect(macb-bus, macb-phy_addr, netdev, +PHY_INTERFACE_MODE_RGMII); + if (!phydev) { + printf(phy_connect failed\n); + return -ENODEV; + } + phy_config(phydev); #endif -- 1.7.9.5 ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] [PATCH V2] Origen: Set FIMD as the default display path
On 19 August 2013 07:22, Donghwa Lee dh09@samsung.com wrote: On Fri, Aug 16, 2013 at 16:31, Ajay kumar wrote: On Thu, Aug 15, 2013 at 6:53 PM, Tushar Behera tushar.beh...@linaro.org wrote: On EXYNOS4210, there are three paths for display data to be processed, namely MIE, MDNIE and FIMD. On Origen board, FIMD display controller is used. Signed-off-by: Tushar Behera tushar.beh...@linaro.org --- Changes for V2: * Updated review comments from Ajay Kumar, reusing the code from arch/arm/cpu/armv7/exynos/system.c. board/samsung/origen/origen.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/board/samsung/origen/origen.c b/board/samsung/origen/origen.c index 15f77ca..bb16699 100644 --- a/board/samsung/origen/origen.c +++ b/board/samsung/origen/origen.c @@ -22,6 +22,9 @@ int board_init(void) gpio2 = (struct exynos4_gpio_part2 *) EXYNOS4_GPIO_PART2_BASE; gd-bd-bi_boot_params = (PHYS_SDRAM_1 + 0x100UL); + + set_system_display_ctrl(); + Ok. You are trying to get the display up in the kernel, without enabling the display in u-boot. And, thats why you are making an explicit call here? Yes, as of now, I don't want LCD support in u-boot, but I want to just enable the display path. Previously, Ajay kumar said set_system_display_ctrl() function is already called by lcd_ctrl_init() of exynos_fb.c. If you need to use FIMD path, you'd better use the existing one. I tried enabling CONFIG_LCD and related config options so that existing display path in u-boot is called. That somehow stalls the u-boot and I didn't want to pursue that much as calling this function fixes my issue. return 0; } -- 1.7.9.5 -- Tushar Behera ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] [PATCH v2 3/4] ARM: use r9 for gd
Hi Jeroen, On Sat, Aug 17, 2013 at 3:40 AM, Jeroen Hofstee jer...@myspectrum.nl wrote: On 08/14/2013 08:25 PM, Jeroen Hofstee wrote: To be more EABI compliant and as a preparation for building with clang, use the platform-specific r9 register for gd instead of r8. note: The FIQ is not updated since it is not used in u-boot, and under discussion for the time being. The following checkpatch warning is ignored: WARNING: Use of volatile is usually wrong: see Documentation/volatile-considered-harmful.txt cc: Albert ARIBAUD albert.u.b...@aribaud.net Signed-off-by: Jeroen Hofstee jer...@myspectrum.nl --- arch/arm/config.mk | 2 +- arch/arm/include/asm/global_data.h | 2 +- arch/arm/lib/crt0.S| 16 3 files changed, 10 insertions(+), 10 deletions(-) This patch assumes only crt0.S sets the register used for gd in asm. I just noticed cpu/armv7/lowlevel_init.S does set gd manually, so all users of the common board.c are likely bricked with the patch as is. Looking into it I may misunderstood what you are saying here, but I believe that the code in common/board_f.c which creates a global_data on the stack can be removed for ARM now that Albert has tidied all this up with the crt0.S changes, etc. So in common/board_f.c something like: void board_init_f(ulong boot_flags) { /* These two archs set up the global_data before board_init_f() */ #if !defined(CONFIG_X86) !defined(CONFIG_ARM) gd_t data; gd = data; #endif gd-flags = boot_flags; Regards, Simon ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] [PATCH V2] Origen: Set FIMD as the default display path
On 2013년 08월 19일 12:06, Tushar Behera wrote: On 19 August 2013 07:22, Donghwa Lee dh09@samsung.com wrote: On Fri, Aug 16, 2013 at 16:31, Ajay kumar wrote: On Thu, Aug 15, 2013 at 6:53 PM, Tushar Behera tushar.beh...@linaro.org wrote: On EXYNOS4210, there are three paths for display data to be processed, namely MIE, MDNIE and FIMD. On Origen board, FIMD display controller is used. Signed-off-by: Tushar Behera tushar.beh...@linaro.org --- Changes for V2: * Updated review comments from Ajay Kumar, reusing the code from arch/arm/cpu/armv7/exynos/system.c. board/samsung/origen/origen.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/board/samsung/origen/origen.c b/board/samsung/origen/origen.c index 15f77ca..bb16699 100644 --- a/board/samsung/origen/origen.c +++ b/board/samsung/origen/origen.c @@ -22,6 +22,9 @@ int board_init(void) gpio2 = (struct exynos4_gpio_part2 *) EXYNOS4_GPIO_PART2_BASE; gd-bd-bi_boot_params = (PHYS_SDRAM_1 + 0x100UL); + + set_system_display_ctrl(); + Ok. You are trying to get the display up in the kernel, without enabling the display in u-boot. And, thats why you are making an explicit call here? Yes, as of now, I don't want LCD support in u-boot, but I want to just enable the display path. If you don't need to LCD support in u-boot, which case do you need to enable the display path to FIMD? Previously, Ajay kumar said set_system_display_ctrl() function is already called by lcd_ctrl_init() of exynos_fb.c. If you need to use FIMD path, you'd better use the existing one. I tried enabling CONFIG_LCD and related config options so that existing display path in u-boot is called. That somehow stalls the u-boot and I didn't want to pursue that much as calling this function fixes my issue. return 0; } -- 1.7.9.5 ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] [PATCH] serial: arm_dcc: Convert to use default_serial_puts
On 08/18/2013 10:19 PM, Marek Vasut wrote: Dear Axel Lin, Use default_serial_puts() instead of its own implementation. Signed-off-by: Axel Lin axel@ingics.com Thanks, Acked-by: Marek Vasut ma...@denx.de Ah yeah. Acked-by: Michal Simek mon...@monstr.eu Tom: Can you please apply this patch directly to your tree? Thanks, Michal -- Michal Simek, Ing. (M.Eng), OpenPGP - KeyID: FE3D1F91 w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/ Maintainer of Linux kernel - Xilinx Zynq ARM architecture Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform signature.asc Description: OpenPGP digital signature ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot