[U-Boot] [PATCH] ARM: OMAP3_LOGIC: Update MTD Partition Table

2016-11-12 Thread Adam Ford
The previous partition table did not support a separate device tree and the kernel size was limited to 4MB. This update shows the location of the device tree (labeled as spl-os) for those who want to use Falcon Mode or use U-Boot to store the Flattened Device Tree (FDT) to NAND without appending i

[U-Boot] [PATCH] ARM: OMAP3_LOGIC: Remove FIT Support

2016-11-12 Thread Adam Ford
Commit ("2cd1ff84037a: OMAP3_LOGIC: Setup defconfig to enable SPL and NAND booting") accidentally enabled FIT support. This patch removes the FIT support. Signed-off-by: Adam Ford diff --git a/configs/omap3_logic_defconfig b/configs/omap3_logic_defconfig index c8eb5b5..ac1a6a3 100644 --- a/conf

[U-Boot] [PATCH] ARM: OMAP3_LOGIC: Fix SPL Memory Map for Falcon Mode

2016-11-12 Thread Adam Ford
The memory map defined in commit ("49c7303f0e52: OMAP3: Enable SPL on omap3_logic) was used by a copy-paste of another board without fully understanding how the map works in Falcon mode. This patch undoes the customization and uses the default SPL Memory Map for OMAP3. When building the uImage, s

Re: [U-Boot] [PATCH] spi: cadence_qspi_apb: Use 32 bit indirect write transaction when possible

2016-11-12 Thread Marek Vasut
On 11/10/2016 06:18 AM, Vignesh R wrote: > According to Section 11.15.4.9.2 Indirect Write Controller of K2G SoC > TRM SPRUHY8D[1], the external master is only permitted to issue 32-bit > data interface writes until the last word of an indirect transfer > otherwise indirect writes is known to fails

Re: [U-Boot] [PATCH] video: bmp: Fix compilation errors with CONFIG_BMP_xxBPP enabled

2016-11-12 Thread Anatolij Gustschin
On Sat, 12 Nov 2016 10:32:38 +0100 Stefan Roese s...@denx.de wrote: > Compiling the 'bmp' command with DM and having one of the following macros > enabled: > > CONFIG_BMP_16BPP, CONFIG_BMP_24BPP ONFIG_BMP_32BPP > > generates this error: > > drivers/video/video_bmp.c: In function ‘video_bmp_disp

Re: [U-Boot] [PATCH 0/3] Hi all,

2016-11-12 Thread Marek Vasut
On 11/12/2016 07:53 PM, Stefan Agner wrote: > On 2016-11-12 00:53, Marek Vasut wrote: >> On 11/12/2016 12:47 AM, Stefan Agner wrote: >>> Hi Marek, >> >> Hi! >> >>> On 11.11.2016 14:33, Marek Vasut wrote: On 11/11/2016 11:18 PM, Stefan Agner wrote: > From: Stefan Agner > > > Th

Re: [U-Boot] [PATCH] usb: check udev before dereferencing

2016-11-12 Thread Marek Vasut
On 11/12/2016 07:10 PM, Anatolij Gustschin wrote: > On Sat, 12 Nov 2016 10:36:42 +0100 > Marek Vasut ma...@denx.de wrote: > ... >>> udev = dev_get_parent_priv(child); >>> + if (!udev) >>> + continue; >> >> I don't quite understand the problem from the patch

[U-Boot] [PATCH v2 0/3] spl: USB Gadget cleanup

2016-11-12 Thread Stefan Agner
From: Stefan Agner This patchset cleans up the SPL USB Gadget Kconfig and Makfile. The first two patches are actual fixes and we might consider to add these two for the v2016.11 release. The third one adds a new config option for cleaner structure. I plan to add another USB function with SPL sup

[U-Boot] [PATCH v2 1/3] spl: add RAM boot device only if it is actually defined

2016-11-12 Thread Stefan Agner
From: Stefan Agner Some devices (e.g. dra7xx) support loading to RAM using DFU without having direct boot from RAM support. Make sure the linker list does not contain BOOT_DEVICE_RAM if CONFIG_SPL_RAM_SUPPORT is not enabled. Fixes: 98136b2f26fa ("spl: Convert spl_ram_load_image() to use linker l

[U-Boot] [PATCH v2 2/3] spl: dfu: move DFU Kconfig to SPL Kconfig

2016-11-12 Thread Stefan Agner
From: Stefan Agner The DFU Kconfig menu entries should be part of the SPL Kconfig file. Also avoid using the top level Makefile by moving the config dependent build artifacts to the driver/ and driver/usb/gadget/ Makfiles. With that, DFU can be built again in SPL if CONFIG_SPL_DFU_SUPPORT is ena

[U-Boot] [PATCH v2 3/3] spl: add USB Gadget config option

2016-11-12 Thread Stefan Agner
From: Stefan Agner Introduce USB Gadget config option. This allows to combine Makefile entries for SPL_USBETH_SUPPORT and SPL_DFU_SUPPORT. Signed-off-by: Stefan Agner --- Changes in v2: None common/spl/Kconfig | 31 +++ configs/am335x_evm_usbspl_

Re: [U-Boot] [PATCH 0/3] Hi all,

2016-11-12 Thread Stefan Agner
On 2016-11-12 00:53, Marek Vasut wrote: > On 11/12/2016 12:47 AM, Stefan Agner wrote: >> Hi Marek, > > Hi! > >> On 11.11.2016 14:33, Marek Vasut wrote: >>> On 11/11/2016 11:18 PM, Stefan Agner wrote: From: Stefan Agner This cleans up the SPL USB Gadget Kconfig and Makfile a b

[U-Boot] [PATCH] tools: imximage: refactor header length calculations for imximage v1

2016-11-12 Thread Martin Kaiser
From: Martin Kaiser We can use the same header length calculations for both imximage v1 and v2. This addresses TODO comments about imximage v1 in the current code. With this patch applied, *header_size_ptr in imximage_set_header() will have the correct value for both imximage v1 and v2. This is

Re: [U-Boot] [PATCH] usb: check udev before dereferencing

2016-11-12 Thread Anatolij Gustschin
On Sat, 12 Nov 2016 10:36:42 +0100 Marek Vasut ma...@denx.de wrote: ... > > udev = dev_get_parent_priv(child); > > + if (!udev) > > + continue; > > I don't quite understand the problem from the patch description, but > shouldn't all the return values from

[U-Boot] OMAP3 Falcon Mode NAND Unlock

2016-11-12 Thread Adam Ford
I am trying to falcon-mode load from NAND. Unfortunately, I have to unlock the NAND before I can boot. I can run u-boot and script 'nand unlock' into the boot sequence and everything runs. Is there a simple way to unlock the NAND from withing Falcon mode before jumping to the kernel? I was think

Re: [U-Boot] [PATCH] net: write enetaddr down to hardware on env_callback

2016-11-12 Thread Hannes Schmelzer
On 11/12/2016 04:28 PM, Marek Vasut wrote: If mac-address is changed using "setenv ethaddr " command the new mac-adress also must be written into the responsible ethernet driver. This fixes the legacy ethernet handling. Signed-off-by: Marek Vasut Cc: Hannes Schmelzer Cc: Joe Hershberger C

[U-Boot] [PATCH] net: write enetaddr down to hardware on env_callback

2016-11-12 Thread Marek Vasut
If mac-address is changed using "setenv ethaddr " command the new mac-adress also must be written into the responsible ethernet driver. This fixes the legacy ethernet handling. Signed-off-by: Marek Vasut Cc: Hannes Schmelzer Cc: Joe Hershberger Cc: Tom Rini --- net/eth_legacy.c | 1 + 1 f

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

2016-11-12 Thread Jagan Teki
Hi Tom, Please take these fixes. thanks! Jagan. The following changes since commit 38cacdab3b5a6d8efd16a4b2620f7ab72144a624: Merge branch 'master' of git://git.denx.de/u-boot-tegra (2016-11-08 10:36:57 -0500) are available in the git repository at: git://git.denx.de/u-boot-spi.git maste

Re: [U-Boot] sunxi board: why MMC dev are swapped ?

2016-11-12 Thread Hans de Goede
Hi, On 11-11-16 19:33, Mylene Josserand wrote: Hi everyone, I am currently using FEL and Fastboot to flash a sunxi-device with SPL and u-boot. In my board, I have two MMC devices: a MMC slot and an eMMC. My use-case is to flash an empty device. I want to use FEL to boot a u-boot and then,

Re: [U-Boot] [PATCH] usb: check udev before dereferencing

2016-11-12 Thread Marek Vasut
On 11/12/2016 10:02 AM, Anatolij Gustschin wrote: > Fix crashes after data abort, e.g.: > > => usb start > starting USB... > USB0: Core Release: 2.93a > scanning bus 0 for devices... 3 USB Device(s) found > > => usb stor > Device 0: Vendor: TOSHIBA Rev: 1.00 Prod: Trans

Re: [U-Boot] [PATCH 0/3] Hi all,

2016-11-12 Thread Marek Vasut
On 11/12/2016 12:47 AM, Stefan Agner wrote: > Hi Marek, Hi! > On 11.11.2016 14:33, Marek Vasut wrote: >> On 11/11/2016 11:18 PM, Stefan Agner wrote: >>> From: Stefan Agner >>> >>> >>> This cleans up the SPL USB Gadget Kconfig and Makfile a bit. The >>> first two patches are actual fixes and we m

[U-Boot] [PATCH] video: bmp: Fix compilation errors with CONFIG_BMP_xxBPP enabled

2016-11-12 Thread Stefan Roese
Compiling the 'bmp' command with DM and having one of the following macros enabled: CONFIG_BMP_16BPP, CONFIG_BMP_24BPP ONFIG_BMP_32BPP generates this error: drivers/video/video_bmp.c: In function ‘video_bmp_display’: drivers/video/video_bmp.c:315:22: error: ‘lcd_line_length’ undeclared (first u

[U-Boot] [PATCH] usb: check udev before dereferencing

2016-11-12 Thread Anatolij Gustschin
Fix crashes after data abort, e.g.: => usb start starting USB... USB0: Core Release: 2.93a scanning bus 0 for devices... 3 USB Device(s) found => usb stor Device 0: Vendor: TOSHIBA Rev: 1.00 Prod: TransMemory Type: Removable Hard Disk Capacity: 7400.0 MB = 7.2 G