Re: [U-Boot] U-Boot 2015 and u-boot-fw-utils 2017.09
Hi Joakim, > On Thu, 1970-01-01 at 00:00 +, Wolfgang Denk wrote: > > > > Hello, > > > > In message <2018000422.7957c7f3@jawa> you wrote: > > > > > > > I am using U-Boot 2015.04, and the new root file system for my > > > > platform includes u-boot-fw-utils 2017.09. I have noticed that > > > > fw_{print,set}env utilities are no longer working. > > > > > > Strace output would be helpful here > > > > Definitely. Ideally both for the old, working, and for the new, > > failing, version. > > > > > The fw_* utils were a bit reworked around 2017.09 (there were some > > > build breaks of it IIRC), so yes you may see some problems. > > > > But then, the actual format of the environment data has never been > > changed, so we really need more details. > > Speaking of the fw tools, I have always wanted to be able to specify > "whole mtd device" for plain NOR flash in fw_env.config so instead of > /dev/mtd10x 0x4000 > 0x4000 One could jsut say > /dev/mtd10x 0x4000 > like one can do for SPI flash. Thoughts ? > Apparently you are the first one, who see such functionality as useful. I don't mind - feel free to prepare patches :-) > Jocke > Best regards, Lukasz Majewski -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de pgp6a1kcL8pLl.pgp Description: OpenPGP digital signature ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot
Re: [U-Boot] U-Boot 2015 and u-boot-fw-utils 2017.09
On Thu, 11 Jan 2018 11:58:19 + "Diaz de Grenu, Jose" wrote: > -Original Message- > From: Wolfgang Denk [mailto:w...@denx.de] > > > > But then, the actual format of the environment data has never been > > changed, so we really need more details. > > Correct. The problem was a custom patch. I can confirm now that I am > able to write and read the environment with no problems using U-Boot > 2015.04 and u-boot-fw-utils 2017.x. > > Thanks and sorry for the false alarm. No problem, You are welcome. Best regards, Lukasz Majewski -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de pgpFnv4uoeluC.pgp Description: OpenPGP digital signature ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot
Re: [U-Boot] U-Boot 2015 and u-boot-fw-utils 2017.09
On Thu, 1970-01-01 at 00:00 +, Wolfgang Denk wrote: > > Hello, > > In message <2018000422.7957c7f3@jawa> you wrote: > > > > > I am using U-Boot 2015.04, and the new root file system for my > > > platform includes u-boot-fw-utils 2017.09. I have noticed that > > > fw_{print,set}env utilities are no longer working. > > > > Strace output would be helpful here > > Definitely. Ideally both for the old, working, and for the new, > failing, version. > > > The fw_* utils were a bit reworked around 2017.09 (there were some > > build breaks of it IIRC), so yes you may see some problems. > > But then, the actual format of the environment data has never been > changed, so we really need more details. Speaking of the fw tools, I have always wanted to be able to specify "whole mtd device" for plain NOR flash in fw_env.config so instead of /dev/mtd1 0x 0x4000 0x4000 One could jsut say /dev/mtd1 0x 0x4000 like one can do for SPI flash. Thoughts ? Jocke ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot
Re: [U-Boot] U-Boot 2015 and u-boot-fw-utils 2017.09
-Original Message- From: Wolfgang Denk [mailto:w...@denx.de] > But then, the actual format of the environment data has never been changed, > so we really need more details. Correct. The problem was a custom patch. I can confirm now that I am able to write and read the environment with no problems using U-Boot 2015.04 and u-boot-fw-utils 2017.x. Thanks and sorry for the false alarm. ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot
Re: [U-Boot] U-Boot 2015 and u-boot-fw-utils 2017.09
Hello, In message <2018000422.7957c7f3@jawa> you wrote: > > > I am using U-Boot 2015.04, and the new root file system for my > > platform includes u-boot-fw-utils 2017.09. I have noticed that > > fw_{print,set}env utilities are no longer working. > > Strace output would be helpful here Definitely. Ideally both for the old, working, and for the new, failing, version. > The fw_* utils were a bit reworked around 2017.09 (there were some > build breaks of it IIRC), so yes you may see some problems. But then, the actual format of the environment data has never been changed, so we really need more details. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de If it happens once, it's a bug. If it happens twice, it's a feature. If it happens more than twice, it's a design philosophy. ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot
Re: [U-Boot] U-Boot 2015 and u-boot-fw-utils 2017.09
On Tue, 9 Jan 2018 11:17:06 + "Diaz de Grenu, Jose" wrote: > Hi, > > I am using U-Boot 2015.04, and the new root file system for my > platform includes u-boot-fw-utils 2017.09. I have noticed that > fw_{print,set}env utilities are no longer working. Strace output would be helpful here The fw_* utils were a bit reworked around 2017.09 (there were some build breaks of it IIRC), so yes you may see some problems. > > Should these be compatible and work properly? Or are there any > changes regarding how the environment is read and written between > v2015.04 and v2017.09 that would explain this incompatility? U-boot is rapidly changing - due to DM, Kconfig, introduction. Some debug data would be helpful. Is your 2015.04 u-boot working with older fw_* utils? > > Thanks > ___ > U-Boot mailing list > U-Boot@lists.denx.de > https://lists.denx.de/listinfo/u-boot Best regards, Lukasz Majewski -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de pgpsgoKudUSwA.pgp Description: OpenPGP digital signature ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot
[U-Boot] U-Boot 2015 and u-boot-fw-utils 2017.09
Hi, I am using U-Boot 2015.04, and the new root file system for my platform includes u-boot-fw-utils 2017.09. I have noticed that fw_{print,set}env utilities are no longer working. Should these be compatible and work properly? Or are there any changes regarding how the environment is read and written between v2015.04 and v2017.09 that would explain this incompatility? Thanks ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot