how to efficiently add a vendor zynqmp board stealing from xilinx/ dir?

2019-12-27 Thread Robert P. J. Day
short form: is there an efficient way to add a new vendor and new zynqmp-based board to the u-boot infrastructure without creating a whole new vendor directory that (mostly) duplicates what is already under board/xilinx/? as i read it, if i configure u-boot for, say, a xilinx zynqmp-based

[PATCH] [ARM] arch/arm/Kconfig: typo/grammar/punctuation fixes

2019-12-25 Thread Robert P. J. Day
Various (mostly minor) spelling, grammar and punctuation tweaks for arch/arm/Kconfig. Signed-off-by: Robert P. J. Day --- diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index f9dab073ea..36c9c2fecd 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -17,7 +17,7 @@ config

proper way to build [html]docs these days?

2019-12-25 Thread Robert P. J. Day
just tried to build docs on a fully-updated fedora 31 system, and got: $ make htmldocs SPHINX htmldocs --> file:///home/rpjday/uboot/git/doc/output make[2]: Nothing to be done for 'html'. Running Sphinx v2.1.2 Extension error: Could not import extension kerneldoc (exception: cannot import

xilinx_zynqmp.h: erroneous(?) "#define CONFIG_PANIC_HANG"

2019-12-17 Thread Robert P. J. Day
long story short, colleague came to me with a petalinux project wherein the compile of u-boot was failing due to a redefinition of the macro "CONFIG_PANIC_HANG" ... rather than mess with petalinux, i just set up the current master of u-boot (aarch64), used the same configuration and, sure

Re: want to confirm that include/configs/xilinx_zynqmp*.h files seem unused

2019-12-13 Thread Robert P. J. Day
On Fri, 13 Dec 2019, Michal Simek wrote: > On 13. 12. 19 15:05, Robert P. J. Day wrote: > > > > been a while since i wandered through the innards of u-boot so it's > > possible this is a silly question. > > > > was just placed on a project that involve

want to confirm that include/configs/xilinx_zynqmp*.h files seem unused

2019-12-13 Thread Robert P. J. Day
ere? rday -- ======== Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday

Re: [U-Boot] CONFIG_OPTEE

2019-08-21 Thread Robert P. J. Day
On Tue, 20 Aug 2019, Stephen Segal wrote: > Hi all, > > I'm not sure if this has been noticed or handled already, but it appears > there are two separate config options named CONFIG_OPTEE. > > In drivers/tee/optee/Kconfig: > > config OPTEE > bool "OP-TEE" > depends on ARM_SMCCC >

Re: [U-Boot] Difference between _defconfig and _config make switches

2019-06-24 Thread Robert P. J. Day
rd compatibility) %_config: %_defconfig @: -- ================ Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday Linke

[U-Boot] [PATCH] cmd/fpga.c: correct typo, capitalize "Xilinx"

2019-05-28 Thread Robert P. J. Day
A couple minor tweaks to printed strings in cmd/fpga.c. Signed-off-by: Robert P. J. Day --- diff --git a/cmd/fpga.c b/cmd/fpga.c index b1f224bc6a..62453f0a8f 100644 --- a/cmd/fpga.c +++ b/cmd/fpga.c @@ -458,7 +458,7 @@ U_BOOT_CMD(fpga, 6, 1, do_fpga_wrapper, "0-device key, 1

[U-Boot] is "autoconfig.mk" simply a misspelling of "autoconf.mk"?

2019-04-28 Thread Robert P. J. Day
was going over README.kconfig and noticed these references: $ grep -r autoconfig.mk * doc/README.kconfig: - spl/include/autoconfig.mk(generated by the old config for SPL) doc/README.kconfig: - tpl/include/autoconfig.mk(generated by the old config for TPL)

[U-Boot] should all include/configs/*.h headers be included via SYS_CONFIG_NAME?

2019-04-23 Thread Robert P. J. Day
ault "ecovec" which suggests that header file would have been included anyway. thoughts? rday -- ================ Robert P. J. Day Ottawa, Ontario, CANADA

Re: [U-Boot] relationship between "ARM_DCC" and "DEBUG_UART_ARM_DCC"?

2019-04-23 Thread Robert P. J. Day
On Tue, 23 Apr 2019, Michal Simek wrote: > On 19. 04. 19 13:27, Robert P. J. Day wrote: > > > > just noticed the oddness regarding those two Kbuild symbols: > > > > $ git grep ARM_DCC > > arch/x86/include/asm/acpi_table.h:#define ACPI_

Re: [U-Boot] [OT] trying to boot zedboard just to u-boot, having no luck

2019-04-23 Thread Robert P. J. Day
On Tue, 23 Apr 2019, Michal Simek wrote: > On 20. 04. 19 12:44, Robert P. J. Day wrote: > > > > i've asked on the meta-xilinx mailing list, and rummaged around the > > net, and have failed to do something that should be straightforward -- > > i want to simply boot an

[U-Boot] [OT] trying to boot zedboard just to u-boot, having no luck

2019-04-20 Thread Robert P. J. Day
be eternally grateful, because i'm running out of ideas. rday -- Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter

[U-Boot] relationship between "ARM_DCC" and "DEBUG_UART_ARM_DCC"?

2019-04-19 Thread Robert P. J. Day
-- Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday

[U-Boot] "optee" Kbuild seems to have weird dependencies

2019-04-18 Thread Robert P. J. Day
going over the u-boot.cfg generated from zynq_zed_defconfig, and noticed the following: #define CONFIG_OPTEE_TZDRAM_BASE 0x #define CONFIG_OPTEE_TZDRAM_SIZE 0x000 i thought that was strange as CONFIG_OPTEE was not selected, so i checked, and here's the relevant snippet from

[U-Boot] [PATCH] Zynq: delete long-dead CONFIG_USB_CABLE_CHECK

2019-04-18 Thread Robert P. J. Day
This Kbuild option disappeared way back in 2014: commit 75504e9592745021006cb8905b5ff5a51d9d1cb3 Author: Mateusz Zalega Date: Wed Apr 30 13:07:48 2014 +0200 ... snip ... CONFIG_USB_CABLE_CHECK was removed. Signed-off-by: Robert P. J. Day --- diff --git a/include/configs

[U-Boot] [PATCH] doc: delete long-obsolete README.ARM-memory-map

2019-04-18 Thread Robert P. J. Day
pose in -different parts of the (ARM) code. -Furthermore, the startup code (cpu//start.S) internally uses -another variable (_TEXT_BASE) with the same content as _armboot_start. -I agree that this mess should be cleaned up. -- ===============

[U-Boot] [PATCH] MSCC: delete obsolete reference to MSCC_BITBANG_SPI_GPIO

2019-04-17 Thread Robert P. J. Day
bool "Luton SOC Family" select SOC_VCOREIII - select MSCC_BITBANG_SPI_GPIO help This supports MSCC Luton family of SOCs. -- ================ Robert P. J. Day Ott

[U-Boot] getting rid of clearly(?) obsolete doc/README* files?

2019-04-14 Thread Robert P. J. Day
that seem way out of date. rday -- ======== Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.

Re: [U-Boot] [PATCH] drivers/usb/host/Kconfig: Drop CONFIG_ prefix from select

2019-04-14 Thread Robert P. J. Day
On Sun, 14 Apr 2019, Marek Vasut wrote: > On 4/14/19 12:51 PM, Robert P. J. Day wrote: > > On Sun, 14 Apr 2019, Marek Vasut wrote: > > > >> On 4/14/19 12:06 PM, Robert P. J. Day wrote: > >>> > >>> Kbuild "select" directives should not inc

Re: [U-Boot] [PATCH] drivers/usb/host/Kconfig: Drop CONFIG_ prefix from select

2019-04-14 Thread Robert P. J. Day
On Sun, 14 Apr 2019, Marek Vasut wrote: > On 4/14/19 12:06 PM, Robert P. J. Day wrote: > > > > Kbuild "select" directives should not include "CONFIG_" prefix. > > > > Signed-off-by: Robert P. J. Day > > The patch is correct, but does it

Re: [U-Boot] very short list of "badref selects" in u-boot source

2019-04-14 Thread Robert P. J. Day
On Fri, 12 Apr 2019, Robert P. J. Day wrote: > rather than go to the trouble of whipping up a wiki page, i can > present this in a short post to the list. here's the list of what my > script identified as "badref selects" -- those identifiers for which > there is a Kc

[U-Boot] [PATCH] delete Kbuild "select" of long-dead SPL_DISABLE_OF_CONTROL

2019-04-14 Thread Robert P. J. Day
endchoice -- ======== Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn:

[U-Boot] [PATCH] drivers/usb/host/Kconfig: Drop CONFIG_ prefix from select

2019-04-14 Thread Robert P. J. Day
Kbuild "select" directives should not include "CONFIG_" prefix. Signed-off-by: Robert P. J. Day --- diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig index ba1e6bfa43..96474f4e3b 100644 --- a/drivers/usb/host/Kconfig +++ b/drivers/usb/host/Kconfig @@ -20

[U-Boot] listing apparently "bad" Kconfig options in Makefiles

2019-04-13 Thread Robert P. J. Day
base amuses them. thanks for your patience. rday -- ================ Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn:

Re: [U-Boot] [PATCH 0/4] Remove select CRC32 and CONFIG_CRC32

2019-04-13 Thread Robert P. J. Day
nd* stuff like that, but i'm nowhere confident that i'd know how to resolve it once it's found. one last cleanup post coming shortly ... rday -- ==== Robert P. J. Day Ottawa, Ontari

[U-Boot] very short list of "badref selects" in u-boot source

2019-04-12 Thread Robert P. J. Day
support */ in any event, others are welcome to decide what to do about that short list of suspicious "select" directives. i am not trying to be annoying, i am merely succeeding. rday -- Robert

Re: [U-Boot] doing anything about "bad" Kbuild configuration options?

2019-04-12 Thread Robert P. J. Day
On Sat, 13 Apr 2019, Chris Packham wrote: > > On Sat, 13 Apr 2019, 4:56 AM Robert P. J. Day, wrote: >   one of the worst culprits appears to be CONFIG_SPL_BUILD, which > appears all over the tree, but one can see a recent commit that takes > that into accoun

[U-Boot] [PATCH] watchdog: fix typo "CONFIG_MPC8XX_WATCHDOG" -> "MPC8XX_WATCHDOG"

2019-04-12 Thread Robert P. J. Day
Kbuild "select" directive should not use "CONFIG_" prefix. Signed-off-by: Robert P. J. Day --- diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig index 34e78beb2a..a89cc6edec 100644 --- a/drivers/watchdog/Kconfig +++ b/drivers/watchdog/Kconfig @@ -14

Re: [U-Boot] doing anything about "bad" Kbuild configuration options?

2019-04-12 Thread Robert P. J. Day
> DM644X_GPIO ./drivers/gpio/Makefile:obj-$(CONFIG_DM644X_GPIO) += da8xx_gpio.o $ if anyone's interested, i can post those scripts on a couple more wiki pages this weekend, with an example or two. and on that note, i will shut up about this now. rday --

[U-Boot] doing anything about "bad" Kbuild configuration options?

2019-04-12 Thread Robert P. J. Day
which they are a maintainer, and see if any such things exist. and as forrest gump once said, "that's all i have to say about that." rday -- Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.

[U-Boot] in drivers/mtd/nand/spi/core.c, what means "#ifdef CONFIG_OF"?

2019-04-12 Thread Robert P. J. Day
ist. rday -- ======== Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com

Re: [U-Boot] why does "board_init_r()" accept a second arg of "ulong dest_addr"?

2019-04-12 Thread Robert P. J. Day
On Fri, 12 Apr 2019, Robert P. J. Day wrote: > On Fri, 12 Apr 2019, Simon Glass wrote: > > > Hi Robert, > > > > On Fri, 12 Apr 2019 at 06:31, Robert P. J. Day > > wrote: > > > > > > > > > was tracing the ARM-based boo

Re: [U-Boot] why does "board_init_r()" accept a second arg of "ulong dest_addr"?

2019-04-12 Thread Robert P. J. Day
On Fri, 12 Apr 2019, Simon Glass wrote: > Hi Robert, > > On Fri, 12 Apr 2019 at 06:31, Robert P. J. Day wrote: > > > > > > was tracing the ARM-based boot sequence and ended up at the call to > > board_init_r(): > > > > vo

[U-Boot] why does "board_init_r()" accept a second arg of "ulong dest_addr"?

2019-04-12 Thread Robert P. J. Day
ard_init_r()? rday -- ======== Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjda

Re: [U-Boot] how many (few?) supported boards don't specify SYS_VENDOR?

2019-04-10 Thread Robert P. J. Day
On Wed, 10 Apr 2019, Andy Pont wrote: > Robert wrote... > > > i'd never thought about it so, as a quick check, i just tried this > >to see how many board files actually lived directly under > >board// and got: > > > > $ ls board/*/board.c > > board/sunxi/board.c > > $ > > > >i thought

[U-Boot] how many (few?) supported boards don't specify SYS_VENDOR?

2019-04-10 Thread Robert P. J. Day
is there any need to support vendorless boards? or perhaps i am just misreading what i'm looking at. it's just a curiosity i had no answer for when asked about. rday -- ================ Robert P. J. Day

Re: [U-Boot] content in a defconfig file versus in a header file -- clarification?

2019-04-10 Thread Robert P. J. Day
On Wed, 10 Apr 2019, Michal Simek wrote: > On 09. 04. 19 13:00, Robert P. J. Day wrote: > > > > i'm rewriting a bunch of u-boot tutorial pages (publicly available > > if anyone wants to read them), > > Would be easier to put link here that others can take a look

[U-Boot] "best practice" for including common header file content?

2019-04-09 Thread Robert P. J. Day
more excruciatingly pedantic queries ... what is the best practice for header files under include/configs including common header files also in that same directory. i give you: $ git grep zynq-common.h bitmain_antminer_s9.h:#include syzygy_hub.h: * See zynq-common.h for Zynq common configs

[U-Boot] content in a defconfig file versus in a header file -- clarification?

2019-04-09 Thread Robert P. J. Day
i'm rewriting a bunch of u-boot tutorial pages (publicly available if anyone wants to read them), and i want to clarify the proper location to put configuration content -- a defconfig file versus a header file -- knowing that the trend lately has been to move content into defconfig files where

[U-Boot] should "make distclean" remove "tools/env/embedded.c"?

2019-04-08 Thread Robert P. J. Day
e: embedded.c fw_printenv fw_printenv_unstripped it is obviously not removed by "make distclean". is this deliberate? rday -- ================ Robert P. J. Day Ottawa, Ontario, CANADA

Re: [U-Boot] why is there no ".u-boot.map.cmd" generated?

2019-04-08 Thread Robert P. J. Day
On Mon, 8 Apr 2019, Chris Packham wrote: > Hi Robert, > > On Mon, Apr 8, 2019 at 4:51 AM Robert P. J. Day wrote: > > > > > > short followup to earlier question ... i was going to check the file > > .u-boot.map.cmd to see which command was used to generate

Re: [U-Boot] using objdump/readelf/nm to dump symbols by individual source file?

2019-04-08 Thread Robert P. J. Day
On Mon, 8 Apr 2019, Chris Packham wrote: > On Mon, Apr 8, 2019 at 7:45 PM Chris Packham wrote: > > > > On Mon, Apr 8, 2019 at 4:29 AM Robert P. J. Day > > wrote: > > > > > > > > > i'm doing this in the context of building for ARM with a linaro

Re: [U-Boot] why is there no ".u-boot.map.cmd" generated?

2019-04-08 Thread Robert P. J. Day
On Mon, 8 Apr 2019, Chris Packham wrote: > Hi Robert, > > On Mon, Apr 8, 2019 at 4:51 AM Robert P. J. Day wrote: > > > > > > short followup to earlier question ... i was going to check the file > > .u-boot.map.cmd to see which command was used to generate

[U-Boot] why is there no ".u-boot.map.cmd" generated?

2019-04-07 Thread Robert P. J. Day
short followup to earlier question ... i was going to check the file .u-boot.map.cmd to see which command was used to generate it but, unlike numerous other files of that form, that file has no associated .cmd file. any reason for that? rday ___

[U-Boot] using objdump/readelf/nm to dump symbols by individual source file?

2019-04-07 Thread Robert P. J. Day
i'm doing this in the context of building for ARM with a linaro toolchain, but i'm sure it's equally valid in the context of a native build. i'm trying to generate the same output as u-boot.map, but more condensed and with each symbol associated with its original source file (if that's even

[U-Boot] has anyone documented the entire "make ..._defconfig" process?

2019-04-07 Thread Robert P. J. Day
and so on to come up with the final .config. if someone already did that once upon a time, that'd be great, but i'm going to guess i'm on my own here. thoughts? rday -- Robert P. J. Day Ottawa

[U-Boot] [PATCH] Makefile: have "make distclean" remove CHANGELOG

2019-01-18 Thread Robert P. J. Day
Ensure that "make distclean" deletes an existing CHANGELOG file. Signed-off-by: Robert P. J. Day --- diff --git a/Makefile b/Makefile index 3be9fc5c34..b9e8b0952c 100644 --- a/Makefile +++ b/Makefile @@ -1795,7 +1795,7 @@ distclean: mrproper -o -name '.*.rej' -o -na

[U-Boot] should "BUILD_DIR" say "KBUILD_OUTPUT" in manual?

2019-01-18 Thread Robert P. J. Day
it's correct. rday -- ================ Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca/dokuwiki Twitter: http://twitter.com/rpjday LinkedIn: http://ca.li

[U-Boot] common/board_f.c: init_sequence_f_r used for which arches?

2019-01-08 Thread Robert P. J. Day
is implemented. */ so should the comment be changed to refer to both x86 and arc, or is there a long-term plan for all archs, or what? rday -- Robert P. J. Day Ottawa, Ontario, CANADA

Re: [U-Boot] policy regarding unused code

2018-12-11 Thread Robert P. J. Day
_LATTICE drivers/fpga/Makefile:13:obj-$(CONFIG_FPGA_LATTICE) += ivm_core.o lattice.o drivers/fpga/fpga.c:103:#if defined(CONFIG_FPGA_LATTICE) drivers/fpga/fpga.c:276:#if defined(CONFIG_FPGA_LATTICE) drivers/fpga/fpga.c:318:#if defined(CONFIG_FPGA_LATTICE) which is clearly being tested, while never being

Re: [U-Boot] so u-boot can be configured to try to update itself on every boot?

2017-03-29 Thread Robert P. J. Day
g clever things." - Doug Gwyn yup, i eventually found that README.update file, this behaviour is just fine for what i'm doing, thanks. rday -- Robert P. J. Day

[U-Boot] is the sandbox FIT image demo broken?

2017-03-29 Thread Robert P. J. Day
mp7Cs2dr/loadables2-out.bin 11ef reset ': $ i could have sworn that, once upon a time, there was more output than this. am i misremembering? is this what i should expect? rday -- ================ Robert P. J. Day

[U-Boot] confusing error message in common/update.c

2017-03-29 Thread Robert P. J. Day
error message saying that what seems to be true is exactly what is "needed." am i just misreading that? rday -- ================ Robert P. J. Day Ottawa, Ontario, CANADA

[U-Boot] so u-boot can be configured to try to update itself on every boot?

2017-03-29 Thread Robert P. J. Day
iced that before. rday -- ================ Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http://ca

[U-Boot] should u-boot have FIT support even without selecting CONFIG_FIT?

2017-03-28 Thread Robert P. J. Day
to those hostprogs, regardless of whether FIT support is selected? can someone clarify this? rday -- ================ Robert P. J. Day Ottawa, Ontario, CANADA

Re: [U-Boot] building cross_tools, _POSIX_C_SOURCE and _XOPEN_SOURCE are redefined

2017-03-28 Thread Robert P. J. Day
On Fri, 17 Mar 2017, Tom Rini wrote: > On Wed, Mar 15, 2017 at 04:02:20AM -0400, Robert P. J. Day wrote: > > > > to build cross_tools, i ran: > > > > $ make sandbox_defconfig > > $ make cross_tools > > > > and while it appeared to work, i got: &

[U-Boot] testing sandbox FIT image: "Expected '%s' but not found in output:"

2017-03-28 Thread Robert P. J. Day
e 395, in run_fit_test line = find_matching(stdout, 'Booting using the FDT blob at ') File "./test/image/test-fit.py", line 286, in find_matching raise ValueError('Test aborted') ValueError: Test aborted rday --

[U-Boot] under tools/, need couple more cleanings and .gitignore entries

2017-03-15 Thread Robert P. J. Day
someone higher up the food chain. rday -- ================ Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn:

[U-Boot] building cross_tools, _POSIX_C_SOURCE and _XOPEN_SOURCE are redefined

2017-03-15 Thread Robert P. J. Day
env.h:12, from :0: /usr/include/features.h:166:0: note: this is the location of the previous definition # define _XOPEN_SOURCE 700 ^ not sure if that concerns anyone enough to want to tweak it. rday -- =============

[U-Boot] [PATCH] test-fit.py: Minor grammar/spelling/clarification tweaks

2017-03-13 Thread Robert P. J. Day
* Add note that execution needs Python development package installed * Standardize on upper case "FIT", "FDT" as necessary for clarity * Fix "tempoerary", "linex" typos Signed-off-by: Robert P. J. Day <rpj...@crashcourse.ca> --- diff --git a/t

[U-Boot] [PATCH] .gitignore: Ignore the generated top-level "sandbox/" directory

2017-03-12 Thread Robert P. J. Day
Signed-off-by: Robert P. J. Day <rpj...@crashcourse.ca> --- am i safe in assuming that the top-level sandbox/ directory only ever exists as the result of a build? diff --git a/.gitignore b/.gitignore index 7fac5b3..32a8d5b 100644 --- a/.gitignore +++ b/.gitignore @@ -48,6 +48,7 @@

[U-Boot] [PATCH] GPIO: Correct doc typo "confguration" -> "configuration"

2017-02-06 Thread Robert P. J. Day
Signed-off-by: Robert P. J. Day <rpj...@crashcourse.ca> --- Since it's just inline doc, should have no runtime effects. diff --git a/drivers/gpio/db8500_gpio.c b/drivers/gpio/db8500_gpio.c index db32db6..eefb56d 100644 --- a/drivers/gpio/db8500_gpio.c +++ b/drivers/gpio/db8500_

[U-Boot] where is (eg) "BOOT_TARGET_DEVICES_references_MMC_without_CONFIG_CMD_MMC" defined?

2017-02-06 Thread Robert P. J. Day
e resolved to the corresponding error message? what am i missing here? rday -- ======== Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.c

[U-Boot] [PATCH] drivers/video/cfb_console.c: Correct "COFNIG_NDS32" typo.

2017-02-03 Thread Robert P. J. Day
Signed-off-by: Robert P. J. Day <rpj...@crashcourse.ca> --- diff --git a/drivers/video/cfb_console.c b/drivers/video/cfb_console.c index a4cbc44..3c0696e 100644 --- a/drivers/video/cfb_console.c +++ b/drivers/video/cfb_console.c @@ -1968,7 +1968,7 @@ static void *video_logo(void) stat

Re: [U-Boot] scripts to sanity-check the Kconfig files

2017-01-12 Thread Robert P. J. Day
/index.php/U-Boot_Kconfig_cleanup rday -- ================ Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter:

[U-Boot] final u-boot cleanup -- Makefiles testing non-existent CONFIG vars

2017-01-04 Thread Robert P. J. Day
INLINE \ anyway, that's it for today ... feel free to peruse that new list to see what parts of Makefiles seem to not be compiled. rday -- ============ Robert P. J. Day Ott

[U-Boot] Kconfig cleanup -- identifying CONFIG variables not defined in any Kconfig file

2017-01-04 Thread Robert P. J. Day
i.h:#ifdef CONFIG_MTD_UBI_BLOCK include/ubi_uboot.h:#undef CONFIG_MTD_UBI_BLOCK scripts/config_whitelist.txt:CONFIG_MTD_UBI_BLOCK $ anyway, there's plenty of that sort of thing scattered through the code base. rday -- ======== Robert

Re: [U-Boot] scripts to sanity-check the Kconfig files

2017-01-04 Thread Robert P. J. Day
ffering to fix all this stuff. :-) rday -- ================ Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday Link

Re: [U-Boot] scripts to sanity-check the Kconfig files

2017-01-04 Thread Robert P. J. Day
econd script that identified the opposite -- Kconfig variables that *are* being tested but do not seem to be defined in any Kconfig file, normally a more serious issue. -- ================ Robert P. J. Day Ottawa,

[U-Boot] scripts to sanity-check the Kconfig files

2017-01-04 Thread Robert P. J. Day
.id = UCLASS_MOD_EXP, include/dm/uclass-id.h: UCLASS_MOD_EXP, /* RSA Mod Exp device */ lib/rsa/rsa-verify.c: ret = uclass_get_device(UCLASS_MOD_EXP, 0, _exp_dev); $ there appears to be quite a lot of stuff like this. rday -- =

[U-Boot] a couple questions about "CONFIG_*" variables and the whitelist

2017-01-04 Thread Robert P. J. Day
have used that name for that variable, since it gives the impression of being part of the Kbuild structure. i'm not suggesting changing any of that (or maybe i am :-), it just seems silly that using that name causes that variable to end up in the whitelist file for no obvious reason. rday -- ==

[U-Boot] are DM/SPL dependencies in drivers/core/Kconfig correct?

2017-01-03 Thread Robert P. J. Day
rely correct, it just looks a bit weird. in any event, that Kconfig file could still be refactored to avoid new entries popping up in arbitrary places depending on what you select or deselect. thoughts? rday -- ================ Rober

[U-Boot] question about boot timing -- should it all depend on BOOTSTAGE?

2017-01-02 Thread Robert P. J. Day
GE to be selected first? rday -- ================ Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: ht

[U-Boot] [PATCH] Kconfig: Refactoring of top-level Kconfig file

2017-01-02 Thread Robert P. J. Day
Some refactoring of the top-level Kconfig file which includes: * using "if" to remove numerous identical dependency tests * reordering config entries to group related ones * spelling and grammar fixes There should be no functional changes, only aesthetic ones. Signed-off-by: Robert

[U-Boot] why two "config FIT_VERBOSE" lines in top-level Kconfig?

2017-01-02 Thread Robert P. J. Day
le can see what i'm talking about. rday -- ================ Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn:

[U-Boot] some questions about u-boot's driver model

2017-01-02 Thread Robert P. J. Day
entire architecture * CPU * target board is there a recipe for how driver model is slowly added to u-boot, based on updating Kconfig files for the above? more questions coming as i keep reading ... rday -- R

[U-Boot] any remaining value to "board_flash_wp_on()" routine?

2016-12-31 Thread Robert P. J. Day
ly a single board overrides that routine? or is there something else here i'm overlooking? rday -- ================ Robert P. J. Day Ottawa, Ontario, CANADA htt

[U-Boot] any ongoing value to "CONFIG_SYS_FLASH_CHECKSUM" config variable?

2016-12-30 Thread Robert P. J. Day
ariable is set, a further test is made of the environment variable "flashchecksum." is there still value to this CONFIG variable given that only a half-dozen boards define it? am i overlooking something obvious? rday -- =============

[U-Boot] any value to "#if defined(CONFIG_OXC) || defined(CONFIG_RMU)" test in board_r.c?

2016-12-30 Thread Robert P. J. Day
erpc MPC8240309a292 2011-12-07 and i'm not sure anything needs that second test either, does it? can that entire first preprocessor test be deleted? or am i missing something? rday -- ============

[U-Boot] [PATCH v2] doc/README.cfi: Update code snippet, and add example.

2016-12-29 Thread Robert P. J. Day
First, update the code snippet referenced in the README file. And since there are only two boards that override flash_cmd_reset(), might as well show them both. Signed-off-by: Robert P. J. Day <rpj...@crashcourse.ca> --- figured since i was there, and there were only two boards in the

[U-Boot] [PATCH] digsy_mtc.c: Minor spelling/grammar fixes.

2016-12-29 Thread Robert P. J. Day
Signed-off-by: Robert P. J. Day <rpj...@crashcourse.ca> --- diff --git a/board/intercontrol/digsy_mtc/digsy_mtc.c b/board/intercontrol/digsy_mtc/digsy_mtc.c index 37eb6c7..05d673d 100644 --- a/board/intercontrol/digsy_mtc/digsy_mtc.c +++ b/board/intercontrol/digsy_mtc/digsy_mtc.c @@

[U-Boot] [PATCH] doc/README.cfi: Update code snippet for flash_cmd_reset()

2016-12-29 Thread Robert P. J. Day
Minor update in code snippet in the doc file to match source. Signed-off-by: Robert P. J. Day <rpj...@crashcourse.ca> --- diff --git a/doc/README.cfi b/doc/README.cfi index 81e7cf1..6b8be41 100644 --- a/doc/README.cfi +++ b/doc/README.cfi @@ -1,7 +1,7 @@ The common CFI driver pr

[U-Boot] curious snippet in drivers/mtd/dataflash.c

2016-12-28 Thread Robert P. J. Day
].Device.area_list[j].protected = protected; } is that not just setting the value to "protected" in both cases? what is the point of that conditional? rday -- ======== Robert P. J. Day

[U-Boot] i'm assuming comment "/* board/?/flash.c */" in flash.h is way obsolete

2016-12-28 Thread Robert P. J. Day
over that file, i can collect any other tweaks anyone else wants to suggest to make it worth it. any other content in that file that needs updating or removal? no rush. rday -- Robert P. J. Day

[U-Boot] *preferred* place in u-boot to tweak device tree?

2016-10-18 Thread Robert P. J. Day
ft_board_setup() to set the env variable: eth_setenv_enetaddr("ethaddr", ); is that what you'd call "best practice"? rday -- ================ Robert P. J. Day Ottawa, Ontario, CANADA

[U-Boot] inconsistent use of semi-colons when invoking macros

2016-10-12 Thread Robert P. J. Day
there a coding standard in cases where a macro invocation doesn't need a terminating semi-colon? rday -- Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter:

Re: [U-Boot] is there any issue with creating and using more than one hashtable?

2016-10-02 Thread Robert P. J. Day
} ... snip ... i'm going to assume other net-related commands have this behaviour as well, yes? like ping? which would explain why ping'ing even the alleged gateway didn't work in this context. rday -- =

Re: [U-Boot] is there any issue with creating and using more than one hashtable?

2016-10-02 Thread Robert P. J. Day
t; > e->callback = NULL; > > here? that would be one solution, yes. i assume i would, of course, set that callback before adding the entry to the hashtable; otherwise, wouldn't do much good. ok, i think we've settled this, thanks. rday -- ==

Re: [U-Boot] is there any issue with creating and using more than one hashtable?

2016-10-01 Thread Robert P. J. Day
quot;env_htab" hashtable? int add_entry_to_env(ENTRY* e) { ENTRY* ep; printf("Adding stuff k: [%s], d: [%s] to env.\n", e->key, e->data); hsearch_r(*e, ENTER, , _htab, 0); return 0; } if that's the way to do it, i'll just do

Re: [U-Boot] is there any issue with creating and using more than one hashtable?

2016-10-01 Thread Robert P. J. Day
onal hashtables; i just assumed, hey, it's just another data structure, it has some useful functionality, i'll just create another couple of them to save me some coding. i *did* try to verify that there was no shared data; things like making sure "strdup" was used to avoid sharing things lik

[U-Boot] is there any issue with creating and using more than one hashtable?

2016-09-30 Thread Robert P. J. Day
e hashtable can "bleed" into another one? i'm baffled. rday -- ================ Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter:

[U-Boot] "CONFIG_*" versus "CONFIG_SYS_*" variables in u-boot?

2016-09-29 Thread Robert P. J. Day
ot defined by the Kbuild system, is it somehow more acceptable because it begins with "CONFIG_SYS_"? i'm having trouble appreciating the distinction. rday -- ============ Robert P. J. Day

