real hardware wit CMD_FDT) and
> am otherwise world build testing it again now.
Excellent, thanks. Once again, do not hesitate to let us know if
there's any remaining issue to investigate and fix, or any concern
about the overall design/approach.
Best regards,
Thomas Petazzoni
--
at is needed to get this series
considered for merging.
Thanks a lot!
Thomas Petazzoni
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
of all unused
clocks at the end of the boot. When the driver is built-in, there is a
driver adding a reference to the clock before all unused clocks are
disabled. When the driver is compiled as a module, this does not
happen. So indeed, the correct solution here is to have U-Boot pass the
MAC address
.cur_dev->blksz);
>
> - return DIV_ROUND_UP(table_size + *offset, ctxt.cur_dev->blksz);
> + return (table_size + *offset + ctxt.cur_dev->blksz - 1) >>
> ctxt.cur_dev->log2blksz;
Why are you not using DIV_ROUND_UP_ULL() here ?
Thanks,
Thomas Petazzoni
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
We could use DIV_ROUND_UP_ULL() I guess.
> else
> - blk_list_size = file_size / blk_size;
> + blk_list_size = file_size > LOG2(blk_size);
Very bad mistake here: > should be >>.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
On Wed, 23 Sep 2020 21:13:51 +0200
Heinrich Schuchardt wrote:
> We should check if the incoming parameter file_mapping is not NULL instead
> of checking after adding an offset.
>
> Reported-by: Coverity CID 307210
> Signed-off-by: Heinrich Schuchardt
Acked-by: Thomas Petazzo
As I have followed the development of the SquashFS support in U-Boot
as part of Joao Marcos work, it makes sense to get Cc'ed on
contributions/bug reports related to the squashfs support.
Signed-off-by: Thomas Petazzoni
---
MAINTAINERS | 1 +
1 file changed, 1 insertion(+)
diff --
ret = uncompress(dest, dest_len, source, src_len);
These two changes are not related to this patch.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
nt to the decompressor
function, so that sqfs_ctxt doesn't need to be a global variable.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
rom that file. If you keep the "static" keyword, you can keep
the variable named "ctxt" and avoid a lengthy patch.
> + ret = sqfs_decompressor_init(&sqfs_ctxt);
See you're passing a reference to the squashfs context here, so this
variable does not need to be
eanup,close}
function.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
iling U-Boot for ARM for example, as I know
you're also testing this on an ARM platform.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
sqfs_probe() currently duplicates what sqfs_read_sblk() is doing, so
use the latter in the former to avoid some small code duplication.
Signed-off-by: Thomas Petazzoni
---
fs/squashfs/sqfs.c | 14 --
1 file changed, 4 insertions(+), 10 deletions(-)
diff --git a/fs/squashfs/sqfs.c b
sqfs_get_regfile_info() and sqfs_get_lregfile_info().
- The sqfs_size() function is modified to return "ret" at the end, so
that the error code is properly propagated.
Signed-off-by: Thomas Petazzoni
---
fs/squashfs/sqfs.c | 61 +++---
1 file c
disk_partition_t was dropped in 0528979fa7ab ("part: Drop
disk_partition_t typedef").
Signed-off-by: Thomas Petazzoni
---
fs/squashfs/sqfs.c | 5 +++--
include/squashfs.h | 4 +++-
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/fs/squashfs/sqfs.c b/fs/squashfs/sq
’
207 | struct squashfs_directory_index index[0];
| ^
fs/squashfs/sqfs_inode.c:31:29: note: defined here ‘ldir’
31 | struct squashfs_ldir_inode ldir;
| ^~~~
Could you investigate this ?
Thanks,
Thomas
Thomas
ly expose do_sqfs_ls() and
do_sqfs_load(), they are only used within cmd/sqfs.c. This allows to
drop the do_sqfs_load() prototype from include/fs.h.
Signed-off-by: Thomas Petazzoni
---
cmd/sqfs.c | 5 +++--
include/fs.h | 12
2 files changed, 3 insertions(+), 14 deletions(-)
diff
unzip.c already has a function called
zunzip(), which seems to do pretty much the same thing: decompress from
a memory buffer into another memory buffer.
Are you sure you cannot use this existing zunzip() function ? zunzip()
is already used by UBIFS.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Emb
SPL or only in U-Boot proper.
It was not clear in your initial e-mail that this was the issue you
were pointing.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
ystem, then the SPL needs FAT
filesystem support to load U-Boot proper, and U-Boot proper needs FAT
filesystem support to load the Linux kernel image.
Am I missing something here ?
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
ding the host tools with gcc 4.7.
Signed-off-by: Thomas Petazzoni
---
tools/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tools/Makefile b/tools/Makefile
index 081383d7a7..d377d85f74 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -254,7 +254,8 @@ HOST_EXTRA
ebian system encountered this build failure. Buildroot
is used in lots of "enterprise" contexts, where enterprise often means
"the IT forces the poor developers to use antique Linux systems for
their job", and we're trying to make the life of those poor developers
slightly
coding style used in the rest of U-Boot
allows to fix this build issue.
Signed-off-by: Thomas Petazzoni
---
lib/crc16.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/lib/crc16.c b/lib/crc16.c
index f46ba727c9..89d2cff131 100644
--- a/lib/crc16.c
+++ b/lib/crc16.c
ent memmove() when the areas
are overlapping ?
Perhaps Simon Glass, who did the change to use memcpy() in
cb0eae8cf8aaca76910dee4c7eb536d0814d1bd2 could comment on that ?
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
condition will be true.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
if (mtdparts && old_mtdparts && mtdids && old_mtdids &&
!strcmp(mtdparts, old_mtdparts) &&
!strcmp(mtdids, old_mtdids)))
return 0;
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Ke
clude paths of tools are so cryptic.
Oh yes it is cryptic!
Thomas
--
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
http://bootlin.com
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
nodeoffset,
^~~
make[1]: *** [scripts/Makefile.host:116: tools/aisimage.o] Error 1
make: *** [Makefile:1506: tools-only] Error 2
--
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
http://b
: [U-Boot] Initializing global_data on SuperH before
board_init_f() ? Date: Tue, 15 Aug 2017 23:07:30 +0200
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
___
U-Boot mailing li
been able to push out.
How did you end up solving this problem? As I said, I don't think
https://patchwork.ozlabs.org/patch/806263/ is the correct solution.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
Hello,
On Mon, 28 Aug 2017 14:16:38 +0200, Thomas Petazzoni wrote:
> In the SH7785/SH7786 case, the SCSCR value is harcoded to be 0x3a,
> which means bits CKE1/CKE0 have the value 10b. This tells the SCIF
> that the "External clock/SCIF_SCK pin functions as clock input".
>
Hello,
Has anyone any comments/suggestions on the below questions? How is this
problem solved on other architectures?
Thanks,
Thomas
On Mon, 28 Aug 2017 14:32:49 +0200, Thomas Petazzoni wrote:
> Hello,
>
> As you've noticed, I'm porting U-Boot to a SH4 board running
&g
ded.o
in their linker script, plus one Freescale platform.
Again, changing extra- to obj- in env/Makefile also fixes the issue.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
___
U-Boot
It is added to extra-y by:
extra-$(CONFIG_ENV_IS_IN_FLASH) += embedded.o
I dumped extra-y right after this line, and it does contain embedded.o.
However, it does not get added to the link stage.
Why is this an extra-$() rather than an obj-$() ?
Best regards,
Thomas
--
Thomas Petazzoni, CTO,
> Thomas, could you please take a look?
Sure, I'll have a look. I guess I should be able to reproduce by
building ms7722se_defconfig ?
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
sh_eth_reg_addr(eth, enum_index));
}
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
de = EXT_CLK to indicate such a setting.
In order for the serial_sh driver to work on a SH7786 platform that
does not use SCIF_SCK as a clock input, we have to adjust the
SCSCR_INIT value, to have CKE1/CKE0 set to 00b. This is similar to
what is done for other SH platforms.
Signed-off-by: T
move this to
> Kconfig so it's easy to use a default setting, and only boards with
> special needs have to adjust this in their defconfig files.
OK. So let's review this first patch series. Once we agree on it and it
gets merged, I can work on the second step of moving those
co
same board,
most people will find the default value to be OK, some people will need
a larger number of command arguments or a bigger Linux kernel command
line.
Let me know what your preference is.
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel
Now that include/config_fallbacks.h define a sane fallback for
CONFIG_SYS_MAXARGS, we can drop the definition of this constant in all
configurations that were using the default value.
Signed-off-by: Thomas Petazzoni
---
include/configs/10m50_devboard.h | 1 -
include/configs
CONFIG_SYS_BARGSIZE == 512 (common.image.c) is suitable, as it
is equal or larger.
Signed-off-by: Thomas Petazzoni
---
include/configs/10m50_devboard.h | 1 -
include/configs/3c120_devboard.h | 1 -
include/configs/B4860QDS.h | 1 -
include/configs/BSC9132QDS.h | 2
CONFIG_SYS_BARGSIZE is already defined to 512 in common/image.c when
not defined. Therefore, there is no point in having board
configuration files define it to 512.
Signed-off-by: Thomas Petazzoni
---
include/configs/MigoR.h| 1 -
include/configs/ap325rxa.h | 2 --
include
remove the default definition from 216 platform .h
files, leaving only 56 platforms with non-default values (15, 24, 32,
48, 64, 96, 128 or 256).
Signed-off-by: Thomas Petazzoni
---
include/config_fallbacks.h | 4
1 file changed, 4 insertions(+)
diff --git a/include/config_fallbacks.h b
forms.
Signed-off-by: Thomas Petazzoni
---
include/config_fallbacks.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/config_fallbacks.h b/include/config_fallbacks.h
index f9461f0..09fcee4 100644
--- a/include/config_fallbacks.h
+++ b/include/config_fallbacks.h
@@ -81,7
Now that include/config_fallbacks.h define a sane fallback for
CONFIG_SYS_CBSIZE, we can drop the definition of this constant in all
configurations that were using the default value.
Signed-off-by: Thomas Petazzoni
---
include/configs/10m50_devboard.h| 1 -
include/configs/3c120_devboard.h
provide a sane fallback value in config_fallbacks.h,
so that platforms can rely on it instead of having to explicitly
define it.
We use 1024 when KGDB is enabled, and 256 otherwise, which is what the
majority of the platforms are doing.
Signed-off-by: Thomas Petazzoni
---
include/config_fallb
-Boot commands. Perhaps we want to remove those options entirely
from the .h files, and simply have a Kconfig option instead?
Also, let me know if I have missed some existing work in this area.
Thanks for your feedback!
Thomas Petazzoni
Thomas Petazzoni (8):
include/config_fallbacks.h: add
needs to be done in terms of cleanup/Kconfig migration, I can try to
find some time to look into that.
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
.l ._reloc_dst, r4
> +4: mov.l r1, @-r4
> + cmp/hs r4, r13
> + bf 4b
> +
This indeed should solve the problem, though I'm not able to test right
now, as I don't have access to the board and JTAG right now. I'll get
back to you when I've been able to test.
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
ce for the
global data on the stack
- Call board_init_f_init_reserve() to zero initialize it
I guess the SH code can be adapted to use this logic, I'll have a look
into that. Could take a while though, since I'm not fluent in SH
assembly.
Thanks for the hint!
Thomas
--
Thomas Petazzoni, CTO,
CONFIG_SYS_GENERIC_GLOBAL_DATA is no longer used by any board or
platform, so support for it can be dropped.
Signed-off-by: Thomas Petazzoni
---
README | 6 --
common/board_f.c | 27 ---
scripts/config_whitelist.txt | 1 -
3 files
27;ve currently worked-around the problem by adding a memset() to zero
of the global_data at the beginning of board_init_f(), but I'd prefer
to find an upstreamable fix.
Thanks!
Thomas Petazzoni
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-ele
Hello,
On Thu, 3 Aug 2017 08:20:20 +0900, Nobuhiro Iwamatsu wrote:
> Hi,
>
> 2017-07-29 6:46 GMT+09:00 Thomas Petazzoni
> :
> > The linker script for SuperH brings the .ppcenv and .ppcenvr section
> > of common/env_embedded.o into the .text section. However, the .ppcenv
do_switch_ecc() calls fsmc_nand_switch_ecc(), which is a direct
function call into drivers/mtd/nand/fsmc_nand.c. However, this
function is not guarded by CONFIG_NAND_FSMC, which results to a build
failure if CONFIG_NAND_FSMC is disabled.
Signed-off-by: Thomas Petazzoni
---
arch/arm/cpu
oves it to
arch/arm/cpu/arm926ejs/spear/, with the rest of the SPEAr related
code.
Signed-off-by: Thomas Petazzoni
---
arch/arm/cpu/arm926ejs/spear/Makefile | 2 ++
.../arm/cpu/arm926ejs/spear}/spr_lowlevel_init.S | 0
.../common => arch/arm/cpu/arm926ejs/spea
Signed-off-by: Thomas Petazzoni
---
common/env_embedded.c | 10 --
include/env_default.h | 2 +-
2 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/common/env_embedded.c b/common/env_embedded.c
index 4532589..43694db 100644
--- a/common/env_embedded.c
+++ b/common/env_
cases:
- We're building the host tool tools/envcrc, in which case the
environment is place with no special section attribute (so it
depends up in .data)
- We're building U-Boot itself, in which case the environnement is
placed in the .text section.
Signed-off-by: Thomas
sections from
common/env_embedded.o into the .text section.
Signed-off-by: Thomas Petazzoni
---
arch/sh/cpu/u-boot.lds | 4
1 file changed, 4 deletions(-)
diff --git a/arch/sh/cpu/u-boot.lds b/arch/sh/cpu/u-boot.lds
index f185b4d..2f2bdb5 100644
--- a/arch/sh/cpu/u-boot.lds
+++ b/arch/sh/cpu
hanks,
Thomas
Thomas Petazzoni (3):
arch/sh: don't bring common/env_embedded.o into the link
common/env_embedded.c: drop support for CONFIG_SYS_USE_PPCENV
common/env_embedded.c: rename PPCENV/PPCTEXT macros
arch/sh/cpu/u-boot.lds | 4
common/env_embedded.c | 23 +++---
-Boot for SuperH in big
endian mode. To allow this, the only change needed is to adjust the
OUTPUT_FORMAT() in the linker script.
Signed-off-by: Thomas Petazzoni
---
arch/sh/cpu/u-boot.lds | 5 +
1 file changed, 5 insertions(+)
diff --git a/arch/sh/cpu/u-boot.lds b/arch/sh/cpu/u-boot.lds
index
ins there if I can't get something else spun up in
> a chroot soon :)
Gcc 7.x toolchains are high on the priority list for
toolchains.free-electrons.com :)
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
those braces
before submitting the patches to the kernel, so they are not here in
the code merged upstream:
https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git/tree/drivers/net/ethernet/marvell/mvpp2.c#n1219
Stefan: I think you used the latest branch I pushed on Github, but I
O_ACTIVE_HIGH>;
};
So it seems weird to encode it in the defconfig if the information is
already available in the Device Tree.
In addition, the option names are very generic: CONFIG_SATAPWR,
CONFIG_MACPWR, even though they are completely sunxi specific. So if
those options really nee
; not possible to disable FIT in the Buildroot package. My patch aims
> to fix that defect.
Ah, indeed, I forgot that the CONFIG_FIT option already existed. In
this case, I agree that it should either exist and work, or not exist.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux
rt in the U-Boot, but
only ensures that the relevant runtime dependencies (i.e DTC) are
enabled.
Of course, if the U-Boot developers want to make FIT support in the
bootloader itself an optional feature, why not, but it's clearly not a
requirement from our side.
Best regards,
Thomas
ld put before common header */
"should put" ?
> +#define CONFIG_SYS_NO_FLASH
> +
> +#ifdef CONFIG_SYS_TEXT_BASE
> +#undef CONFIG_SYS_TEXT_BASE
> +#endif
Why here? Nothing has been included so far, I guess this is going to be
defined by the next line, no?
> +#include &
the previous behavior of hardcoding -lssl
-lcrypto if pkg-config is not available or fails with an error.
Signed-off-by: Thomas Petazzoni
---
Changes since v1:
- Use both libssl and libcrypto when calling pkg-config, because some
symbols of libcrypto are used directly by u-boot. This wasn
the previous behavior of hardcoding -lssl
-lcrypto if pkg-config is not available or fails with an error.
Signed-off-by: Thomas Petazzoni
---
tools/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tools/Makefile b/tools/Makefile
index 4bbb153..e1bcd59 100644
--- a
coherency. But are you actually using HW I/O coherency in U-Boot
for Armada XP ?
It would probably be simpler to not use HW I/O coherency at all in
U-Boot, be it for AXP or A38x.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
ht
ounced during
the final speech of Tim Bird at ELC 2015, but I don't remember the exact
dates.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
___
U-Boot mailing
case, we exit the tool, so the
memcpy() is never reached. Maybe gcc doesn't realize we're getting out
of the function in the default case.
But oh well, if it fixes a warning :-)
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
rk fine if stripping doesn't work,
as it leaves the final binary untouched.
Signed-off-by: Thomas Petazzoni
Cc: Masahiro Yamada
Cc: Sonic Zhang
---
An improved solution would be to be able to override STRIP completely
by setting it to /bin/true, but the main Makefile enforces STRIP =
$(CROS
stop bit is sent before
> actual data transmission takes place.
>
> Therefore, remove all writes that zero the cnt register.
>
> Cc: Heiko Schocher
> Cc: Thomas Petazzoni
> Cc: Tom Rini
> Cc: Lubomir Popov
> Cc: Enric Balletbo Serra
> Signed-off-by: Nikita K
Since I've absolutely no idea of the background for the problem, would
you mind submitting a proper patch with a good explanation? I will be
happy to test it, of course.
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-elect
Check if pads/pull-ups of bus 0 are properly configured
i2c_read: error waiting for addr ACK (status=0x0)
TWL4030:USB:Read[0xfd] Error 1
[... more of the same stuff indefinitely ...]
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
htt
.org/patch/294593/
Thanks for this patch. Unfortunately, I've applied it, and it doesn't
fix the problem for me. I still have those I2C issues (did 3 boots of
the IGEP boards, two of the boot failed with an endless stream of
"i2c_read (addr phase): pads on bus 0 probably not confi
Dear Enric Balletbo Serra,
On Wed, 27 Nov 2013 14:56:15 +0100, Enric Balletbo Serra wrote:
> 2013/11/27 Thomas Petazzoni :
> > Hello,
> >
> > We've recently updated from u-boot 2013.04 to u-boot 2013.10 on our
> > IGEP boards (OMAP3 based, U-Boot shows "OM
s out that reverting this commit actually
fixes the problem. No more error messages, no more hang at boot. The
commit message says that it was tested on OMAP4, OMAP5 and AM335x, but
apparently OMAP3 isn't working all that well with this commit.
Best regard
with
'fastboot', which is the Android-specific protocol to flash a system
through USB (see
http://en.wikipedia.org/wiki/Android_software_development#Fastboot).
Besides this minor comment, I'm looking forward for the notes of this
discussion on this very interesting topic.
Best
send a series of
magic bytes to the UART. This is what kwboot does before sending the
binary using the Xmodem protocol.
Best regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
ht
NetgearDUOV3-V1008
On Marvell hardware, you can send a different U-Boot using the serial
port, even if the on-flash U-Boot is broken. Have a look at
tools/kwboot.c in the mainline U-Boot sources. It uses the serial port
to send using the Xmodem protocol, a new U-Boot payload to the Kirkwood
SoC.
ename, in
order to make it clear that Freescale SPL cannot be used in the same
way as the TI SPL. Naming it MLO will certainly confuse users having
previous experience with TI stuff: it will lead them to believe that
creating a FAT filesystem and putting the MLO file in it will be the
necessary s
pinctrl-0 = <&pinctrl_some_config_name>;
And then in the imx6q.dtsi, the pinctrl_some_config_name pinctrl
configuration needs to be defined.
But I guess this starts to be a bit off-topic for the U-Boot list. What
about raising the issue with i.MX 6 kernel maintainers on LAKML instead?
B
ng set the right pinmux configuration.
Best regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
MCFG_165(512 << 20);
> + *ctrla = MICRON_V_ACTIMA_165;
> + *ctrlb = MICRON_V_ACTIMB_165;
> + *rfr_ctrl = SDP_3430_SDRC_RFR_CTRL_165MHz;
I thought the NAND version of the IGEPv2 was capable of using the 200
Mhz timings. At least, from the limited testing I had done, it seemed
to work.
architecture, and
has its own instruction set.
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
___
U-Boot mailing list
U-Boot@lists.
lexibility than Yocto.
Best regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
even have support for a few first stage bootloaders: at the moment
AT91Bootstrap, first stage for LPC32xx, X-Loader, and we are interested
in adding more when needed.
Regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, tra
> + if (filesize + 1 > envsize) {
> + fprintf(stderr, "The input file is larger than the environment
> partition size\n");
> +>>>>>>> mkenvimage: correct and clarify comments and error messages
Seems like your forgot to resolve some
nal tool
>
> Signed-off-by: David Wagner
> Acked-by: Mike Frysinger
> Tested-by: Thomas Petazzoni
Unless there are further comments, would it be possible to get this
merged for the upcoming U-Boot, or is the merge window already closed?
Thanks!
Thomas
--
Thomas Petazzoni, Free
Hello,
Le Fri, 2 Sep 2011 10:48:03 +0200,
David Wagner a écrit :
> +"-s -o \n"
^^ typo
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-
= fopen(bin_filename, "w");
> + if (fwrite(dataptr, 1, datasize, bin_file) != datasize)
> + fprintf(stderr, "fwrite() failed: %s\n", strerror(errno));
Missing exit with error here.
> + ret = fclose(bin_file);
> +
> +out:
> + if (txt_filename)
> + free(txt_filename);
> + if (bin_filename)
> + free(bin_filename);
> + return ret;
No need to do useless clean up.
Regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
0G45-EK, and this will require a small modification in
AT91Bootstrap.
It is a bit amazing to see that the size of U-Boot has increased from
154912 bytes in version 1.3.4 to 233252 bytes in the current Git (and
the latter has no support for Dataflash, while the former does).
Regards,
Thomas
--
T
n this platform.
Unfortunately, even with this fix in place, U-Boot still doesn't show
any sign of life on this platform...
Regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-el
Based on earlier work by Alex Waterman .
Signed-off-by: Thomas Petazzoni
---
MAKEALL |1 -
Makefile| 21 ---
board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c | 115 --
board/atmel/at91sam9m10g45ek
f, then the
"U-Boot 2011.06- (Aug 04 2011 ...)" message isn't displayed on the
debug serial port.
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
us issues you mentioned.
Best regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
___
U-Boot mailing list
U-Boot@lists.den
Based on earlier work by Alex Waterman .
Signed-off-by: Thomas Petazzoni
---
Makefile| 21 ---
board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c | 114 +++--
board/atmel/at91sam9m10g45ek/led.c |6 +-
boards.cfg
Based on earlier work by Alex Waterman .
Signed-off-by: Thomas Petazzoni
---
.../cpu/arm926ejs/at91/at91sam9m10g45_devices.c| 114 ++--
arch/arm/include/asm/arch-at91/at91sam9g45.h | 12 ++
.../arm/include/asm/arch-at91/at91sam9g45_matrix.h | 194 +++-
3
since v1:
- Fixed multiple style issues
- Fixed the DBGU support
- Support pull-ups as done for at91sam9260
Best regards,
Thomas Petazzoni
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electron
1 - 100 of 132 matches
Mail list logo