bc10-router/tftpboot
[
Front page
] [
New
|
List of pages
|
Search
|
Recent changes
]
Start:
[[bc10]]~
[[bc10-router]]~
#contents
* tftpboot [#t2f74d17]
>
To use u-boot-arm and USB-Ethernet adapter corresponding ...
~
To use tftpboot, the system can boot without rewriting an...
~
To take advantage of the ease of renewing uImage, tftp se...
~
Since kernel of bc10-router is built with Toolchain of ar...
** USB-Ethernet adapter [#fb1dc310]
>
The list of USB-Ethernet adapters, which work with tftpbo...
static const struct asix_dongle const asix_dongles[] = {
{ 0x05ac, 0x1402, FLAG_TYPE_AX88772 }, /* Apple...
{ 0x07d1, 0x3c05, FLAG_TYPE_AX88772 }, /* D-Lin...
/* Cables-to-Go USB Ethernet Adapter */
{ 0x0b95, 0x772a, FLAG_TYPE_AX88772 },
{ 0x0b95, 0x7720, FLAG_TYPE_AX88772 }, /* Trend...
{ 0x0b95, 0x1720, FLAG_TYPE_AX88172 }, /* SMC */
{ 0x0db0, 0xa877, FLAG_TYPE_AX88772 }, /* MSI -...
{ 0x13b1, 0x0018, FLAG_TYPE_AX88172 }, /* Links...
{ 0x1557, 0x7720, FLAG_TYPE_AX88772 }, /* 0Q0 c...
/* DLink DUB-E100 H/W Ver B1 Alternate */
{ 0x2001, 0x3c05, FLAG_TYPE_AX88772 },
/* ASIX 88772B */
{ 0x0b95, 0x772b, FLAG_TYPE_AX88772B | FLAG_EEPR...
{ 0x0000, 0x0000, FLAG_NONE } /* END - Do not ...
};
As of January 2013, Buffalo LUA-U2-ATX is widely availabl...
To check its VenderID and Product ID, use lsusb, its outp...
Bus 001 Device 004: ID 0b95:7720 ASIX Electronics Corp. ...
** Configuration of tftp server [#cfff6e80]
>
Ubuntu 10.04 offers the several packages of tftp servers....
$ sudo apt-get install atftpd
For the boot management, openbsd-inetd is installed toget...
$ sudo apt-get install xinetd
Edit tftp configuration file at xinetd.~
$ sudo vim /etc/xinetd/tftpd
The contents of rftp configuration file are shown below.~
service tftp
{
protocol = udp
port = 69
socket_type = dgram
wait = yes
user = nobody
group = nobody
server = /usr/sbin/in.tftpd
server_args = --logfile /var/log/atftpd.log /var...
only_from = 192.168.0.0/24
disable = no
}
only_from should change to the specific network address t...
server_args specifies the location, which stores kernel u...
$ cd /var/lib
$ sudo mkdir tftpboot
The location and name of the log file, which records the ...
$ sudo touch /var/log/atftpd.log
$ sudo chown nobody:nobody /var/log/atftpd.log
Reboot xinetd.~
$ sudo /etc/init.d/xinetd restart
The configuration of tftp server is completed.~
~
The name of kernel uImage, which tftp load, is uImage.bea...
$ sudo cp ~/linux-stable/arch/arm/boot/uImage /var/lib/t...
** Configuration of bc10 tftpboot [#m1fd5996]
>
Connect a USB-Ethernet adapter to the USB connector of bc...
~
Start up u-boot. Input the key while loading kernel, then...
U-Boot 2012.10-12320-g39826f0 (Oct 22 2012 - 17:03:16)
OMAP3530-GP ES3.1, CPU-OPP2, L3-165MHz, Max CPU Clock 60...
OMAP3 Beagle board + LPDDR/NAND
I2C: ready
DRAM: 256 MiB
NAND: 512 MiB
MMC: OMAP SD/MMC: 0
*** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
Beagle Rev C1/C2/C3
No EEPROM on expansion board
Die ID #4ada00040000000004037b700d01401a
Net: Net Initialization Skipped
No ethernet found.
Hit any key to stop autoboot: 3
OMAP3 beagleboard.org #
Let this USB-Ethernet adapter be recognized, configure th...
ipaddr indicates IP address that is set up at bc10.~
serverip is IP address that tftp server.~
OMAP3 beagleboard.org # usb start
(Re)start USB...
USB0: USB EHCI 1.00
scanning bus 0 for devices... 4 USB Device(s) found
scanning usb for storage devices... 0 Storage Dev...
scanning usb for ethernet devices...
Warning: asx0 using MAC address from net device
1 Ethernet Device(s) found
OMAP3 beagleboard.org # setenv ipaddr 192.168.0.128
OMAP3 beagleboard.org # setenv netmask 255.255.255.0
OMAP3 beagleboard.org # setenv serverip 192.168.0.203
OMAP3 beagleboard.org # tftpboot
After tftpboot is executed, if uImage.geagle is read corr...
Waiting for Ethernet connection... done.
Using asx0 device
TFTP from server 192.168.0.203; our IP address is 192.16...
Filename 'uImage.beagle'.
Load address: 0x80200000
Loading: T #############################################...
########################################################...
########################################################...
###################
done
Bytes transferred = 3137352 (2fdf48 hex)
When uImage is read into memory correctly, bootargs is co...
OMAP3 beagleboard.org # setenv bootargs console=ttyO2,11...
To execute bootm command, if it works correctly, the conf...
OMAP3 beagleboard.org # bootm
## Booting kernel from Legacy Image at 80200000 ...
Image Name: Arago/3.7.2/beagleboard
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3425904 Bytes = 3.3 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
[ 0.000000] Booting Linux on physical CPU 0
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 3.7.2 (otsuka@bc10-dev) (gc...
[ 0.000000] CPU: ARMv7 Processor [411fc083] revision ...
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, ...
[ 0.000000] Machine: OMAP3 Beagle Board
Skipping...
If there are items that you like to set at startup u-boot...
* Revision History [#qde1d307]
>
- 2013-08-09 This article is initially uploaded.
End:
[[bc10]]~
[[bc10-router]]~
#contents
* tftpboot [#t2f74d17]
>
To use u-boot-arm and USB-Ethernet adapter corresponding ...
~
To use tftpboot, the system can boot without rewriting an...
~
To take advantage of the ease of renewing uImage, tftp se...
~
Since kernel of bc10-router is built with Toolchain of ar...
** USB-Ethernet adapter [#fb1dc310]
>
The list of USB-Ethernet adapters, which work with tftpbo...
static const struct asix_dongle const asix_dongles[] = {
{ 0x05ac, 0x1402, FLAG_TYPE_AX88772 }, /* Apple...
{ 0x07d1, 0x3c05, FLAG_TYPE_AX88772 }, /* D-Lin...
/* Cables-to-Go USB Ethernet Adapter */
{ 0x0b95, 0x772a, FLAG_TYPE_AX88772 },
{ 0x0b95, 0x7720, FLAG_TYPE_AX88772 }, /* Trend...
{ 0x0b95, 0x1720, FLAG_TYPE_AX88172 }, /* SMC */
{ 0x0db0, 0xa877, FLAG_TYPE_AX88772 }, /* MSI -...
{ 0x13b1, 0x0018, FLAG_TYPE_AX88172 }, /* Links...
{ 0x1557, 0x7720, FLAG_TYPE_AX88772 }, /* 0Q0 c...
/* DLink DUB-E100 H/W Ver B1 Alternate */
{ 0x2001, 0x3c05, FLAG_TYPE_AX88772 },
/* ASIX 88772B */
{ 0x0b95, 0x772b, FLAG_TYPE_AX88772B | FLAG_EEPR...
{ 0x0000, 0x0000, FLAG_NONE } /* END - Do not ...
};
As of January 2013, Buffalo LUA-U2-ATX is widely availabl...
To check its VenderID and Product ID, use lsusb, its outp...
Bus 001 Device 004: ID 0b95:7720 ASIX Electronics Corp. ...
** Configuration of tftp server [#cfff6e80]
>
Ubuntu 10.04 offers the several packages of tftp servers....
$ sudo apt-get install atftpd
For the boot management, openbsd-inetd is installed toget...
$ sudo apt-get install xinetd
Edit tftp configuration file at xinetd.~
$ sudo vim /etc/xinetd/tftpd
The contents of rftp configuration file are shown below.~
service tftp
{
protocol = udp
port = 69
socket_type = dgram
wait = yes
user = nobody
group = nobody
server = /usr/sbin/in.tftpd
server_args = --logfile /var/log/atftpd.log /var...
only_from = 192.168.0.0/24
disable = no
}
only_from should change to the specific network address t...
server_args specifies the location, which stores kernel u...
$ cd /var/lib
$ sudo mkdir tftpboot
The location and name of the log file, which records the ...
$ sudo touch /var/log/atftpd.log
$ sudo chown nobody:nobody /var/log/atftpd.log
Reboot xinetd.~
$ sudo /etc/init.d/xinetd restart
The configuration of tftp server is completed.~
~
The name of kernel uImage, which tftp load, is uImage.bea...
$ sudo cp ~/linux-stable/arch/arm/boot/uImage /var/lib/t...
** Configuration of bc10 tftpboot [#m1fd5996]
>
Connect a USB-Ethernet adapter to the USB connector of bc...
~
Start up u-boot. Input the key while loading kernel, then...
U-Boot 2012.10-12320-g39826f0 (Oct 22 2012 - 17:03:16)
OMAP3530-GP ES3.1, CPU-OPP2, L3-165MHz, Max CPU Clock 60...
OMAP3 Beagle board + LPDDR/NAND
I2C: ready
DRAM: 256 MiB
NAND: 512 MiB
MMC: OMAP SD/MMC: 0
*** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
Beagle Rev C1/C2/C3
No EEPROM on expansion board
Die ID #4ada00040000000004037b700d01401a
Net: Net Initialization Skipped
No ethernet found.
Hit any key to stop autoboot: 3
OMAP3 beagleboard.org #
Let this USB-Ethernet adapter be recognized, configure th...
ipaddr indicates IP address that is set up at bc10.~
serverip is IP address that tftp server.~
OMAP3 beagleboard.org # usb start
(Re)start USB...
USB0: USB EHCI 1.00
scanning bus 0 for devices... 4 USB Device(s) found
scanning usb for storage devices... 0 Storage Dev...
scanning usb for ethernet devices...
Warning: asx0 using MAC address from net device
1 Ethernet Device(s) found
OMAP3 beagleboard.org # setenv ipaddr 192.168.0.128
OMAP3 beagleboard.org # setenv netmask 255.255.255.0
OMAP3 beagleboard.org # setenv serverip 192.168.0.203
OMAP3 beagleboard.org # tftpboot
After tftpboot is executed, if uImage.geagle is read corr...
Waiting for Ethernet connection... done.
Using asx0 device
TFTP from server 192.168.0.203; our IP address is 192.16...
Filename 'uImage.beagle'.
Load address: 0x80200000
Loading: T #############################################...
########################################################...
########################################################...
###################
done
Bytes transferred = 3137352 (2fdf48 hex)
When uImage is read into memory correctly, bootargs is co...
OMAP3 beagleboard.org # setenv bootargs console=ttyO2,11...
To execute bootm command, if it works correctly, the conf...
OMAP3 beagleboard.org # bootm
## Booting kernel from Legacy Image at 80200000 ...
Image Name: Arago/3.7.2/beagleboard
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3425904 Bytes = 3.3 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
[ 0.000000] Booting Linux on physical CPU 0
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 3.7.2 (otsuka@bc10-dev) (gc...
[ 0.000000] CPU: ARMv7 Processor [411fc083] revision ...
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, ...
[ 0.000000] Machine: OMAP3 Beagle Board
Skipping...
If there are items that you like to set at startup u-boot...
* Revision History [#qde1d307]
>
- 2013-08-09 This article is initially uploaded.
Page: