Hi
2017. 6. 7. 12:09에 "Jaehoon Chung" 님이 작성:
Remove the CONFIG_DM_I2C_COMPAT config.
Signed-off-by: Jaehoon Chung
Reviewed-by: Simon Glass
---
Changelog on V2:
- Rebased on latest u-boot-samsung
- Added Simon's Reviewed tag
-
Some address relevant varibable is defined originally as u64. To
compatible with arm32, this patch change them to uintptr_t type.
Signed-off-by: Eric Gao
Reviewed-by: Simon Glass
---
Changes in v2:
-Change the address base variable from "uintptr_t
When dealing with multi-cell values we need a type that can hold this
value. Add this and a function to process it from a list of cell values.
Signed-off-by: Simon Glass
---
tools/dtoc/dtb_platdata.py | 3 +++
tools/dtoc/fdt.py | 2 +-
tools/dtoc/fdt_util.py |
When using 32-bit addresses dtoc works correctly. For 64-bit addresses it
does not since it ignores the #address-cells and #size-cells properties.
Update the tool to use fdt64_t as the element type for reg properties when
either the address or size is larger than one cell. Use the correct value
This series updates dtoc to support 64-bit addresses automatically. These
appear in C code as fdt64_t arrays:
struct dtd_test1 {
fdt64_t reg[2];
};
static struct dtd_test1 dtv_test1 = {
.reg= {0x1234, 0x5678},
};
C code can then process these address
We need to be able to search back up the tree for #address-cells and
#size-cells. Record the parent of each node to make this easier.
Signed-off-by: Simon Glass
---
tools/dtoc/fdt.py | 12 +++-
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git
On 19 June 2017 at 04:15, Marek Vasut wrote:
> On 06/19/2017 11:50 AM, rock-chips(daniel.meng) wrote:
>>
>>
>> On 2017/6/18 13:11, Marek Vasut wrote:
>>> On 06/18/2017 12:10 AM, Simon Glass wrote:
Hi Marek,
On 17 June 2017 at 13:33, Marek Vasut wrote:
On 17 June 2017 at 07:36, Bin Meng wrote:
> During 'scsi reset', scsi_bus_reset() is called with udevice pointed
> to NULL, which causes exception. As a temporary fix, disable the call
> for DM SCSI for now.
>
> Signed-off-by: Bin Meng
> ---
>
> cmd/scsi.c
On 19 June 2017 at 00:19, Eric Gao wrote:
> Add rk3288 soc specific driver for mipi dsi.
>
> Signed-off-by: Eric Gao
>
> ---
>
> Changes in v1:
> -Change function name from rk_display_enable to rk_mipi_enable.
> -Use IS_ERR to judge the return
On 17 June 2017 at 07:35, Bin Meng wrote:
> Running 'scsi scan' command causes scsi_scan_dev() to be called,
> from which device_probe() is called and consequently AHCI driver
> probe routine will be called as SCSI driver's parent, and finally
> ahci_probe_scsi() calls
On Fri, Jun 16, 2017 at 09:54:47PM +0530, Jagan Teki wrote:
> Hi Tom,
>
> Please pull this PR.
>
> thanks!
> Jagan.
>
> The following changes since commit 24796d27be0d0f403ed6ad7e3022b33e36ac08b5:
>
> Merge git://git.denx.de/u-boot-ubi (2017-06-06 07:13:39 -0400)
>
> are available in the
On Sun, Jun 18, 2017 at 09:46:39PM +0200, Marek Vasut wrote:
> The following changes since commit b9f7d8817424bb328d5eac9b16196a1189b8b6f5:
>
> powerpc, 5xx: remove some "5xx" remains (2017-06-16 10:14:56 -0400)
>
> are available in the git repository at:
>
>
On Fri, Jun 16, 2017 at 9:54 PM, Jagan Teki wrote:
> Hi Tom,
>
> Please pull this PR.
>
> thanks!
> Jagan.
>
> The following changes since commit 24796d27be0d0f403ed6ad7e3022b33e36ac08b5:
>
> Merge git://git.denx.de/u-boot-ubi (2017-06-06 07:13:39 -0400)
>
> are
Hey all,
It's release day and v2017.07-rc2 is out. I'm mostly happy with the
size of the changes here and I did remember to sync the defconfigs prior
to tagging.
If anyone has critical fixes I've missed or some Kconfig migrations
(that I can prove out as correct), please speak up.
Things look
Hi Daniel,
On Monday, 19 June 2017 12:48:12 PDT Daniel Schwierzeck wrote:
> Am 19.06.2017 um 20:53 schrieb Paul Burton:
> > Hi Daniel,
> >
> > On Friday, 16 June 2017 15:48:06 PDT Daniel Schwierzeck wrote:
> >> Am 16.06.2017 um 02:05 schrieb Paul Burton:
> >>> U-Boot has up until now built with
Am 19.06.2017 um 20:53 schrieb Paul Burton:
> Hi Daniel,
>
> On Friday, 16 June 2017 15:48:06 PDT Daniel Schwierzeck wrote:
>> Am 16.06.2017 um 02:05 schrieb Paul Burton:
>>> U-Boot has up until now built with -fpic for the MIPS architecture,
>>> producing position independent code which uses
On Mon, Jun 19, 2017 at 11:53 AM, Stephen Warren
wrote:
> On 06/18/2017 04:46 PM, Matthew Gorski wrote:
>
>> I am curious if there is a possibility to recover a wrongly flashed
>> NVIDIA SHIELD TV device by flashing u-boot instead of cboot and mounting
>> the emmc in uboot
U-Boot has up until now built with -fpic for the MIPS architecture,
producing position independent code which uses indirection through a
global offset table, making relocation fairly straightforward as it
simply involves patching up GOT entries.
Using -fpic does however have some downsides. The
Hi Daniel,
On Friday, 16 June 2017 15:48:06 PDT Daniel Schwierzeck wrote:
> Am 16.06.2017 um 02:05 schrieb Paul Burton:
> > U-Boot has up until now built with -fpic for the MIPS architecture,
> > producing position independent code which uses indirection through a
> > global offset table, making
On Mon, Jun 19, 2017 at 12:22 PM, Matthew Gorski
wrote:
>
>
> On Mon, Jun 19, 2017 at 11:53 AM, Stephen Warren
> wrote:
>
>> On 06/18/2017 04:46 PM, Matthew Gorski wrote:
>>
>>> I am curious if there is a possibility to recover a wrongly flashed
>>>
This function appears to obtain the value of the 'ranges' property rather
than 'reg'. As such it does not behave as documented or expected.
In addition it picks up the second field of the property which is the size
(with prop += naddr) rather than the first which is the address.
Fix it.
This function has #ifdefs in it which we want to avoid for driver model.
Instead we should use different compatible strings and the .data field.
It also uses the MMC device number which is not available in driver
model except through aliases.
Move the function's into its caller so that the
This is not used in SPL so we do not need to compile it. Make this change
before adding driver-model support to the driver, to avoid build errors.
With driver model we define a U_BOOT_DRIVER() which would otherwise be
present in SPL and not be garbage-collected when building.
Signed-off-by: Simon
Add a driver-model version of this driver which mostly uses the existing
code. The old code can be removed once all boards are switched over.
Signed-off-by: Simon Glass
---
drivers/mmc/sunxi_mmc.c | 134
1 file changed, 134
Move this board over to driver model for MMC and SATA. This means that it
uses CONFIG_BLK as well. In SPL these options remain turned off since it
increases the code size. One option would be to use CONFIG_SPL_OF_PLATDATA
to avoid device-tree overhead.
Signed-off-by: Simon Glass
Adjust SATA setup to support driver model.
Signed-off-by: Simon Glass
---
board/sunxi/ahci.c | 61 +++---
1 file changed, 58 insertions(+), 3 deletions(-)
diff --git a/board/sunxi/ahci.c b/board/sunxi/ahci.c
index
The 'scsi scan' function handles this at present and we don't want to
do it twice. With driver model we want to adopt U-Boot's lazy init
approach where possible.
Drop the automatic scan when probing a SCSI bus.
Signed-off-by: Simon Glass
---
drivers/ata/ahci.c | 5 -
1
At present the driver-private data is obtained in various functions by
various means. With driver model this is provided automatically. Without
driver model it comes from a C array declared at the top of the file.
Adjust internal functions so that they are passed the private data as
a parameter,
Use the driver-model naming convention for this structure. It is data
private to the driver so the local variable should be called 'priv'.
Signed-off-by: Simon Glass
---
drivers/mmc/sunxi_mmc.c | 125
1 file changed, 62
This is expected to be attached to the uclass and the code operates that
way, but the uclass has not been updated. Fix it to avoid using memory at
address 0.
Signed-off-by: Simon Glass
Fixes: 47fc61a (dm: ahci: Drop use of probe_ent)
---
drivers/ata/ahci-uclass.c | 2 ++
Use the driver-model naming convention for this structure. It is data
private to the driver.
Signed-off-by: Simon Glass
---
drivers/mmc/sunxi_mmc.c | 28 ++--
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/drivers/mmc/sunxi_mmc.c
When the SATA code was moved into drivers/ata these Kconfig options were
added to that directory. They already exist in drivers/scsi. Remove them
from drivers/ata to fix the duplication.
Signed-off-by: Simon Glass
Fixes: 7f2b5f4 (sata: Move drivers into new drivers/ata
At present if U-Boot proper uses driver model for MMC, then SPL has to
also. While this is desirable, it places a significant barrier to moving
to driver model in some cases. For example, with a space-constrained SPL
it may be necessary to enable CONFIG_SPL_OF_PLATDATA which involves
adjusting
At present the AHCI SCSI driver only supports PCI with driver model.
Rename the existing function to indicate this and add support for adding
a non-PCI controller .
Signed-off-by: Simon Glass
---
arch/x86/cpu/ivybridge/sata.c | 2 +-
drivers/ata/ahci.c| 26
On Mon, Jun 19, 2017 at 11:53 AM, Stephen Warren
wrote:
> On 06/18/2017 04:46 PM, Matthew Gorski wrote:
>
>> I am curious if there is a possibility to recover a wrongly flashed
>> NVIDIA SHIELD TV device by flashing u-boot instead of cboot and mounting
>> the emmc in uboot
On Mon, Jun 19, 2017 at 4:37 AM, Marek Vasut wrote:
> On 06/13/2017 06:28 PM, Joe Hershberger wrote:
>> On Tue, Jun 13, 2017 at 4:24 AM, Marek Vasut wrote:
>>> On 06/12/2017 10:20 PM, Joe Hershberger wrote:
Don't wait forever, Pass errors back, etc.
On 06/18/2017 04:46 PM, Matthew Gorski wrote:
I am curious if there is a possibility to recover a wrongly flashed
NVIDIA SHIELD TV device by flashing u-boot instead of cboot and mounting
the emmc in uboot to do some repairs.
The NVIDIA SHIELD TV is a production Android device, and hence I'm
Hi Matthew,
On 18 June 2017 at 16:46, Matthew Gorski wrote:
>
> I am curious if there is a possibility to recover a wrongly flashed NVIDIA
> SHIELD TV device by flashing u-boot instead of cboot and mounting the emmc in
> uboot to do some repairs. If I lose keys for
Would these commands work in production mode even though the bootloader was
previously unlocked? (Assuming all TX1 chip id's are 0x21)
tegrarcm --download ebt cboot.bin 0 0
or
sudo ./tegraflash.py --bl ./t210ref/cboot.bin --applet
nvtboot_recovery.bin --chip 0x21 --cmd "write USP blob"
On
To allow the loading of environment from IDE (for example, using FAT)
the initilization of IDE subsystem must come before the environment
one.
Successfully tested on QEMU x86.
Signed-off-by: Otavio Salvador
---
common/board_r.c | 6 +++---
1 file changed, 3
On 06/19/2017 05:32 AM, Chee, Tien Fong wrote:
> On Sel, 2017-06-13 at 11:05 +0200, Marek Vasut wrote:
>> On 06/13/2017 05:26 AM, Chee, Tien Fong wrote:
>>>
>>> On Isn, 2017-06-12 at 16:38 +0800, Chee, Tien Fong wrote:
On Jum, 2017-06-09 at 08:52 -0500, Dinh Nguyen wrote:
>
>
On Sat, Jun 17, 2017 at 6:45 PM, Jean-Marc Beaune wrote:
> Hello,
>
> I am new to U-Boot and trying to compile source code in order to get U-Boot
> working on a BananaPi.
>
> I get the following error while compiling the latest version of master
> branch:
>
> ImportError: No
The magic value that disables relocation is dependent on the CPU word
size, so the current '' is doing the wrong thing on aarch64.
Signed-off-by: Tuomas Tynkkynen
---
These two patches aren't really related except for touching the same
parts of the code, I just
According to the comment in rpi.h, the current kernel load address is
picked such that the compressed kernel and the uncompressed kernel don't
overlap in memory to avoid unnecessary relocation of the compressed
image in the decompressor stub. However, as is evident from the
kernel boot log snipped
Hi Simon,
I need an early binding in order to print information about the CPU frequency
using a driver I implemented using driver model.
u-boot starts binding all the devices at once? I don't understand why the
printing is performed during the binding (I have only 1 CPU)
also it's performed
Hello,
I am trying to get splash screen work in the uboot but have no luck so far.
Anyone can help me with what I might be doing wrong? I have following code
right now:
fatload ${devtype} ${devnum}:${bootpart} 0x0020 /splash.bmp && bmp
display 0x0020;
I can see that image is actually
Hello,
I am new to U-Boot and trying to compile source code in order to get U-Boot
working on a BananaPi.
I get the following error while compiling the latest version of master
branch:
ImportError: No module named _libfdt
Has anyone an idea about why Python is not happy?
Thank you,
JM
On Mon, Jun 19, 2017 at 02:08:03PM +0300, Tuomas Tynkkynen wrote:
> According to the comment in rpi.h, the current kernel load address is
> picked such that the compressed kernel and the uncompressed kernel don't
> overlap in memory to avoid unnecessary relocation of the compressed
> image in the
On Fri, Jun 16, 2017 at 02:26:57PM -0500, Andrew F. Davis wrote:
> Some of the fixups currently done for OMAP5 class boards are common to
> other OMAP family devices, move these to fdt-common.c.
>
> Signed-off-by: Andrew F. Davis
Reviewed-by: Tom Rini
--
Tom
On Fri, Jun 16, 2017 at 02:27:01PM -0500, Andrew F. Davis wrote:
> Disable RNG and add TEE to FDT used on HS devices.
>
> Signed-off-by: Andrew F. Davis
Reviewed-by: Tom Rini
--
Tom
signature.asc
Description: Digital signature
On Fri, Jun 16, 2017 at 02:26:59PM -0500, Andrew F. Davis wrote:
> Similar to what is done with OMAP5 class boards we need to
> perform fixups common to this SoC class, add support for this here
> and add HS fixups.
>
> Signed-off-by: Andrew F. Davis
Reviewed-by: Tom Rini
On Fri, Jun 16, 2017 at 02:26:56PM -0500, Andrew F. Davis wrote:
> TEE loading and firewall setup are common to all omap2 devices, move
> these function out of omap5 and into mach-omap2. This allows us
> to use these functions from other omap class devices.
>
> Signed-off-by: Andrew F. Davis
On Thu, Jun 15, 2017 at 2:54 PM, Álvaro Fernández Rojas
wrote:
> Hi Jagan,
>
> El 15/6/17 a las 7:38, Jagan Teki escribió:
>> On Wed, Jun 14, 2017 at 3:27 PM, Álvaro Fernández Rojas
>> wrote:
>>> This driver is a simplified version of
Hi Lukasz,
On Thursday 15 June 2017 10:28 PM, Marek Vasut wrote:
> On 06/14/2017 02:24 PM, Vignesh R wrote:
>>
>>
>> On Tuesday 13 June 2017 07:36 PM, Marek Vasut wrote:
>>> On 06/13/2017 02:10 PM, Vignesh R wrote:
Provide a way to read MAC address for usb_ether device from board
The phyCORE-RK3288 is a SoM (System on Module) containing a RK3288 SoC.
The module can be connected to different carrier boards.
It can be also equipped with different RAM, SPI flash and eMMC variants.
The Rapid Development Kit option is using the following setup:
- 1 GB DDR3 RAM (2 Banks)
-
The RK818 PMIC contains a charger. Add very basic charger functionality
to be able to regulate the USB input current and charger shutdown limits.
Signed-off-by: Wadim Egorov
Reviewed-by: Simon Glass
---
Changes in v4:
- Added Reviewed-by: Simon Glass
Signed-off-by: Wadim Egorov
Acked-by: Simon Glass
Reviewed-by: Simon Glass
---
Changes in v4:
- Added Reviewed-by: Simon Glass
doc/README.rockchip | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
Enabling CONFIG_SPL_POWER_SUPPORT will cause a compiler warning:
‘get_ldo_reg’ defined but not used [-Wunused-function]
Let's wrap get_ldo_reg(), rk808_ldo and rk818_ldo with ENABLE_DRIVER
which is only set for non SPL builds.
Signed-off-by: Wadim Egorov
Reviewed-by: Simon
On Sel, 2017-06-13 at 11:05 +0200, Marek Vasut wrote:
> On 06/13/2017 05:26 AM, Chee, Tien Fong wrote:
> >
> > On Isn, 2017-06-12 at 16:38 +0800, Chee, Tien Fong wrote:
> > >
> > > On Jum, 2017-06-09 at 08:52 -0500, Dinh Nguyen wrote:
> > > >
> > > >
> > > >
> > > > On 06/09/2017 03:25 AM,
On 06/19/2017 11:50 AM, rock-chips(daniel.meng) wrote:
>
>
> On 2017/6/18 13:11, Marek Vasut wrote:
>> On 06/18/2017 12:10 AM, Simon Glass wrote:
>>> Hi Marek,
>>>
>>> On 17 June 2017 at 13:33, Marek Vasut wrote:
On 06/17/2017 07:28 PM, Simon Glass wrote:
> Hi Marek,
On 2017/6/18 13:11, Marek Vasut wrote:
On 06/18/2017 12:10 AM, Simon Glass wrote:
Hi Marek,
On 17 June 2017 at 13:33, Marek Vasut wrote:
On 06/17/2017 07:28 PM, Simon Glass wrote:
Hi Marek,
On 17 June 2017 at 00:22, Marek Vasut wrote:
On 06/17/2017 05:41
On 06/13/2017 06:28 PM, Joe Hershberger wrote:
> On Tue, Jun 13, 2017 at 4:24 AM, Marek Vasut wrote:
>> On 06/12/2017 10:20 PM, Joe Hershberger wrote:
>>> Don't wait forever, Pass errors back, etc.
>>>
>>> Signed-off-by: Joe Hershberger
>>>
>>> ---
>>> This
From: Suniel Mahesh
__be32_to_cpu() accepts argument of type __be32. This patch changes type of
the buffer in ALLOC_CACHE_ALIGN_BUFFER macro to __be32, which is then passed
to __be32_to_cpu().
This prevents sparse build warnings.
drivers/mmc/mmc.c: warning: cast to
According to rk3288 spec, the pwm register order is:
PWM_PWM0_CNT,
PWM_PWM0_PERIOD_HPR,
PWM_PWM0_DUTY_LPR,
PWM_PWM0_CTRL
but the source code's order is:
struct rk3288_pwm {
u32 cnt;
u32 duty_lpr;
u32 period_hpr;
u32 ctrl;
};
So, correct it here. It is the same as
Hi,
On Tue, 13 Jun 2017 10:11:17 +0800 Kever Yang wrote:
> Hi Simon,
>
>
> On 06/09/2017 08:28 PM, Simon Glass wrote:
> > On 7 June 2017 at 19:20, Kever Yang wrote:
> >> According to MMC spec, the write_counter is 4-byte length,
> >> use 'int' instead of 'long' type
Add rk3288 soc specific driver for mipi dsi.
Signed-off-by: Eric Gao
---
Changes in v1:
-Change function name from rk_display_enable to rk_mipi_enable.
-Use IS_ERR to judge the return status.
-Use dev_read_addr to replace devfdt_get_addr.
Signed-off-by: Eric Gao
---
Changes in v1: None
drivers/video/rockchip/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/video/rockchip/Makefile b/drivers/video/rockchip/Makefile
index 600743c..8005003 100644
--- a/drivers/video/rockchip/Makefile
+++
Add support for rk3288 mipi dsi.
Signed-off-by: Eric Gao
Reviewed-by: Simon Glass
---
Changes in v1:
-Make the subject more intelligible.
configs/evb-rk3288_defconfig | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git
Changes in v1:
-Change function name from rk_display_enable to rk_mipi_enable.
-Use IS_ERR to judge the return status.
-Use dev_read_addr to replace devfdt_get_addr.
-Make the subject more intelligible.
Eric Gao (3):
rockchip: video: mipi: Add rk3288 soc specific driver for mipi dsi
69 matches
Mail list logo