TTL 連接座 PIN 腳位
連接方式
網樂通 USB to TTL 板 (莫士端子 4P 排座) (杜邦接頭 1P x3) [GND] <-----------------------> [GND] [Rx] <-----------------------> [Tx] [Tx] <------------------------> [Rx]
U-Boot: printenv
PDK7105> printenv bootdelay=0 baudrate=115200 ethaddr=DE:EA:FF:FF:01:01 board=pdk7105 monitor_base=0xA4000000 monitor_len=0x00040000 monitor_sec=1:0-1 load_addr=0x80000000 ipaddr=192.9.150.61 serverip=192.9.150.67 bootdelay=0 update_uboot=usb start;fatload usb 0 80000000 u-boot.bin;update_spi_uboot unprot=protect off $monitor_sec update=erase $monitor_sec;cp.b $load_addr $monitor_base $monitor_len;protect on $monitor_sec ethaddr=12:34:56:78:06:BD stdin=serial stdout=serial stderr=serial bootargs=console=ttyAS0,115200 root=8:2 rootfstype=ext3 rw rootflags=data=journal nwhwconf=device:eth0,hwaddr:10:08:E2:12:06:BD phyaddr:0,watchdog:5000 mem=120M bigphysarea=2048 bootcmd=ext2load usb 0:2 80000000 vmlinux.ub; bootm 80000000 Environment size: 715/65532 bytes
USB 相關
PDK7105> help usb usb reset - reset (rescan) USB controller usb stop [f] - stop USB [f]=force stop usb tree - show USB device tree usb info [dev] - show available USB devices usb storage - show details of USB storage devices usb dev [dev] - show or set current USB storage device usb part [dev] - print partition table of one or all USB storage devices usb read addr blk# cnt - read `cnt' blocks starting at block `blk#' to memory address `addr'
PDK7105> usb dev USB device 0: Vendor: General Prod.: USB Flash Disk Rev: 1100 Type: Removable Hard Disk Capacity: 7656.0 MiB = 7.4 GiB (15679488 x 512)
PDK7105> usb part 0 print_part of 0 Partition Map for USB device 0 -- Partition Type: DOS Partition Start Sector Num Sectors Type 1 19 617101 83 2 617120 617120 83 3 1234240 12585600 83 4 13819840 1802720 83 print_part of 1 ## Unknown partition table print_part of 2 ## Unknown partition table print_part of 3 ## Unknown partition table print_part of 4 ## Unknown partition table
setenv bootcmd 'ext2load usb 0:2 80000000 vmlinux-1.ub; bootm 80000000' boot
TIPs:
新編譯的 linux kernel: vmlinux-1.ub 必須放在 / 目錄下
文件 | 大小 | 日期 | 附件上傳者 | |||
---|---|---|---|---|---|---|
nextvod_uboot-1.png U-Boot | 16.12 KB | 16:44, 5 Nov 2012 | alang | 動作 | ||
nextvod_uboot-2_printenv.png U-Boot printenv | 27.53 KB | 16:44, 5 Nov 2012 | alang | 動作 | ||
usb_to_ttl.jpg USB to TTL | 6.68 KB | 16:42, 5 Nov 2012 | alang | 動作 |
Images 3 | ||
---|---|---|
U-Bootnextvod_uboot-1.png | U-Boot printenvnextvod_uboot-2_printenv.png | USB to TTLusb_to_ttl.jpg |