Skip to contentSkip to conversation

u-boot-v2 rc7

U-Boot John Jeffers 2 participants 2 messages Feb 25, 2009

lore
Share & tools
lore
#0 lore raw

In "~/u-boot-v2/board/pcm038/env/config
(and in most other boards in v2)

the following is found:
/****+
autoboot_timeout=3

nfsroot="/ptx/work/octopus/rsc/svn/oselas/bsp/phytec/phyCORE-i.MX27/OSELAS.BSP-Phytec-phyCORE-i.MX27-trunk/root"

bootargs="console=ttymxc0,115200"
-****/
I believe this causes certain scripting in ptxdist to fail "~>ptxdist test setenv<cr>" since it is setting up uboot configuration for Robert S.'s machine. It does not actually "hurt" u-boot-v2 rc7 since the knowledgeable user will make this go away for his board.

Likely the community would be better served if there was a comment as the following:

#really make sure this points to the nfs root source. Assuming the BSP was at the user home. ~> nfsroot="/OSELAS.BSP-Phytec-phyCORE-8/projectroot"

It may be useful to fix this as a question to the user.//

#1 lore raw
Quoted 7 lines · John Jeffers

In "~/u-boot-v2/board/pcm038/env/config
(and in most other boards in v2)

the following is found:
/****+
autoboot_timeout=3

Quoted 8 lines

nfsroot="/ptx/work/octopus/rsc/svn/oselas/bsp/phytec/phyCORE-i.MX27/OSELAS.BSP-Phytec-phyCORE-i.MX27-trunk/root"

bootargs="console=ttymxc0,115200"
-****/
I believe this causes certain scripting in ptxdist to fail "~>ptxdist test setenv<cr>" since it is setting up uboot configuration for Robert S.'s machine. It does not actually "hurt" u-boot-v2 rc7 since the knowledgeable user will make this go away for his board.

The automatic setup scripts in OSELAS.BSPs using this board should do the right thing, the 'test setenv' script will push a well defined environment into the box.

Quoted 8 lines

Likely the community would be better served if there was a comment as the following:

#really make sure this points to the nfs root source. Assuming the BSP was at the user home. ~> nfsroot="/OSELAS.BSP-Phytec-phyCORE-8/projectroot"

It may be useful to fix this as a question to the user.//

Yes, good idea, please send a proper patch that fixes all of these issues.

rsc

Signature · 4 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |