* [U-Boot-Users] [PATCH] ppc4xx: Fix Canyonlands default environment to work with new image support
@ 2008-04-09 10:57 Stefan Roese
2008-04-18 4:14 ` Wolfgang Denk
0 siblings, 1 reply; 5+ messages in thread
From: Stefan Roese @ 2008-04-09 10:57 UTC (permalink / raw)
To: u-boot
Since the new image support checks for image overwriting, the default
environment needs to get adjusted to use correct addresses.
Signed-off-by: Stefan Roese <sr@denx.de>
---
include/configs/canyonlands.h | 12 +++++-------
1 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/include/configs/canyonlands.h b/include/configs/canyonlands.h
index a1c6674..be9432b 100644
--- a/include/configs/canyonlands.h
+++ b/include/configs/canyonlands.h
@@ -330,19 +330,17 @@
"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}" \
":${hostname}:${netdev}:off panic=1\0" \
"addtty=setenv bootargs ${bootargs} console=ttyS0,${baudrate}\0"\
- "net_nfs=tftp 200000 ${bootfile};" \
- "run nfsargs addip addtty;" \
- "bootm 200000\0" \
- "net_nfs_fdt=tftp 200000 ${bootfile};" \
+ "net_nfs=tftp 400000 ${bootfile};" \
"tftp ${fdt_addr} ${fdt_file};" \
"run nfsargs addip addtty;" \
- "bootm 200000 - ${fdt_addr}\0" \
+ "bootm 400000 - ${fdt_addr}\0" \
+ "net_nfs_fdt=net_nfs\0" \
"flash_nfs=run nfsargs addip addtty;" \
"bootm ${kernel_addr}\0" \
"flash_self=run ramargs addip addtty;" \
"bootm ${kernel_addr} ${ramdisk_addr}\0" \
"rootpath=/opt/eldk/ppc_4xxFP\0" \
- "fdt_addr=400000\0" \
+ "fdt_addr=800000\0" \
"kernel_addr=fc000000\0" \
"ramdisk_addr=fc200000\0" \
"initrd_high=30000000\0" \
@@ -352,7 +350,7 @@
"setenv filesize;saveenv\0" \
"upd=run load update\0" \
"nload=tftp 200000 ${hostname}/u-boot-nand.bin\0" \
- "nupdate=nand erase 0 60000;nand write 200000 0 60000;" \
+ "nupdate=nand erase 0 100000;nand write 200000 0 100000;" \
"setenv filesize;saveenv\0" \
"nupd=run nload nupdate\0" \
"pciconfighost=1\0" \
--
1.5.5
^ permalink raw reply related [flat|nested] 5+ messages in thread* [U-Boot-Users] [PATCH] ppc4xx: Fix Canyonlands default environment to work with new image support
2008-04-09 10:57 [U-Boot-Users] [PATCH] ppc4xx: Fix Canyonlands default environment to work with new image support Stefan Roese
@ 2008-04-18 4:14 ` Wolfgang Denk
2008-04-18 13:32 ` Stefan Roese
0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Denk @ 2008-04-18 4:14 UTC (permalink / raw)
To: u-boot
In message <1207738620-23994-1-git-send-email-sr@denx.de> you wrote:
> Since the new image support checks for image overwriting, the default
> environment needs to get adjusted to use correct addresses.
...
> - "nupdate=nand erase 0 60000;nand write 200000 0 60000;" \
> + "nupdate=nand erase 0 100000;nand write 200000 0 100000;" \
Does "nand write" support the "+${filesize}" notation (yet)?
If not, how about adding it?
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Is truth not truth for all?
-- Natira, "For the World is Hollow and I have Touched
the Sky", stardate 5476.4.
^ permalink raw reply [flat|nested] 5+ messages in thread* [U-Boot-Users] [PATCH] ppc4xx: Fix Canyonlands default environment to work with new image support
2008-04-18 4:14 ` Wolfgang Denk
@ 2008-04-18 13:32 ` Stefan Roese
2008-04-20 23:19 ` Wolfgang Denk
0 siblings, 1 reply; 5+ messages in thread
From: Stefan Roese @ 2008-04-18 13:32 UTC (permalink / raw)
To: u-boot
On Friday 18 April 2008, Wolfgang Denk wrote:
> In message <1207738620-23994-1-git-send-email-sr@denx.de> you wrote:
> > Since the new image support checks for image overwriting, the default
> > environment needs to get adjusted to use correct addresses.
>
> ...
>
> > - "nupdate=nand erase 0 60000;nand write 200000 0 60000;" \
> > + "nupdate=nand erase 0 100000;nand write 200000 0 100000;" \
>
> Does "nand write" support the "+${filesize}" notation (yet)?
I don't think so.
> If not, how about adding it?
Yes, would be great. Patches welcome. :)
Best regards,
Stefan
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
^ permalink raw reply [flat|nested] 5+ messages in thread* [U-Boot-Users] [PATCH] ppc4xx: Fix Canyonlands default environment to work with new image support
2008-04-18 13:32 ` Stefan Roese
@ 2008-04-20 23:19 ` Wolfgang Denk
2008-04-21 4:33 ` Stefan Roese
0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Denk @ 2008-04-20 23:19 UTC (permalink / raw)
To: u-boot
In message <200804181532.24641.sr@denx.de> you wrote:
>
> > Does "nand write" support the "+${filesize}" notation (yet)?
>
> I don't think so.
>
> > If not, how about adding it?
>
> Yes, would be great. Patches welcome. :)
How about you adding it?
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
That's the thing about people who think they hate computers. What
they really hate is lousy programmers.
- Larry Niven and Jerry Pournelle in "Oath of Fealty"
^ permalink raw reply [flat|nested] 5+ messages in thread* [U-Boot-Users] [PATCH] ppc4xx: Fix Canyonlands default environment to work with new image support
2008-04-20 23:19 ` Wolfgang Denk
@ 2008-04-21 4:33 ` Stefan Roese
0 siblings, 0 replies; 5+ messages in thread
From: Stefan Roese @ 2008-04-21 4:33 UTC (permalink / raw)
To: u-boot
On Monday 21 April 2008, Wolfgang Denk wrote:
> In message <200804181532.24641.sr@denx.de> you wrote:
> > > Does "nand write" support the "+${filesize}" notation (yet)?
> >
> > I don't think so.
> >
> > > If not, how about adding it?
> >
> > Yes, would be great. Patches welcome. :)
>
> How about you adding it?
Are you asking me personally? Sorry, I have no time currently doing such a
thing.
Best regards,
Stefan
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-04-21 4:33 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-09 10:57 [U-Boot-Users] [PATCH] ppc4xx: Fix Canyonlands default environment to work with new image support Stefan Roese
2008-04-18 4:14 ` Wolfgang Denk
2008-04-18 13:32 ` Stefan Roese
2008-04-20 23:19 ` Wolfgang Denk
2008-04-21 4:33 ` Stefan Roese
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox