From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] FDT retrived varaibles appear to have different properties fom other u-boot variables - and are corrupted on get, set, get sequence
Date: Thu, 17 Nov 2016 10:07:26 -0500 [thread overview]
Message-ID: <20161117150726.GA2546@bill-the-cat> (raw)
In-Reply-To: <1018758449.3321827.1479082103455@mail.yahoo.com>
On Mon, Nov 14, 2016 at 12:08:23AM +0000, dh at synoia.com wrote:
> C?dric
> I move the fdt to 0x100
> fdt move ${fdt_addr}? 100
> fdt addr 100
>
> then
> fdt get value bootargs /chosen bootargs
> printenv bootargs
> bootargs=........all the boot args.......but setenv abc $bootargs fails...as does printenv $bootargs
>
> fdt set bootargs /chosen bootargsfdt get value bootargs /chosen bootargsbootargs=bootargs
> The variable name bootargs replaces the values contained in the variable bootargs in the fdt.
> Something is not right in the world of fdt code.
> ?Duncan Hare
I just tried this on a random platform that I have around, and do not
see this problem. But also, what exactly is your end-goal here? While
one can modify the fdt in memory and even modify the bootargs passed via
this method, normally one will just set bootargs in the environment and
let the fdt be updated by the normal mechanism (which will I suspect
blow away your modifications unless bootargs is _not_ set in the
environment).
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20161117/ddf7b7a9/attachment.sig>
next prev parent reply other threads:[~2016-11-17 15:07 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1646122854.281759.1474158382951.ref@mail.yahoo.com>
2016-09-18 0:26 ` [U-Boot] FDT pointer value, passed by the PI firmware, is not set in u-boot dh at synoia.com
[not found] ` <1476689009.283728.1474158853147@mail.yahoo.com>
2016-09-20 3:50 ` [U-Boot] Fw: " dh at synoia.com
2016-09-23 3:47 ` Simon Glass
[not found] ` <18903981.3449263.1474612474905@mail.yahoo.com>
[not found] ` <CAPnjgZ3-ngUbABnHj-C=J0FYmHtivNifdR8g8sYOaz1w1wiuvg@mail.gmail.com>
[not found] ` <249861932.891437.1478735874649@mail.yahoo.com>
[not found] ` <CANwerB2Cs94z9_TobdGCT0CStzeTdic9KrXJZ6TRQ5hWe9KbZg@mail.gmail.com>
[not found] ` <786426529.884736.1478738313202@mail.yahoo.com>
[not found] ` <CANwerB1MuiXGcV15popB08CfjVisdqO4ejpjgR7QtBz8tuqt9w@mail.gmail.com>
[not found] ` <1521360278.969111.1478746084415@mail.yahoo.com>
[not found] ` <CANwerB0LsgVe+1JJtteukoVSJwHQh+dCzkHy-bjDq7_xxyjS2A@mail.gmail.com>
[not found] ` <1803431681.1017120.1478753042164@mail.yahoo.com>
[not found] ` <CANwerB24A5P2-17RAO11ZNnPn6S7+bk4HhRi3kB7xmskzEidwA@mail.gmail.com>
[not found] ` <1877254354.2540034.1478911787854@mail.yahoo.com>
[not found] ` <CANwerB1S=NZ6NuSBZwWQm5DTBQjvxL=0nLYYy_9NqW6b_V_bHA@mail.gmail.com>
[not found] ` <128268416 8.2965147.1479002677632@mail.yahoo.com>
[not found] ` <CAM-ziR5HXmQTY1YXpjnxC-tXggqa+AGTjUgcBh6r3St5dX3BmA@mail.gmail.com>
[not found] ` <1334126556.3185531.1479063714936@mail.yahoo.com>
2016-11-13 19:16 ` [U-Boot] FDT retrived varaibles appear to have different properties fom other u-boot variables dh at synoia.com
2016-11-14 0:08 ` [U-Boot] FDT retrived varaibles appear to have different properties fom other u-boot variables - and are corrupted on get, set, get sequence dh at synoia.com
2016-11-14 17:39 ` [U-Boot] FDT retrived varaibles appear to have different properties fom other u-boot variables - and are corrupted on get, set, get correction dh at synoia.com
2016-11-17 15:07 ` Tom Rini [this message]
[not found] ` <956355993.2194594.1479405341872@mail.yahoo.com>
2016-11-19 17:06 ` [U-Boot] Fw: FDT retrived varaibles appear to have different properties fom other u-boot variables - and are corrupted on get, set, get sequence dh at synoia.com
2016-11-23 1:26 ` [U-Boot] FDT retrived raspberry pi bootargs length > 350 characters cause setenv errors, sequemce fdt get/ set/ get truncates at the first blank in the string dh at synoia.com
2016-11-23 8:33 ` Anatolij Gustschin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161117150726.GA2546@bill-the-cat \
--to=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox