[U-Boot] [PATCH V4 2/3] ARM: tegra: rework boot scripts

Stephen Warren swarren at wwwdotorg.org
Thu Feb 13 17:39:41 CET 2014


On 02/13/2014 04:13 AM, Dennis Gilmore wrote:
> Hi Stephen,
> 
> I noticed one issue
> 
> On Wed,  5 Feb 2014 09:24:58 -0700
> Stephen Warren <swarren at wwwdotorg.org> wrote:
> 
>> From: Stephen Warren <swarren at nvidia.com>
>>
>> Update the common Tegra boot scripts in the default environment to
>>
>> a) Make use of the new "test -e" shell command to avoid some error
>>    messages.
>>
>> b) Allow booting using the sysboot command and extlinux.conf. This
>>    allows easy creation of boot menus, and provides a simple interface
>>    for distros to parameterize/configure the boot process.

>> diff --git a/include/configs/tegra-common-post.h b/include/configs/tegra-common-post.h index

>> +	"do_sysboot_boot="
>> \
>> +		"sysboot ${devtype} ${devnum}:${rootpart} any
>> "           \
>> +			"${scriptaddr}
>> ${prefix}extlinux.conf\0"          \
> 
> extlinux config files are placed into an extlinux directory
> you will need to use ${prefix}extlinux/extlinux.conf

What places them there? The spec doesn't say anything about placement of
this file. Since this is a new feature, I don't think there's any
de-facto standard, is there? I'd prefer that the files be placed in the
same location as any other boot file, to avoid pointless extra directory
levels (i.e. / for a partition that's mounted as /boot, or in /boot for
a partition that's mounted as /).


More information about the U-Boot mailing list