]>
git.karo-electronics.de Git - karo-tx-uboot.git/log
Lothar Waßmann [Thu, 14 Aug 2014 11:33:41 +0000 (13:33 +0200)]
karo: tx53: add 'romupdate' command to update the U-Boot image in flash
Implement the romupdate command, that is already in use on TX28 and
TX6.
The command searches for a sufficiently large area without bad blocks
inside the u-boot (or any given other) partition and dynmaically
creates the FCB that is required to boot from flash.
It is also possible to write a redundant image, that will be used if
the first block of the normal image cannot be read due to ECC errors.
Lothar Waßmann [Thu, 14 Aug 2014 12:21:48 +0000 (14:21 +0200)]
karo: tx53: prevent boot failure do to bad blocks inside the U-Boot partition
Currently booting from NAND will fail, if the u-boot partition
contains any bad block, since the image_len in the IVT is set to the
u-boot partition size. Apparently the ROM code has a bug and does not
load the last block of a flash image when the block does not end on a
4KiB boundary. This leads to boot failures or random U-Boot crashes,
because the relocation table is most affected by this bug.
Workaround this by padding the image_len stored in the IVT to the next
4KiB boundary.
Lothar Waßmann [Fri, 8 Aug 2014 12:53:50 +0000 (14:53 +0200)]
karo: tx51: increase ipg_per clock to 24MHz
Lothar Waßmann [Fri, 8 Aug 2014 12:52:50 +0000 (14:52 +0200)]
karo: tx51: remove duplicate CONFIG_SYS_SDRAM_CLK definition
Lothar Waßmann [Fri, 8 Aug 2014 12:51:23 +0000 (14:51 +0200)]
karo: tx51: fix ipu clock setting
The IPU clock is derived from AXI_B clock, which is running at 133MHz
not 200MHz.
Lothar Waßmann [Fri, 8 Aug 2014 12:45:21 +0000 (14:45 +0200)]
arm: mx5: print some more clocks in the 'clock' command
Lothar Waßmann [Fri, 8 Aug 2014 12:40:50 +0000 (14:40 +0200)]
karo: tx51: use .error asm instruction to print error message if DCD is too large
Lothar Waßmann [Fri, 8 Aug 2014 08:59:21 +0000 (10:59 +0200)]
karo: tx51: init pad settings for SDRAM and NAND
Make sure the padctrl settings for SDRAM and NAND are explicitly
configured from the DCD after soft reset.
Also reduce the DSE values for NAND and SDRAM control lines to
improve error margins in NAND detection and SDRAM stress test.
Lothar Waßmann [Fri, 18 Jul 2014 12:48:59 +0000 (14:48 +0200)]
Merge branch 'tx48-rel'
Lothar Waßmann [Fri, 18 Jul 2014 12:11:14 +0000 (14:11 +0200)]
fdt: karo: improve handling of usbotg phy
Lothar Waßmann [Fri, 18 Jul 2014 12:05:22 +0000 (14:05 +0200)]
fdt: karo: make 'otg_mode' setting case insensitive
Lothar Waßmann [Thu, 17 Jul 2014 08:23:49 +0000 (10:23 +0200)]
karo: tx53: remove a bogus wait for CON_ACK to clear
Lothar Waßmann [Thu, 10 Jul 2014 09:09:20 +0000 (11:09 +0200)]
mxs: change setup of exception vt
Lothar Waßmann [Wed, 2 Jul 2014 12:41:49 +0000 (14:41 +0200)]
arm: use a different stack setup macro for swi (copied from armv7)
Lothar Waßmann [Wed, 2 Jul 2014 12:25:23 +0000 (14:25 +0200)]
karo: set CONFIG_ARCH_MISC_INIT, so the exception VT will be properly updated after relocation
Lothar Waßmann [Wed, 2 Jul 2014 12:23:56 +0000 (14:23 +0200)]
arm: adjust PC displayed in exception handlers to point to the failing instruction
Lothar Waßmann [Mon, 30 Jun 2014 13:45:23 +0000 (15:45 +0200)]
board: karo: add 'ftd resize' to 'fdtsave' command
Lothar Waßmann [Mon, 30 Jun 2014 13:41:30 +0000 (15:41 +0200)]
board: karo: enable CONFIG_FAT_WRITE for all modules
Lothar Waßmann [Mon, 30 Jun 2014 13:22:41 +0000 (15:22 +0200)]
board: karo: make vbus-supply property name depend on board type
Lothar Waßmann [Mon, 30 Jun 2014 13:18:34 +0000 (15:18 +0200)]
Merge remote-tracking branch 'remotes/origin/tx48-mmc-bugfix'
Lothar Waßmann [Mon, 30 Jun 2014 13:17:22 +0000 (15:17 +0200)]
Merge remote-tracking branch 'remotes/origin/tx28-bugfix'
Lothar Waßmann [Mon, 30 Jun 2014 13:17:13 +0000 (15:17 +0200)]
Merge remote-tracking branch 'remotes/origin/tx6-bugfix'
Lothar Waßmann [Thu, 26 Jun 2014 10:13:20 +0000 (12:13 +0200)]
board: tx48: add MMC init code
Up to now we relied on cpu_mmc_init() to initialize the MMC unit for
us. This had some major drawbacks:
- the default implementation doesn't use CD gpios, so that the driver
always assumes a card is present.
- the default implementation always initializes two MMC interfaces,
though the TX48 supports only one.
Properly initialize the CD GPIO and implement our own version of
cpu_mmc_init().
Lothar Waßmann [Thu, 26 Jun 2014 10:09:34 +0000 (12:09 +0200)]
arm: am33xx: define cpu_mmc_init() as weak symbol
define the 'am33xx' cpu_mmc_init() implementation as weak symbol, so
it can be overridden by platform specific code!
Lothar Waßmann [Thu, 26 Jun 2014 10:01:00 +0000 (12:01 +0200)]
mmc: omap_hsmmc: improve timeout checks in wait loops
restructure the timeout loops, so that after timing out the loop
condition is checked again. U-Boot is not a multitasking OS where this
would be essential, but this is a good habit anyway.
Lothar Waßmann [Thu, 26 Jun 2014 09:02:58 +0000 (11:02 +0200)]
mmc: omap_hsmmc: cleanup code
- remove useless return value from mmc_board_init()
- make mmc_board_init() static
- check dev_index in omap_mmc_init() before using it as array index
Lothar Waßmann [Thu, 26 Jun 2014 09:00:39 +0000 (11:00 +0200)]
arm: am33xx: fix definition of MMC register addresses broken by merge
Lothar Waßmann [Thu, 26 Jun 2014 08:59:46 +0000 (10:59 +0200)]
arm: am335x: fix bogus #ifndef CONFIG_OMAP_MMC_DEV_0
Lothar Waßmann [Mon, 16 Jun 2014 16:09:05 +0000 (18:09 +0200)]
Merge branch 'tx6-bugfix'
Lothar Waßmann [Mon, 16 Jun 2014 16:08:45 +0000 (18:08 +0200)]
karo: tx6: actually use 'skip' parameter in tx6_prog_uboot() to determine start of image in flash
Lothar Waßmann [Mon, 16 Jun 2014 16:08:03 +0000 (18:08 +0200)]
karo: tx28: actually use 'skip' parameter in tx28_prog_uboot() to determine start of image in flash
Lothar Waßmann [Wed, 4 Jun 2014 14:49:55 +0000 (16:49 +0200)]
karo: unify mtd partitioning across all TX modules and increase linux partition size to 6MiB and rootfs to 32MiB
Lothar Waßmann [Wed, 4 Jun 2014 08:16:23 +0000 (10:16 +0200)]
karo: tx6: eliminate multiple evaluation of artithmetic expressions
Lothar Waßmann [Wed, 4 Jun 2014 08:11:46 +0000 (10:11 +0200)]
post: remove redundant include of autoconf.mk which is already included from $(TOPDIR)/config.mk
Lothar Waßmann [Tue, 3 Jun 2014 08:07:19 +0000 (10:07 +0200)]
Merge branch 'tx51-bugfix'
Lothar Waßmann [Mon, 2 Jun 2014 14:06:23 +0000 (16:06 +0200)]
karo: tx51: enable arm_bus clock
Lothar Waßmann [Fri, 30 May 2014 13:01:06 +0000 (15:01 +0200)]
karo: tx53: enable tmax2 clock to make ESDHC2 interface functional
Lothar Waßmann [Fri, 16 May 2014 10:02:12 +0000 (12:02 +0200)]
add support for TX6U-8012
Lothar Waßmann [Wed, 14 May 2014 09:08:07 +0000 (11:08 +0200)]
doc: karo: added description of boot_mode variable
Lothar Waßmann [Wed, 14 May 2014 08:39:28 +0000 (10:39 +0200)]
doc: karo: added description of boot_mode variable
Lothar Waßmann [Wed, 14 May 2014 08:38:59 +0000 (10:38 +0200)]
doc: karo: added description for TX6Q-1020
Lothar Waßmann [Wed, 14 May 2014 07:29:24 +0000 (09:29 +0200)]
Merge branch 'tx6q-1020-devel'
Lothar Waßmann [Wed, 14 May 2014 07:25:17 +0000 (09:25 +0200)]
Merge branch 'tx28-bugfix'
Lothar Waßmann [Tue, 13 May 2014 12:48:26 +0000 (14:48 +0200)]
arm: karo: tx6: reference mmc root device by UUID
Lothar Waßmann [Mon, 28 Apr 2014 12:14:53 +0000 (14:14 +0200)]
karo: tx6: increase dtb partition size to allow for bad blocks inside the partition
Lothar Waßmann [Mon, 28 Apr 2014 11:56:04 +0000 (13:56 +0200)]
karo: tx6: remove bootcmd_nand and set boot_mode to 'mmc' for TX6Q-1020
Lothar Waßmann [Fri, 25 Apr 2014 12:04:20 +0000 (14:04 +0200)]
karo: tx6: remove obsolete write levelling code
Lothar Waßmann [Fri, 25 Apr 2014 11:48:29 +0000 (13:48 +0200)]
karo: tx6: Finalize support for TX6Q-1020
- don't setup NAND related pads when CONFIG_NAND_MXS is not defined
- initialize USDHC4 interface (internal eMMC) as mmc0
- enable all LDOs
- calculate DTB partition size and number of blocks in config.mk
- enable 'fat write' command
- disable GPT and EFI partitions
- setup 'fdtsave' command to write the dtb inside the boot partition
- interpret 'splashimage' env variable as DOS filename rather than
partition name
Lothar Waßmann [Fri, 25 Apr 2014 11:41:08 +0000 (13:41 +0200)]
karo: tx6: lowlevel_init: various fixes for DDR calibration
- remove useless comments
- issue manual refresh cycle after disabling automatic refresh
- don't enable periodic ZQ calibration until after calibration is done
- remove redundant writes to MDMISC
- issue MRS commands to select MPR for both banks in case of multiple
SDRAM banks used
- combine check commands for completion and error bits
Lothar Waßmann [Fri, 25 Apr 2014 11:27:32 +0000 (13:27 +0200)]
karo: tx6-1020: set DDR voltage to 1.5V
Lothar Waßmann [Fri, 25 Apr 2014 11:24:18 +0000 (13:24 +0200)]
karo: tx6: use _LP voltage settings for low power mode voltages
Lothar Waßmann [Fri, 25 Apr 2014 08:37:20 +0000 (10:37 +0200)]
karo: tx6: lowlevel_init: simplify MXC_DCD_CMD_*() macros, so that no explicit label is necessary
define and use a numeric label inside the macros to calculate the
length of the cmd parameters
Lothar Waßmann [Tue, 15 Apr 2014 06:10:04 +0000 (08:10 +0200)]
karo: tx28: remove erroneous pad settings for LCD_HSYNC,VSYNC,DOTCLK pads
Lothar Waßmann [Wed, 9 Apr 2014 08:22:39 +0000 (10:22 +0200)]
Merge remote-tracking branch 'remotes/tx6-devel/tx6-devel' into karo-tx-uboot
Lothar Waßmann [Wed, 9 Apr 2014 08:22:38 +0000 (10:22 +0200)]
Merge remote-tracking branch 'remotes/tx53-devel/tx53-devel' into karo-tx-uboot
Lothar Waßmann [Wed, 9 Apr 2014 08:22:38 +0000 (10:22 +0200)]
Merge remote-tracking branch 'remotes/tx28-romupdate/tx28-romupdate' into karo-tx-uboot
Lothar Waßmann [Wed, 9 Apr 2014 08:22:12 +0000 (10:22 +0200)]
karo: common: mmc: remove debug code
Lothar Waßmann [Wed, 9 Apr 2014 08:20:57 +0000 (10:20 +0200)]
karo: tx6: remove duplicate setup of LCD pads
Lothar Waßmann [Wed, 9 Apr 2014 08:19:52 +0000 (10:19 +0200)]
karo: tx6: romupdate: rework, so u-boot can be stored in any partition
- arbitrary partition names can be given for primary and secondary
partition
Lothar Waßmann [Wed, 9 Apr 2014 08:18:42 +0000 (10:18 +0200)]
arm: mx5: clock: add support for changing CPU clock via cmdline
Lothar Waßmann [Wed, 9 Apr 2014 08:18:39 +0000 (10:18 +0200)]
arm: mx5: clock: fix PLL_FREQ_MIN() calculation
Lothar Waßmann [Wed, 9 Apr 2014 08:18:35 +0000 (10:18 +0200)]
arm: mx5: clock: improve accuracy of decode_pll()
Lothar Waßmann [Wed, 9 Apr 2014 08:18:31 +0000 (10:18 +0200)]
arm: mx5: clock: adjust data types to avoid useless type casts
Lothar Waßmann [Wed, 9 Apr 2014 08:18:28 +0000 (10:18 +0200)]
arm: mx5: add support for core voltage change when switching clock frequency
Lothar Waßmann [Wed, 9 Apr 2014 08:18:24 +0000 (10:18 +0200)]
karo: tx53: lowlevel_init: make sure ESDSCR[CON_REQ] remains asserted throughout the whole calibration process
Lothar Waßmann [Wed, 9 Apr 2014 08:18:20 +0000 (10:18 +0200)]
karo: tx53: lowlevel_init: remove write calibration
write calibration is not necessary due to the PCB layout and doesn't
work with the NT5CB128M16FP-DII chips that only use primary DQ lines
for signalling
Lothar Waßmann [Wed, 9 Apr 2014 08:18:16 +0000 (10:18 +0200)]
karo: tx53: lowlevel_init: simplify MXC_DCD_CMD_*() macros, so that no explicit label is necessary
define and use a numeric label inside the macros to calculate the
length of the cmd parameters
Lothar Waßmann [Wed, 9 Apr 2014 08:18:06 +0000 (10:18 +0200)]
karo: tx28: romupdate: rework, so u-boot can be stored in any partition - find contiguous space to fit the U-Boot image, so BB detection is not necessary for ROM code. - arbitrary partition names can be given for primary and secondary partition - remove optional number of FCB block copies, since FCB is stored in first block, that is alway good
Lothar Waßmann [Wed, 9 Apr 2014 08:17:56 +0000 (10:17 +0200)]
karo: common: fdt: print correct name of backlight node when not found
Lothar Waßmann [Wed, 9 Apr 2014 08:16:54 +0000 (10:16 +0200)]
karo: common: fix nand partition loading when bad blocks are encountered
Lothar Waßmann [Fri, 7 Mar 2014 08:00:51 +0000 (09:00 +0100)]
karo: fdt: remove 'vbus-supply' from usbotg node when otg_mode=peripheral
Lothar Waßmann [Fri, 7 Mar 2014 07:33:27 +0000 (08:33 +0100)]
karo: tx6: romupdate: remove debug messages
Lothar Waßmann [Thu, 6 Mar 2014 11:19:08 +0000 (12:19 +0100)]
karo: configs: increase MAXARGS to 256
Lothar Waßmann [Thu, 6 Mar 2014 11:15:54 +0000 (12:15 +0100)]
karo: tx48: resize fdt in ft_board_setup()
Lothar Waßmann [Thu, 6 Mar 2014 11:14:01 +0000 (12:14 +0100)]
karo: fdt: stub out DTB+LVDS related functions for nonDT resp. non-LVDS builds
Lothar Waßmann [Thu, 6 Mar 2014 11:07:09 +0000 (12:07 +0100)]
karo: fdt: look for 'backlight' alias or '/backlight0' if no '/backlight' node exists
Lothar Waßmann [Thu, 6 Mar 2014 11:05:26 +0000 (12:05 +0100)]
karo: fdt: remove property 'xceiver-supply' if no can xcvr present
Lothar Waßmann [Thu, 6 Mar 2014 10:59:29 +0000 (11:59 +0100)]
karo: move 'is_lvds()' to common/karo.h
Lothar Waßmann [Thu, 6 Mar 2014 10:45:59 +0000 (11:45 +0100)]
karo: tx53: disable LED on stk5-v5
Lothar Waßmann [Wed, 5 Mar 2014 14:37:19 +0000 (15:37 +0100)]
Merge branch 'tx48-devel' into uboot-merge
Lothar Waßmann [Mon, 27 Jan 2014 12:53:19 +0000 (13:53 +0100)]
karo: tx6: add support for TX6-V2 (eMMC)
Lothar Waßmann [Wed, 5 Mar 2014 14:34:49 +0000 (15:34 +0100)]
Merge branch 'tx6-devel' into uboot-merge
Lothar Waßmann [Wed, 5 Mar 2014 14:34:47 +0000 (15:34 +0100)]
Merge branch 'tx53-devel' into uboot-merge
Lothar Waßmann [Wed, 5 Mar 2014 14:34:45 +0000 (15:34 +0100)]
Merge branch 'tx51-devel' into uboot-merge
Lothar Waßmann [Wed, 5 Mar 2014 14:34:43 +0000 (15:34 +0100)]
Merge branch 'tx28-devel' into uboot-merge
Lothar Waßmann [Wed, 5 Mar 2014 14:34:42 +0000 (15:34 +0100)]
Merge branch 'karo-devel' into uboot-merge
Lothar Waßmann [Wed, 5 Mar 2014 14:34:40 +0000 (15:34 +0100)]
Merge branch 'common-devel' into uboot-merge
Lothar Waßmann [Wed, 5 Mar 2014 14:34:38 +0000 (15:34 +0100)]
Merge remote-tracking branch 'remotes/kc/wince-bugfix' into uboot-merge
Lothar Waßmann [Wed, 5 Mar 2014 14:34:37 +0000 (15:34 +0100)]
Merge branch 'backlight-polarity' into uboot-merge
Lothar Waßmann [Wed, 5 Mar 2014 14:34:35 +0000 (15:34 +0100)]
Merge branch 'tx6-boot_mode' into uboot-merge
Lothar Waßmann [Wed, 5 Mar 2014 14:34:31 +0000 (15:34 +0100)]
Merge branch 'config-cleanup' into uboot-merge
Lothar Waßmann [Wed, 5 Mar 2014 14:34:01 +0000 (15:34 +0100)]
karo: tx6: resize fdt in ft_board_setup()
Lothar Waßmann [Tue, 18 Feb 2014 14:17:27 +0000 (15:17 +0100)]
karo: tx51: fix unused variable 'ret' build error
Lothar Waßmann [Mon, 27 Jan 2014 12:53:19 +0000 (13:53 +0100)]
karo: tx6: add support for TX6-V2 (eMMC)
Lothar Waßmann [Fri, 28 Feb 2014 11:21:28 +0000 (12:21 +0100)]
karo: tx28: resize fdt in ft_board_setup()
Lothar Waßmann [Fri, 28 Feb 2014 11:37:58 +0000 (12:37 +0100)]
karo: tx51: resize fdt in ft_board_setup()
Lothar Waßmann [Fri, 28 Feb 2014 11:39:56 +0000 (12:39 +0100)]
karo: tx53: resize fdt in ft_board_setup()
Lothar Waßmann [Tue, 18 Feb 2014 13:39:39 +0000 (14:39 +0100)]
karo: tx53: config cleanup
Lothar Waßmann [Tue, 18 Feb 2014 13:35:45 +0000 (14:35 +0100)]
karo: tx51: update name of usbotg node for karo_fdt_fixup_usb_otg()
Lothar Waßmann [Tue, 18 Feb 2014 13:35:14 +0000 (14:35 +0100)]
karo: tx51: cleanup cpu_clk handling code