[U-Boot] couple questions on driver model for gpio, and gpio in sandbox

2016-09-23 Thread Robert P. J. Day
is (re)defining some GPIO-related flags ... is there some reason it doesn't just use the flag definitions from the earlier header file? or is that a silly question? rday -- ================ Robert P. J. Day

[U-Boot] long-term plans to get rid of include/configs/ directory?

2016-09-22 Thread Robert P. J. Day
-- Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday

[U-Boot] how to programatically add a second hash table to the environment?

2016-09-16 Thread Robert P. J. Day
forward enough, just want to confirm i'm not overlooking anything. rday -- ================ Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter:

Re: [U-Boot] recommended place to add some custom settings to u-boot environment?

2016-09-14 Thread Robert P. J. Day
e in a variable. in this case, no ... it's legacy info that will never, ever change at this point. rday -- Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter:

Re: [U-Boot] recommended place to add some custom settings to u-boot environment?

2016-09-14 Thread Robert P. J. Day
) explicitly takes a separator character, and i can guarantee the strings being "imported" have no embedded space characters in their values. so as long as that's the case, shouldn't himport_r() properly handle that given a separator of space? rday -- ==============

[U-Boot] does it make sense to define misc_init_r() not conditional on CONFIG_MISC_INIT_R?

2016-09-14 Thread Robert P. J. Day
called. i suspect there's a lot of that with other routines as well. or is there something else going on here more subtle that i don't understand? rday -- Robert P. J. Day Ottawa, Ontario

  1   2   3   4   5   >