2015-07-22 13:54 GMT+02:00 Yousong Zhou <yszhou4t...@gmail.com>: > On 22 July 2015 at 19:37, Baptiste Clenet <bapcle...@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 >
Yeah, but how to change the value then, I don't mind to hardcode them, it's to flash quicker (not enter each time the values). I changed it on one board but I don't remember how I have done that. > > 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@lists.openwrt.org >> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel -- Baptiste _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel