This patchserie add the popssibility to define mtd partitions on
spi nor flash, and use this settings with the sf commands.
steps:
- add MTD layer driver for spi, original patch from:
http://git.denx.de/?p=u-boot/u-boot-mips.git;a=commitdiff;h=bb246819cdc90493dd7089eaa51b9e639765cced
and addap
From: Daniel Schwierzeck
add MTD layer driver for spi, original patch from:
http://git.denx.de/?p=u-boot/u-boot-mips.git;a=commitdiff;h=bb246819cdc90493dd7089eaa51b9e639765cced
changes from Heiko Schocher against this patch:
- remove compile error if not defining CONFIG_SPI_FLASH_MTD:
LD
with this patch, it is possible to get the offset and size information
from the mtdpartiton setting in "mtdparts", similiar to the
"nand" commandos.
=> sf
sf - SPI flash sub-system
Usage:
sf probe [[bus:]cs] [hz] [mode] - init flash device on given SPI bus
and ch
move common functions from cmd_nand.c (for calculating offset
and size from cmdline paramter) to common place, so they could
used from other commands which use mtd partitions.
For onenand the arg_off_size() is left in common/cmd_onenand.c.
It should use now the common arg_off() function, but as I
add I2C4 modul for MX6DL based boards.
Signed-off-by: Heiko Schocher
---
checkpatch shows:
WARNING: line over 80 characters
+#define MXC_CCM_CCGR1_I2C4_SERIAL_MASK (3 <<
MXC_CCM_CCGR1_I2C4_SERIAL_OFFSET)
but the hole file is full of lines longer than80 characters, so
I let this
On the i.mx6 based aristainetos2 board a Toshiba TH58NYG3S0HBAI4
is used, which has 4096 pagesize and 256b oob. The ECC strength
was not correct detected by U-Boot
Signed-off-by: Heiko Schocher
---
drivers/mtd/nand/mxs_nand.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/mtd/na
add subpagesize, nand options and bbt options to the
"nand info" output.
=> nand info
Device 0: nand0, sector size 256 KiB
Page size 4096 b
OOB size 256 b
Erase size262144 b
subpagesize 4096 b
options 0x 200
bbt options 0x8000
Signed-off-by: Heiko Sc
make the ldb_clock configurable through the new define
CONFIG_SYS_LDB_CLOCK. This is needed as the ldb clock is not
always 65000, for example on the aristainetos2 board,
where the ldb clock derives from PLL5 clock.
Signed-off-by: Heiko Schocher
---
drivers/video/ipu_common.c | 6 +-
1 f
Signed-off-by: Heiko Schocher
---
drivers/video/Makefile | 1 +
drivers/video/lg4573.c | 231 +
include/video.h| 4 +
3 files changed, 236 insertions(+)
create mode 100644 drivers/video/lg4573.c
diff --git a/drivers/video/Makefile b/d
the ldb clock can be setup in board code (for example set through PLL5).
Update the ldb_clock rate also through board code.
This should be removed, if a clock framework is availiable.
Signed-off-by: Heiko Schocher
---
drivers/video/ipu.h| 1 +
drivers/video/ipu_common.c | 11 +
add support for imx6dl based aristainetos2 board
U-Boot 2015.04-rc5-00066-g60f6ed4 (Apr 10 2015 - 08:46:27)
CPU: Freescale i.MX6DL rev1.1 at 792 MHz
Reset cause: WDOG
Board: aristaitenos2
Watchdog enabled
I2C: ready
DRAM: 1 GiB
NAND: 1024 MiB
MMC: FSL_SDHC: 0
SF: Detected N25Q128A
The iNet 3F is an A10 tablet with 1GiB RAM and a 1024x768 screen.
Also see: http://linux-sunxi.org/INet_3F
Signed-off-by: Paul Kocialkowski
---
board/sunxi/MAINTAINERS | 5 +
configs/iNet_3F_defconfig | 18 ++
2 files changed, 23 insertions(+)
create mode 100644 configs/
The iNet 3W is an A10 tablet with 1GiB RAM and a 1024x768 screen.
Also see: http://linux-sunxi.org/INet_3W
Signed-off-by: Paul Kocialkowski
---
board/sunxi/MAINTAINERS | 5 +
configs/iNet_3W_defconfig | 17 +
2 files changed, 22 insertions(+)
create mode 100644 configs/i
The official name for the iNet manufacturer is iNet with a lowercase i and an
uppercase N.
Signed-off-by: Paul Kocialkowski
---
board/sunxi/MAINTAINERS | 4 ++--
configs/Inet_86VS_defconfig | 16
configs/iNet_86VS_defconfig | 16
3 files changed, 18 inserti
A few dram files were still listed as maintained even though they were removed
some time ago
Signed-off-by: Paul Kocialkowski
---
board/sunxi/MAINTAINERS | 3 ---
1 file changed, 3 deletions(-)
diff --git a/board/sunxi/MAINTAINERS b/board/sunxi/MAINTAINERS
index f368d6f..458d4e5 100644
--- a/bo
Le dimanche 12 avril 2015 à 22:22 +0200, Paul Kocialkowski a écrit :
> The official name for the iNet manufacturer is iNet with a lowercase i and an
> uppercase N.
+CC the board maintainer
> Signed-off-by: Paul Kocialkowski
> ---
> board/sunxi/MAINTAINERS | 4 ++--
> configs/Inet_86VS_defc
On 12 April 2015 at 22:26, Paul Kocialkowski wrote:
> Le dimanche 12 avril 2015 à 22:22 +0200, Paul Kocialkowski a écrit :
>> The official name for the iNet manufacturer is iNet with a lowercase i and an
>> uppercase N.
>
> +CC the board maintainer
>
Acked-by: Michal Suchanek
Thanks
__
Follow the convention of other architectures and move the platform
specific linux bootm code into sandbox/lib/bootm.c.
Signed-off-by: Sjoerd Simons
Acked-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
arch/sandbox/cpu/cpu.c| 12
arch/sandbox/lib/Makefile | 1 +
Only do sandbox filesystem access when using the hostfs device
interface, rather then falling back to it in all cases. This prevents
confusion situations due to the fallback being taken rather then an
unsupported error being raised.
Signed-off-by: Sjoerd Simons
Reviewed-by: Simon Glass
Acked-by:
Add dummy bootz_setup implementation allowing the u-boot sandbox to
run bootz. This recognizes both ARM and x86 zImages to validate a
valid zImage was loaded.
Signed-off-by: Sjoerd Simons
---
Changes in v3:
- Fill in *start and *end with proper values
Changes in v2:
- Move into sandbox/lib/boo
As suggested by Simon Glass, rename the sb command to host but keep the
old sb command as an alias
Signed-off-by: Sjoerd Simons
---
Changes in v3:
- Improve deprecated sb command short line
- Don't document subcommands for sb anymore
Changes in v2: None
common/Makefile |
A common pattern to check if a certain device exists (e.g. in
config_distro_bootcmd) is to use: dev [device]
Implement host dev [device] so this pattern can be used for sandbox host
devices.
Signed-off-by: Sjoerd Simons
Acked-by: Simon Glass
---
Changes in v3: None
Changes in v2: None
commo
Define the common shared block environment for the host interface in
preperation for the sandbox build to use config_distro_bootcmd.
Signed-off-by: Sjoerd Simons
Acked-by: Simon Glass
Acked-by: Stephen Warren
---
Changes in v3: None
Changes in v2: None
include/config_distro_bootcmd.h | 13 ++
Properly map memory through map_sysmem so that pxe can be used from the
sandbox.
Tested in sandbox as well as on jetson-tk1, odroid-xu3, snow as peach-pi
boards
Signed-off-by: Sjoerd Simons
Acked-by: Simon Glass
---
Changes in v3: None
Changes in v2:
- Prevent uncessary casts
- Always unmap m
Make the sandbox setup more generic/examplary by including
config_distro_defaults.h and config_distro_bootcmd.h.
Among other things this makes it easy to test whether images will boot
though with the standard distro bootcmds by running e.g:
u-boot -c 'host bind 0 myimage.img ; boot'
By default
On Sunday, April 12, 2015 at 05:52:02 AM, Stephen Warren wrote:
> IIUC, interrupt transfers are NAK'd by devices until they wish to trigger
> an interrupt, and e.g. EHCI controllers retry these in HW until they are
> ACK'd. However, DWC2 doesn't seem to retry, so we need to do this in SW.
> In prac
On Sunday, April 12, 2015 at 07:33:41 AM, maitysancha...@gmail.com wrote:
> Hi,
>
> On 15-04-11 18:46:15, Marek Vasut wrote:
> > On Wednesday, April 08, 2015 at 03:20:04 PM, Sanchayan Maity wrote:
> > > Hello,
> > >
> > > This is the second version of the patchset which adds support for the
> > >
On Wednesday, April 08, 2015 at 03:20:09 PM, Sanchayan Maity wrote:
> This driver adds support for the USB peripheral on Freescale Vybrid
> SoC's.
>
> Signed-off-by: Sanchayan Maity
> ---
> arch/arm/include/asm/arch-vf610/crm_regs.h| 10 ++
> arch/arm/include/asm/arch-vf610/imx-regs.h|
Hi Sören,
2015-04-12 11:45 GMT+09:00 Sören Brinkmann :
>>
>> > Does this mechanism allow to build for one of the supported boards (e.g.
>> > zc706) using custom init files? We need to maintain this capability,
>> > IMHO, since these initfiles are generated by Xilinx tools depending on
>> > variou
Hi Marek,
On Sun, Apr 12, 2015 at 8:28 PM, Marek Vasut wrote:
> I was concerned about the placement of the PHY reg definition. I didn't
> hear from Fabio on the result of this decision and I don't really mind
> that either way.
I thought that maybe we should relax about the 'register access via
All the Tegra boards borrow the files from board/nvidia/common/
directory, i.e., board/nvidia/common/* are not vendor-common files,
but SoC-common files.
Move NVIDIA common files to arch/arm/mach-tegra/ to clean up
Makefiles.
As arch/arm/mach-tegra/board.c already exists, this commit renames
boar
Hi, Simon
On 4/11/2015 1:51 AM, Simon Glass wrote:
Hi Josh,
On 7 April 2015 at 23:13, Josh Wu wrote:
For the local project, we may specified format.subjectprefix setting.
Then the patch will be formated as [Project_prefix][PATCH].
But patman will not check this setting. It will remove the
for
On Mon, 2015-04-13 at 10:28AM +0900, Masahiro Yamada wrote:
> Hi Sören,
>
> 2015-04-12 11:45 GMT+09:00 Sören Brinkmann :
>
> >>
> >> > Does this mechanism allow to build for one of the supported boards (e.g.
> >> > zc706) using custom init files? We need to maintain this capability,
> >> > IMHO,
According to Gordon Henderson's WiringPi library, there are some more
Pi revision IDs out there. Add support for them.
http://git.drogon.net/?p=wiringPi;a=blob_plain;f=wiringPi/wiringPi.c;hb=5edd177112c99416f68ba3e8c6c4db6ed942e796
At least ID 0x13 is out in the wild:
Reported-by: Chee-Yang Chau
On Monday, April 13, 2015 at 03:36:56 AM, Fabio Estevam wrote:
> Hi Marek,
>
> On Sun, Apr 12, 2015 at 8:28 PM, Marek Vasut wrote:
> > I was concerned about the placement of the PHY reg definition. I didn't
> > hear from Fabio on the result of this decision and I don't really mind
> > that either
Use a per-CPU variable for saving the target PC during CPU_ON
operations. This allows us to run this service independently on targets
that have more than 2 cores and also core-local power control.
CC: Marc Zyngier
Signed-off-by: Jan Kiszka
Reviewed-by: Tom Rini
Reviewed-by: Thierry Reding
Test
Will be required for obtaining the ID of the current CPU in shared PSCI
functions. The default implementation requires a dense ID space and only
supports a single cluster. Therefore, the functions can be overloaded in
cases where these assumptions do not hold.
CC: Marc Zyngier
Signed-off-by: Jan
_sunxi_cpu_entry can be converted completely into a reusable
psci_cpu_entry. Tegra124 will use it as well.
As with psci_disable_smp, also the enabling is designed to be overloaded
in cased SMP is not controlled via ACTLR.
CC: Marc Zyngier
Signed-off-by: Jan Kiszka
Reviewed-by: Tom Rini
Reviewe
From: Ian Campbell
I will need mc_security_cfg0/1 in a future patch and I added the rest while
debugging, so thought I might as well commit them.
Signed-off-by: Ian Campbell
Signed-off-by: Jan Kiszka
Reviewed-by: Tom Rini
Reviewed-by: Thierry Reding
Tested-by: Thierry Reding
Tested-by: Ian
This function will be used to initialize CPU power management for Tegra
SOCs. For now it does nothing.
Signed-off-by: Jan Kiszka
Reviewed-by: Tom Rini
Reviewed-by: Thierry Reding
Tested-by: Thierry Reding
Tested-by: Ian Campbell
---
arch/arm/include/asm/arch-tegra/ap.h | 5 +
board/nvidi
This is already invoked a few cycles later in monitor mode by
_secure_monitor (_sunxi_cpu_entry calls _do_nonsec_entry which triggers
_secure_monitor via smc #0). Drop it here, it serves no purpose.
CC: Marc Zyngier
Signed-off-by: Jan Kiszka
Reviewed-by: Tom Rini
Reviewed-by: Thierry Reding
Te
From: Thierry Reding
Make sure to enable the SMMU when booting the kernel in non-secure mode.
This is necessary because some of the SMMU registers are restricted to
TrustZone-secured requestors, hence the kernel wouldn't be able to turn
the SMMU on. At the same time, enable translation for all me
We only set CNTFRQ in arch_timer_init for the boot CPU. But this has to
happen for all cores.
Fixing this resolves problems of KVM with emulating the generic
timer/counter.
Signed-off-by: Jan Kiszka
Reviewed-by: Tom Rini
Reviewed-by: Thierry Reding
Tested-by: Thierry Reding
Tested-by: Ian Cam
Changes in v6:
- rebased over master
- included Thierry's SMMU enabling patch
- moved activation patch at the end so that it can be held back
This version can also be found at
https://github.com/siemens/u-boot/tree/jetson-tk1-v6.
Jan
CC: Ian Campbell
CC: Marc Zyngier
CC: Thierry Reding
Ia
Move parts of sunxi's psci_cpu_off into psci_cpu_off_common, namely
cache disabling and flushing, clrex and the disabling of SMP for the
dying CPU. These steps are apparently generic for ARMv7 and will be
reused for Tegra124 support.
As the way of disabled SMP is not architectural, though commonly
This is based on Thierry Reding's work and uses Ian Campell's
preparatory patches. It comes with full support for CPU_ON/OFF PSCI
services. The algorithm used in this version for turning CPUs on and
off was proposed by Peter De Schrijver and Thierry Reding in
http://thread.gmane.org/gmane.comp.boot
From: Ian Campbell
The secure world code is relocated to the MB just below the top of 4G, we
reserve it in the FDT (by setting CONFIG_ARMV7_SECURE_RESERVE_SIZE) but it is
not protected in h/w. See next patch.
Signed-off-by: Ian Campbell
Signed-off-by: Jan Kiszka
Reviewed-by: Tom Rini
Reviewed
This algorithm will be useful on Tegra as well, plus we will need it for
making _psci_target_pc per-CPU.
CC: Marc Zyngier
Signed-off-by: Jan Kiszka
Reviewed-by: Tom Rini
Reviewed-by: Thierry Reding
Tested-by: Thierry Reding
Tested-by: Ian Campbell
---
arch/arm/cpu/armv7/psci.S | 14 ++
In this case the secure code lives in RAM, and hence the memory node in
the device tree needs to be adjusted. This avoids that the OS will map
and possibly access the reservation.
Add support for setting CONFIG_ARMV7_SECURE_RESERVE_SIZE to carve out
such a region. We only support cutting off memor
Will be used for unpowergating CPUs.
Signed-off-by: Jan Kiszka
Reviewed-by: Tom Rini
Reviewed-by: Thierry Reding
Tested-by: Thierry Reding
Tested-by: Ian Campbell
---
arch/arm/include/asm/arch-tegra/powergate.h | 1 +
arch/arm/mach-tegra/powergate.c | 2 +-
2 files changed, 2 ins
From: Ian Campbell
These registers can be used to prevent non-secure world from accessing a
megabyte aligned region of RAM, use them to protect the u-boot secure monitor
code.
At first I tried to do this from s_init(), however this inexplicably causes
u-boot's networking (e.g. DHCP) to fail, whi
Hello,
On 15-04-13 01:29:39, Marek Vasut wrote:
> On Wednesday, April 08, 2015 at 03:20:09 PM, Sanchayan Maity wrote:
> > This driver adds support for the USB peripheral on Freescale Vybrid
> > SoC's.
> >
> > Signed-off-by: Sanchayan Maity
> > ---
> > arch/arm/include/asm/arch-vf610/crm_regs.h
On Monday, April 13, 2015 at 07:37:42 AM, maitysancha...@gmail.com wrote:
> Hello,
>
> On 15-04-13 01:29:39, Marek Vasut wrote:
> > On Wednesday, April 08, 2015 at 03:20:09 PM, Sanchayan Maity wrote:
> > > This driver adds support for the USB peripheral on Freescale Vybrid
> > > SoC's.
> > >
> >
Hi Any one can help me figure out what is the wrong for that, is that a
bug?Thank you
> From: liyuqia...@outlook.com
> To: u-boot@lists.denx.de
> Date: Sat, 11 Apr 2015 14:17:37 +
> Subject: Re: [U-Boot] Compile minnowboard max error
>
> i found following command was wrong:
>
>
>
>
>
>
Testing whether images will correctly boot with the standard distro
bootcmds can be rather time-consuming as it tends to require flashing
the images and booting on a device. Ditto for testing changes to
config_distro_bootcmd.
Adding support for sandbox to run distro bootcmds makes things a lot
mo
Hello,
On 15-04-13 01:28:07, Marek Vasut wrote:
> On Sunday, April 12, 2015 at 07:33:41 AM, maitysancha...@gmail.com wrote:
> > Hi,
> >
> > On 15-04-11 18:46:15, Marek Vasut wrote:
> > > On Wednesday, April 08, 2015 at 03:20:04 PM, Sanchayan Maity wrote:
> > > > Hello,
> > > >
> > > > This is th
Hi Tom,
pleas pull from u-boot-imx, thanks !
The following changes since commit 21866c34a1b4098a8868c9250daf01baf84c2397:
at91sam9rlek_mmc_defconfig: Add CONFIG_ARCH_AT91=y (2015-03-20
10:47:38 -0400)
are available in the git repository at:
git://www.denx.de/git/u-boot-imx.git master
for
57 matches
Mail list logo