the value of a GPIO in
scripts we introduce the `gpio read` command that sets the variable
`name` to the value of the pin. Return code of the `gpio read` command
can be used to check for CMD_RET_SUCCESS or CMD_RET_FAILURE.
CONFIG_CMD_GPIO_READ is used to enable the `gpio read` command.
Signed-off
the value of a GPIO in
scripts we introduce the `gpio read` command that sets the variable
`name` to the value of the pin. Return code of the `gpio read` command
can be used to check for CMD_RET_SUCCESS or CMD_RET_FAILURE.
Signed-off-by: Diego Rondini
---
cmd/gpio.c
Currently, the kernel devicetree is setting the DRAM size to ~4G.
Signed-off-by: Diego Sueiro
---
configs/vexpress_aemv8a_semi_defconfig | 2 +-
include/configs/vexpress_aemv8a.h | 3 +++
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/configs/vexpress_aemv8a_semi_defconfig
as reported also
elsewhere:
http://patchwork.ozlabs.org/project/uboot/patch/caexmxltm9bhx7aaub+mazgbdw2ccsoo3ne6ep7dbm8mmrya...@mail.gmail.com/#1976362
http://linux-sunxi.org/U-Boot/USB_Mass_Storage#Prerequisites
Regards,
Diego Rondini
Hi Lukasz,
On Thu, Dec 5, 2019 at 11:14 PM Lukasz Majewski wrote:
>
> Hi Diego,
>
> > Hi,
> >
> > I would like to ask if it is possible to source a script after
> > verifying its signature.
> >
> > Currently I've been able to source a scrip
ccording to the docs[1] it seems that it's not possible yet to verify
a FIT image signature without also booting the corresponding image. Is
that right?
[1]
https://gitlab.denx.de/u-boot/u-boot/blob/v2019.10/doc/uImage.FIT/signature.txt#L580
Thank you,
Diego Rondini
On Tue, Nov 19, 2019 at 2:47 PM Diego Rondini
wrote:
>
> Orangepi Zero Plus 2 is an open-source single-board computer, available
> in two Allwinner SOC variants, H3 and H5. We add support for H3 variant
> here, as the H5 is already supported.
>
> H3 Orangepi Zero Plus 2 has:
&g
a6912f4811)
has been avoided as it breaks U-Boot build.
Signed-off-by: Diego Rondini
---
Changes in v2:
- clarify where the dts comes from
---
arch/arm/dts/Makefile | 3 +-
arch/arm/dts/sun8i-h3-orangepi-zero-plus2.dts | 139 ++
boa
- Wifi + BT
- OTG + power supply
Signed-off-by: Diego Rondini
---
arch/arm/dts/Makefile | 3 +-
arch/arm/dts/sun8i-h3-orangepi-zero-plus2.dts | 139 ++
board/sunxi/MAINTAINERS | 5 +
configs/orangepi_zero_plus2_h3_defconfig
e the usb otg, and for a
fraction of second the power is disconnected. I solved it by attaching a
battery (and I have a PSU as a side effect :) ).
Regards,
Diego.
--
Diego Roversi
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
The main reason for this update is due the currently README has no enough
info to boot the board. Add a few more steps that make the board bootable.
Signed-off-by: Diego Dorta
---
This patch depends on Peng Fan's patch series:
https://patchwork.ozlabs.org/cover/857942/
board/free
The main reason for this update is due the currently README has no enough
info to boot the board. Add a few more steps that make the board bootable.
Signed-off-by: Diego Dorta
---
This patch depends on Peng Fan's patch series:
https://patchwork.ozlabs.org/cover/857942/
board/free
i.MX8M support
> mmc: fsl_esdhc: support i.MX8M
> imx: lcdif: include i.MX8M
> gpio: mxc: add i.MX8M support
> net: fec: do not access reserved register for i.MX8M
> imx: imx8mq: add dtsi file
> power: pmic/regulator allow dm be omitted by SPL
> imx: mx8m: add
I talked to Peng offline, and we will work on improving the README file.
Thanks,
Diego
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
Hi Peng,
2018-01-16 10:25 GMT-02:00 Peng Fan :
>
>
>> -Original Message-----
>> From: Diego Dorta [mailto:diegohdo...@gmail.com]
>> Sent: Tuesday, January 16, 2018 8:15 PM
>> To: Peng Fan
>> Cc: Peng Fan ; Fabio Estevam
>> ; U-Boot-Denx
>>
Hi Peng,
2018-01-13 8:55 GMT-02:00 Peng Fan :
> Hi Diego,
> On Thu, Jan 11, 2018 at 10:36:02AM -0200, Diego Dorta wrote:
>>Hi Peng,
>>
>>2018-01-10 23:16 GMT-02:00 Peng Fan :
>>> Hi Diego,
>>>
>>> On Wed, Jan 10, 2018 at 11:08:54AM -0200, Diego
Hi Peng,
2018-01-10 23:16 GMT-02:00 Peng Fan :
> Hi Diego,
>
> On Wed, Jan 10, 2018 at 11:08:54AM -0200, Diego Dorta wrote:
>>Hi Peng,
>>
>>2018-01-10 3:20 GMT-02:00 Peng Fan :
>>> This patchset is to add i.MX8M and i.MX8MQ-EVK support
>>>
>>>
roller memory map
> imx: add i.MX8MQ EVK support
>
> Tom Rini (1):
> arm: imx: Rework i.MX specific commands to be excluded from SPL
Thanks for your V5 patches, this time I had no problem on compiling it.
But, even following your README step by step, the U-Boot hangs
completely on this point:
U-Boot SPL 2018.01-00038-gb464677cc7 (Jan 10 2018 - 09:50:45)
PMIC: PFUZE100 ID=0x10
PMU message timeout
Normal Boot
Trying to boot from MMC2
Do you know how to solve it? If so, please add this information on the
README file.
Thanks,
Diego
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
arch/arm/dts/fsl-imx8mq-evk.dts
patching file arch/arm/include/asm/arch-mx8m/ddr.h
patching file arch/arm/mach-imx/mx8m/Kconfig
patching file board/freescale/mx8mq_evk/Kconfig
patching file board/freescale/mx8mq_evk/Makefile
patching file board/freescale/mx8mq_evk/README
patching file board/freescale/mx8mq_
Hi Peng,
2017-11-29 0:42 GMT-02:00 Peng Fan :
> Hi Diego,
>
> On Tue, Nov 28, 2017 at 02:42:20PM -0200, Diego Dorta wrote:
>>Hi Peng Fan,
>>
>>2017-11-28 10:31 GMT-02:00 Peng Fan :
>>> This patchset is to add i.MX8M and i.MX8MQ-EVK support
>>>
>&g
. Pick it up.
>
> The board support is a large patch because of the ddr related code.
> If it is not good, please first review/pick-up other patches if they
> are ok.
>
I applied your patches and I am facing the following errors:
LD u-boot
arch/arm/lib/built-in.o: In function `d
function prototype into arch-mx6/clock.h file.
Signed-off-by: Diego Dorta
---
arch/arm/include/asm/arch-mx6/clock.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/include/asm/arch-mx6/clock.h
b/arch/arm/include/asm/arch-mx6/clock.h
index 2d9c45e..26afefb 100644
--- a/arch/arm/include
’ [-Wmissing-prototypes] __weak int
imx6_pcie_toggle_reset(void)
Remove these warnings by adding the functions prototypes on arch-mx6/sys_proto.
Signed-off-by: Diego Dorta
---
arch/arm/include/asm/arch-mx6/sys_proto.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/include/asm/arch
When compiling with W=1 the following warning is observed:
arch/arm/mach-imx/mx6/soc.c:590:6: warning: no previous prototype for ‘s_init’
[-Wmissing-prototypes] void s_init(void)
Remove this warning by adding the function prototype into include/common.h file.
Signed-off-by: Diego Dorta
file.
Signed-off-by: Diego Dorta
---
include/usb/ehci-ci.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/usb/ehci-ci.h b/include/usb/ehci-ci.h
index cd3eb47..8c9f3cd 100644
--- a/include/usb/ehci-ci.h
+++ b/include/usb/ehci-ci.h
@@ -280,6 +280,7 @@ struct usb_ehci {
int
When compiling with W=1 the following warning is observed:
board/freescale/mx6sabresd/mx6sabresd.c:680:5: warning: no previous prototype
for ‘board_spi_cs_gpio’ [-Wmissing-prototypes] int board_spi_cs_gpio(unsigned
bus, unsigned cs)
Remove this warning by including .
Signed-off-by: Diego
When compiling with W=1 the following warning is observed:
board/freescale/mx6sabresd/mx6sabresd.c:586:5: warning: no previous prototype
for ‘board_ehci_hcd_init’ [-Wmissing-prototypes] int board_ehci_hcd_init(int
port)
Remove this warning by including .
Signed-off-by: Diego Dorta
---
board
When compiling with W=1 the following warning is observed:
arch/arm/mach-imx/mx6/soc.c:213:12: warning: no previous prototype for
‘get_board_rev’ [-Wmissing-prototypes] u32 __weak get_board_rev(void)
Fix the build warning by including .
Signed-off-by: Diego Dorta
---
arch/arm/mach-imx/mx6
t to HDMI
Display: HDMI (1024x768)
In:serial
Out: serial
Err: serial
Net: FEC [PRIME]
Hit any key to stop autoboot: 0
> ___
> U-Boot mailing list
> U-Boot@lists.denx.de
> https://lists.denx.de/listinfo/u-boot
Thanks,
Diego
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
When building with W=1 errors like the one below is seen:
board/freescale/mx6sabresd/mx6sabresd.c:546:5: warning:
no previous prototype for ‘overwrite_console’
[-Wmissing-prototypes] int overwrite_console(void)
Fix the build warnings by including .
Signed-off-by: Diego Dorta
---
board
file.
Signed-off-by: Diego Dorta
---
Changes since v1:
- Add 'mmc' prefix
- Change function prototype to sys_proto.h
- Update commit log accordingly
arch/arm/include/asm/mach-imx/sys_proto.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/include/asm/mach-imx/sys_proto
.
Signed-off-by: Diego Dorta
---
include/mmc.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/mmc.h b/include/mmc.h
index 010ebe0..3ddfc2d 100644
--- a/include/mmc.h
+++ b/include/mmc.h
@@ -588,6 +588,7 @@ int board_mmc_init(bd_t *bis);
int cpu_mmc_init(bd_t *bis);
int
> On Mon, Jul 10, 2017 at 03:44:17PM +0200, Olliver Schinagl wrote:
> > Ping,
> >
> > any reason this hasn't been merged yet? :)
>
> I don't know. Jagan?
>
> Maxime
It looks like Jagan isn't responding.
A
is is the equivalent fix from commit 4b6035da482c ("mx6sabresd: Make
> Ethernet functional again").
>
> Reported-by: Miquel RAYNAL
> Signed-off-by: Fabio Estevam
Tested-by: Diego Dorta
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
is is the equivalent fix from commit 4b6035da482c ("mx6sabresd: Make
> Ethernet functional again").
>
> Reported-by: Miquel RAYNAL
> Signed-off-by: Fabio Estevam
Tested-by: Diego Dorta
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
is is the equivalent fix from commit 4b6035da482c ("mx6sabresd: Make
> Ethernet functional again").
>
> Reported-by: Miquel RAYNAL
> Signed-off-by: Fabio Estevam
Tested-by: Diego Dorta
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
Add support for Falcon mode and explain in the README the steps to
boot the kernel directly without loading the full U-Boot.
Signed-off-by: Diego Dorta
---
board/freescale/mx6sabreauto/README | 62 +
board/freescale/mx6sabreauto/mx6sabreauto.c | 7
In data domenica 19 marzo 2017 23:14:14 CEST, Diego ha scritto:
> Hi all,
>
> I'm trying to use the multi-file format mentioned in pages 12-13 of "U-Boot
> – Multi image booting scenarios" PDF slides.
>
> I'd like to use FIT format, but I already have u
mdisk? ext3.gz initrd? cpio.gz initramfs?
Thanks for any help!
Bests,
Diego
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
Add a README file to help users getting started with the board.
Signed-off-by: Diego Dorta
---
board/freescale/mx6ullevk/README | 36
1 file changed, 36 insertions(+)
create mode 100644 board/freescale/mx6ullevk/README
diff --git a/board/freescale
Hi Ladislay,
>From: Ladislav Michl
>Sent: Wednesday, October 19, 2016 7:50 AM
>To: Diego Dorta
>Cc: u-boot@lists.denx.de; h...@denx.de
>Subject: Re: Help with spl: zImage support in Falcon mode
>
>Hi,
>
>On Tue, Oct 18, 2016 at 04:36:54PM +, Diego Dorta wrote:
&g
t supported
ERROR: booting os 'Invalid OS' (0) is not supported
ERROR prep subcommand failed!
Subcommand failed
I can't understand this error. Does anybody know how to fix it?
Regards,
Diego
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Add a README to explain the steps for booting mx6sabresd in different ways:
1. Booting via Normal U-Boot (u-boot.imx)
2. Booting via SPL (SPL and u-boot.img)
3. Booting via Falcon mode (SPL launches the kernel directly)
Signed-off-by: Diego Dorta
---
board/freescale/mx6sabresd
Allow i.MX6Q Sabre SD to load the kernel and dtb via SPL in Falcon mode.
Based on the Falcon mode code for MX6 Gateworks Ventana board.
Signed-off-by: Diego Dorta
---
board/freescale/mx6sabresd/mx6sabresd.c | 12
include/configs/mx6sabresd.h| 12
2 files
> From: Stefano Babic
>
>
> Hi Diego,
>
> On 08/08/2016 18:12, Diego Dorta wrote:
> > Hi Stefano,
>>
> > I downloaded the patch about Falcon Mode from:
>>
> > https://www.amazon.com/clouddrive/share/hVlzRXoJv1Jq4DJdgDcVnfmOWjARqR06eCfheWjRcSh
now how to solve this?
Regards,
Diego Dorta
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Remove unused define constant.
Signed-off-by: Diego Dorta
---
board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c
b/board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c
index 88d3fbd..160c4c6
Add script for retrieving the kernel via TFTP and mounting the
rootfs via NFS.
Signed-off-by: Diego Dorta
---
include/configs/pico-imx6ul.h | 26 +-
1 file changed, 25 insertions(+), 1 deletion(-)
diff --git a/include/configs/pico-imx6ul.h b/include/configs/pico
Pico-imx6ul has a KSZ8081 Ethernet PHY.
Add support for it.
Signed-off-by: Diego Dorta
---
board/technexion/pico-imx6ul/pico-imx6ul.c | 84 ++
include/configs/pico-imx6ul.h | 10
2 files changed, 94 insertions(+)
diff --git a/board/technexion/pico
In data mercoledì 4 maggio 2016 23:36:46, Marek Vasut ha scritto:
> On 05/04/2016 04:06 PM, Diego wrote:
> > In data mercoledì 4 maggio 2016 13:45:57, Marek Vasut ha scritto:
> >> On 05/04/2016 11:13 AM, Diego wrote:
> >>>
> >>> So I see three option
In data mercoledì 4 maggio 2016 13:45:57, Marek Vasut ha scritto:
> On 05/04/2016 11:13 AM, Diego wrote:
> > In data martedì 3 maggio 2016 23:01:10, Marek Vasut ha scritto:
> >> On 04/29/2016 09:58 AM, Diego wrote:
> >>> For me it fails for files bigger than
In data martedì 3 maggio 2016 23:01:10, Marek Vasut ha scritto:
> On 04/29/2016 09:58 AM, Diego wrote:
> > In data venerdì 29 aprile 2016 00:49:22, Marek Vasut ha scritto:
> >> Urgh, so you seem to have third revision of this stick. I have two
> >
> >> sticks wh
on TD - token=0x50008d80
Error reading cluster
** Unable to read file file20.raw **
U-Boot > load usb 0:1 0x10008000 file40.raw
reading file40.raw
EHCI timed out on TD - token=0x1e008d80
EHCI timed out on TD - token=0x1e008d80
EHCI timed out on TD - token=0x1e008d80
Error reading cluster
** Unable
0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize064
bNumConfigurations 1
can't get debug descriptor: Resource temporarily unavailable
Device Status: 0x
(Bus Powered)
Bests,
Diego
___
Il 27 aprile 2016 04:14:45 CEST, Marek Vasut ha scritto:
>On 04/15/2016 02:13 PM, Diego wrote:
>>
>> Hi Marek,
>>
>> yes, I was getting the following error with the Kingston DTSE9 USB
>2.0:
>> EHCI timed out on TD - token=0x1e008d80
>> EHCI timed out
In data venerdì 15 aprile 2016 12:53:36, Marek Vasut ha scritto:
> On 04/14/2016 03:20 PM, Diego wrote:
> > On 18.02.2016, Schrempf Frieder wrote:
> >> At the moment I have two sticks with the same chip around for which
> >> setting USB_MAX_XFER_BLK from 65535 to 32
of USB_MAX_XFER_BLK from 65535 to 32767 fixed also that "corrupted
load" problem, so from what I experienced 32767 is a much more practical and
"real life" reliable value.
If, as Fabio Estevam suggested, changing USB_MAX_XFER_BLK to 32767 is being
considered, I definitely vo
> -Original Message-
> From: Pantelis Antoniou [mailto:pa...@antoniou-consulting.com]
> Sent: Friday, January 23, 2015 9:35 AM
> To: Diego Santa Cruz
> Cc: Stephen Warren; u-boot@lists.denx.de
> Subject: Re: [U-Boot] [PATCH v4 01/18] mmc: show hardware partition sizes i
> -Original Message-
> From: Stephen Warren [mailto:swar...@wwwdotorg.org]
> Sent: Thursday, January 22, 2015 8:59 PM
> To: Pantelis Antoniou
> Cc: Diego Santa Cruz; u-boot@lists.denx.de
> Subject: Re: [U-Boot] [PATCH v4 01/18] mmc: show hardware partition sizes in
> m
Adds the mmc hwpartition sub-command to perform eMMC hardware
partitioning on an mmc device. The number of arguments can be
large for a complex partitioning, but as the partitioning has
to be done in one go it is difficult to make it simpler.
Signed-off-by: Diego Santa Cruz
---
common/cmd_mmc.c
This change extends the mmc hwpartition sub-command to change the
per-partition write reliability settings. It also changes the
syntax used for the enhanced user data area slightly to better
accomodate the write reliability option.
Signed-off-by: Diego Santa Cruz
---
common/cmd_mmc.c | 116
The eMMC partition write reliability settings are to be set while
partitioning a device, as per the eMMC spec, so changes to these
attributes needs to be done in the hardware partitioning API.
This commit adds such support.
Signed-off-by: Diego Santa Cruz
---
drivers/mmc/mmc.c | 39
conditional on MMC >= 4.0.
Signed-off-by: Diego Santa Cruz
---
drivers/mmc/mmc.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c
index 403843b..63a1e0c 100644
--- a/drivers/mmc/mmc.c
+++ b/drivers/mmc/mmc.c
@@ -972,7 +972,9 @@ static
The erase_grp_size in struct mmc is to be a size in 512-byte sectors
but the code used to compute it for eMMC when EXT_CSD_ERASE_GROUP_DEF is
enabled computed it as bytes, leading to erase sizes and alignment
much larger than what is actually required by the mmc device.
Signed-off-by: Diego Santa
The eMMC spec numbers general purpose partitions starting at 1, but
the mmcinfo output follows the internal numbering which starts at 0.
Make the mmcinfo command output number partitions as in the eMMC
spec to avoid confusion.
Signed-off-by: Diego Santa Cruz
---
common/cmd_mmc.c | 2 +-
1 file
ything and is thus not
reversible.
Signed-off-by: Diego Santa Cruz
---
drivers/mmc/mmc.c | 155 ++
include/mmc.h | 20 +++
2 files changed, 175 insertions(+)
diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c
index 63a1e0c..847e
eMMC partitions are defined as of eMMC 4.41, but mmcinfo process
partition info for eMMC >= 4.0, change it to do it for >= 4.41
Signed-off-by: Diego Santa Cruz
---
common/cmd_mmc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/cmd_mmc.c b/common/cmd_mmc.c
This adds output to show the eMMC enhanced user data area size and offset
along with the partition sizes in mmcinfo's output.
Signed-off-by: Diego Santa Cruz
---
common/cmd_mmc.c | 11 ---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/common/cmd_mmc.c b/common/cmd_
d Size: 512 MiB
Boot Capacity: 16 MiB ENH
RPMB Capacity: 128 KiB ENH
GP1 Capacity: 64 MiB ENH WRREL
GP2 Capacity: 64 MiB ENH WRREL
Signed-off-by: Diego Santa Cruz
---
common/cmd_mmc.c | 12 ++--
drivers/mmc/mmc.c | 2 ++
include/mmc.h | 1 +
3 files changed, 13 insertions(+),
Read the eMMC high capacity write protect group size at mmc device
initialization. This is useful to correctly partition an eMMC device,
as partitions need to be aligned to this size.
Signed-off-by: Diego Santa Cruz
---
drivers/mmc/mmc.c | 6 ++
include/mmc.h | 1 +
2 files changed, 7
D/MMC
Manufacturer ID: fe
OEM: 14e
Name: MMC16
Tran Speed: 5200
Rd Block Len: 512
MMC version 4.41
High Capacity: Yes
Capacity: 13.8 GiB
Bus Width: 4-bit
User Capacity: 13.8 GiB ENH
Boot Capacity: 16 MiB ENH
RPMB Capacity: 128 KiB ENH
GP1 Capacity: 64 MiB ENH
GP2 Capacity: 64 MiB ENH
Signed-off-by:
of the partitioning fields
in EXT_CSD, so having partitioning data means someone previously
activated that and we should keep it activated.
Signed-off-by: Diego Santa Cruz
---
drivers/mmc/mmc.c | 58 +--
1 file changed, 35 insertions(+), 23
This modification reads the size of the eMMC enhanced user data area
upon initialization of an mmc device, it will be used later by
mmcinfo.
Signed-off-by: Diego Santa Cruz
---
drivers/mmc/mmc.c | 15 +++
include/mmc.h | 4
2 files changed, 19 insertions(+)
diff --git a
This adds the erase group size and high-capacity WP group size to
mmcinfo's output. The erase group size is necessary to properly align
erase requests on eMMC. The high-capacity WP group size is necessary
to properly align partitions on eMMC.
Signed-off-by: Diego Santa Cruz
---
common/cmd_
Signed-off-by: Diego Santa Cruz
---
drivers/mmc/mmc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c
index 5e9926c..86c4db9 100644
--- a/drivers/mmc/mmc.c
+++ b/drivers/mmc/mmc.c
@@ -1026,6 +1026,7 @@ static int mmc_startup(struct mmc *mmc
hardware partition support. I
have tested this with Micron eMMC 4.41 parts and it is working as
expected.
This version resyncs to u-boot.git master
d8bec60c1b0de7770f9b56ad092ab9be801d99af as some recent mmc changes
conflicted with these patches, in particular the DDR mode support.
Diego Santa Cruz
ERASE_GROUP_DEF before setting that bit, so it means that the user
previously switched to the high capacity definitions.
Signed-off-by: Diego Santa Cruz
---
drivers/mmc/mmc.c | 52 ++--
1 file changed, 30 insertions(+), 22 deletions(-)
diff --git a
ity: 64 MiB
GP2 Capacity: 64 MiB
Signed-off-by: Diego Santa Cruz
---
common/cmd_mmc.c | 17 +
1 file changed, 17 insertions(+)
diff --git a/common/cmd_mmc.c b/common/cmd_mmc.c
index 96478e4..fa765d7 100644
--- a/common/cmd_mmc.c
+++ b/common/cmd_mmc.c
@@ -73,6 +73,8 @@ U_BOOT_CMD(
Hi Pantelis,
> -Original Message-
> From: Pantelis Antoniou [mailto:pa...@antoniou-consulting.com]
> Sent: Friday, December 12, 2014 8:21 PM
> To: Diego Santa Cruz
> Cc: u-boot@lists.denx.de
> Subject: Re: [PATCH v2 00/18] Support for eMMC partitioning and related f
eMMC partitions are defined as of eMMC 4.41, but mmcinfo process
partition info for eMMC >= 4.0, change it to do it for >= 4.41
Signed-off-by: Diego Santa Cruz
---
common/cmd_mmc.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/common/cmd_mmc.c b/common/cmd
ity: 64 MiB
GP2 Capacity: 64 MiB
Signed-off-by: Diego Santa Cruz
---
common/cmd_mmc.c | 17 +
1 files changed, 17 insertions(+), 0 deletions(-)
diff --git a/common/cmd_mmc.c b/common/cmd_mmc.c
index 4286e26..1a23b28 100644
--- a/common/cmd_mmc.c
+++ b/common/cmd_mmc.c
@@ -73,6 +73,
d Size: 512 MiB
Boot Capacity: 16 MiB ENH
RPMB Capacity: 128 KiB ENH
GP1 Capacity: 64 MiB ENH WRREL
GP2 Capacity: 64 MiB ENH WRREL
Signed-off-by: Diego Santa Cruz
---
common/cmd_mmc.c | 12 ++--
drivers/mmc/mmc.c |2 ++
include/mmc.h |1 +
3 files changed, 13 insert
of the partitioning fields
in EXT_CSD, so having partitioning data means someone previously
activated that and we should keep it activated.
Signed-off-by: Diego Santa Cruz
---
drivers/mmc/mmc.c | 53 ++---
1 files changed, 34 insertions(+), 19
conditional on MMC >= 4.0.
Signed-off-by: Diego Santa Cruz
---
drivers/mmc/mmc.c |4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c
index dc8f830..d208118 100644
--- a/drivers/mmc/mmc.c
+++ b/drivers/mmc/mmc.c
@@ -972,7 +972,9 @@ static
The eMMC partition write reliability settings are to be set while
partitioning a device, as per the eMMC spec, so changes to these
attributes needs to be done in the hardware partitioning API.
This commit adds such support.
Signed-off-by: Diego Santa Cruz
---
drivers/mmc/mmc.c | 39
This change extends the mmc hwpartition sub-command to change the
per-partition write reliability settings. It also changes the
syntax used for the enhanced user data area slightly to better
accomodate the write reliability option.
Signed-off-by: Diego Santa Cruz
---
common/cmd_mmc.c | 116
Adds the mmc hwpartition sub-command to perform eMMC hardware
partitioning on an mmc device. The number of arguments can be
large for a complex partitioning, but as the partitioning has
to be done in one go it is difficult to make it simpler.
Signed-off-by: Diego Santa Cruz
---
common/cmd_mmc.c
ything and is thus not
reversible.
Signed-off-by: Diego Santa Cruz
---
drivers/mmc/mmc.c | 154 +
include/mmc.h | 20 +++
2 files changed, 174 insertions(+), 0 deletions(-)
diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c
ind
This adds the erase group size and high-capacity WP group size to
mmcinfo's output. The erase group size is necessary to properly align
erase requests on eMMC. The high-capacity WP group size is necessary
to properly align partitions on eMMC.
Signed-off-by: Diego Santa Cruz
---
common/cmd_
Read the eMMC high capacity write protect group size at mmc device
initialization. This is useful to correctly partition an eMMC device,
as partitions need to be aligned to this size.
Signed-off-by: Diego Santa Cruz
---
drivers/mmc/mmc.c |6 ++
include/mmc.h |1 +
2 files
The erase_grp_size in struct mmc is to be a size in 512-byte sectors
but the code used to compute it for eMMC when EXT_CSD_ERASE_GROUP_DEF is
enabled computed it as bytes, leading to erase sizes and alignment
much larger than what is actually required by the mmc device.
Signed-off-by: Diego Santa
This adds output to show the eMMC enhanced user data area size and offset
along with the partition sizes in mmcinfo's output.
Signed-off-by: Diego Santa Cruz
---
common/cmd_mmc.c | 11 ---
1 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/common/cmd_mmc.c b/c
This modification reads the size of the eMMC enhanced user data area
upon initialization of an mmc device, it will be used later by
mmcinfo.
Signed-off-by: Diego Santa Cruz
---
drivers/mmc/mmc.c | 15 +++
include/mmc.h |4
2 files changed, 19 insertions(+), 0
Signed-off-by: Diego Santa Cruz
---
drivers/mmc/mmc.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c
index 7f5614e..62b945c 100644
--- a/drivers/mmc/mmc.c
+++ b/drivers/mmc/mmc.c
@@ -1023,6 +1023,7 @@ static int mmc_startup(struct
ERASE_GROUP_DEF before setting that bit, so it means that the user
previously switched to the high capacity definitions.
Signed-off-by: Diego Santa Cruz
---
drivers/mmc/mmc.c | 51 +--
include/mmc.h |2 ++
2 files changed, 31 insertions(+), 22
The eMMC spec numbers general purpose partitions starting at 1, but
the mmcinfo output follows the internal numbering which starts at 0.
Make the mmcinfo command output number partitions as in the eMMC
spec to avoid confusion.
Signed-off-by: Diego Santa Cruz
---
common/cmd_mmc.c |2 +-
1
hardware partition support. I
have tested this with Micron eMMC 4.41 parts and it is working as
expected.
This version of the patches just adds the missing signed-off-by tags.
The patch series is against u-boot.git master of a few minutes ago.
Diego Santa Cruz (18):
mmc: show hardware partition
D/MMC
Manufacturer ID: fe
OEM: 14e
Name: MMC16
Tran Speed: 5200
Rd Block Len: 512
MMC version 4.41
High Capacity: Yes
Capacity: 13.8 GiB
Bus Width: 4-bit
User Capacity: 13.8 GiB ENH
Boot Capacity: 16 MiB ENH
RPMB Capacity: 128 KiB ENH
GP1 Capacity: 64 MiB ENH
GP2 Capacity: 64 MiB ENH
Signed-off-by:
> -Original Message-
> From: Joakim Tjernlund [mailto:joakim.tjernl...@transmode.se]
> Sent: Friday, December 05, 2014 10:46 AM
> To: Diego Santa Cruz
> Cc: u-boot@lists.denx.de
> Subject: RE: [U-Boot] [PATCH 00/18] Support for eMMC partitioning and related
> fixes
&g
> -Original Message-
> From: Joakim Tjernlund [mailto:joakim.tjernl...@transmode.se]
> Sent: Thursday, December 04, 2014 7:29 PM
> To: Diego Santa Cruz
> Cc: u-boot@lists.denx.de
> Subject: RE: [U-Boot] [PATCH 00/18] Support for eMMC partitioning and related
> fixes
1 - 100 of 144 matches
Mail list logo