2011-01-12 FON2405E で u-boot
いじってたらu-boot プロンプトに来れた。
- タクトスイッチを押しながら電源ON
- スイッチを押し続けている間は、Please choose ... 1:〜 2:〜 3:〜 の所で止まるので、押し続けたまま、コンソールから 「3」を押す
- タクトスイッチを離す
- u-bootのプロンプトに入れた
U-Boot 1.1.3 (Jan 6 2010 - 07:10:30) Board: Fonera DRAM: 32 MB relocate_code Pointer at: 81fac000 spi_wait_nsec: 3e spi deice id: c2 20 15 c2 20 (2015c220) find flash: mx25l1605d raspi_read: from:41030000 len:1000 Using default environment ##### The CPU freq = 320 MHZ #### SDRAM bus set to 16 bit SDRAM size =32 Mbytes Please choose the operation: 1: Boot system code via Flash (default). 2: Load system code then write to Flash via TFTP. 3: Entr boot command line interface. reset pressed for 2 seconds You selected 3 0 3: System Enter Boot Command Line Interface. U-Boot 1.1.3 (Jan 6 2010 - 07:10:30) RT3052 # RT3052 # RT3052 # ? erase - erase SPI FLASH memory ? - alias for 'help' bootm - boot application image from memory cp - memory copy go - start application at address 'addr' help - print online help httpd - start webserver md - memory display mm - memory modify (auto-incrementing) mw - memory write (fill) nm - memory modify (constant address) printenv- print environment variables reset - Perform RESET of the CPU setenv - set environment variables tftpboot- boot image via network using TFTP protocol version - print monitor version RT3052 # help set setenv name value ... - set environment variable 'name' to 'value ...' setenv name - delete environment variable 'name' RT3052 # printenv bootcmd=httpd bootdelay=2 baudrate=57600 ethaddr="00:AA:BB:CC:DD:10" ipaddr=10.10.10.200 serverip=10.10.10.3 ramargs=setenv bootargs root=/dev/ram rw addip=setenv bootargs $(bootargs) ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):$(netdev):off addmisc=setenv bootargs $(bootargs) console=ttyS0,$(baudrate) ethaddr=$(ethaddr) panic=1 flash_self=run ramargs addip addmisc;bootm $(kernel_addr) $(ramdisk_addr) kernel_addr=BFC20000 bootfile=fonita.img u-boot=u-boot.bin load=tftp 8A100000 $(u-boot) u_b=protect off 1:0-1;era 1:0-1;cp.b 8A100000 BC400000 $(filesize) loadfs=tftp 8A100000 root.cramfs u_fs=era bc540000 bc83ffff;cp.b 8A100000 BC540000 $(filesize) test_tftp=tftp 8A100000 root.cramfs;run test_tftp stdin=serial stdout=serial stderr=serial ethact=Eth0 (10/100-M) Environment size: 786/4092 bytes RT3052 # version U-Boot 1.1.3 (Jan 6 2010 - 07:10:30)
EOF