[OpenWrt-Devel] Change Uboot default values

Yousong Zhou yszhou4tech at gmail.com
Wed Jul 22 07:54:46 EDT 2015


On 22 July 2015 at 19:37, Baptiste Clenet <bapclenet at gmail.com> wrote:
> Hi,
>
> I would like to change the default values of Uboot when I choose 2 in the menu.
> In the below example, I would like to change <1>, <2> and <3> by
> defaults values that I would have set earlier.
>

Looks like it's most likely hardcoded [1].

 [1] https://github.com/8devices/u-boot/blob/a4ac3be49389f0801cae4c37454e59679d56f036/lib_mips/board.c#L1502


                yousong

> Example:
>
> Please choose the operation:
>    1: Load system code to SDRAM via TFTP.
>    2: Load system code then write to Flash via TFTP.
>    3: Boot system code via Flash (default).
>    4: Entr boot command line interface.
>    7: Load Boot Loader code then write to Flash via Serial.
>    9: Load Boot Loader code then write to Flash via TFTP.
>
> You choosed 2
>
> 2: System Load Linux Kernel then write to Flash via TFTP.
>  Warning!! Erase Linux in Flash then burn new one. Are you sure?(Y/N)
>  Please Input new ones /or Ctrl-C to discard
>         Input device IP (10.10.10.123) ==: <1>
>         Input server IP (10.10.10.3) ==: <2>
>         Input Linux Kernel filename () ==:<3>
>
> Cheers,
>
> --
> Baptiste
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list