Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- reflashing r36
- connect bus pirate
- ground is tan with black connector, connect to pin 1
- miso is black with black connector, connect to pin 2
- mosi is grey with yellow connector, connect to pin 3
- no connect to pin 4
- mode uart
- 115200 8n1, defaults (output type 2, normal)
- transparent bridge (then plug in r36)
- select 2, or option that you want to use
- make sure tftp server is running with WINDOWS FIREWALL OFF!
- set ip's and img name
- le flash
- 13851fd1a250cc59eb691bb77ccccc15 *openwrt-ramips-rt305x-w502u-squashfs-sysupgrade.bin
- HiZ>?
- General Protocol interaction
- ---------------------------------------------------------------------------
- ? This help (0) List current macros
- =X/|X Converts X/reverse X (x) Macro x
- ~ Selftest [ Start
- # Reset ] Stop
- $ Jump to bootloader { Start with read
- &/% Delay 1 us/ms } Stop
- a/A/@ AUXPIN (low/HI/READ) "abc" Send string
- b Set baudrate 123
- c/C AUX assignment (aux/CS) 0x123
- d/D Measure ADC (once/CONT.) 0b110 Send value
- f Measure frequency r Read
- g/S Generate PWM/Servo / CLK hi
- h Commandhistory \ CLK lo
- i Versioninfo/statusinfo ^ CLK tick
- l/L Bitorder (msb/LSB) - DAT hi
- m Change mode _ DAT lo
- o Set output type . DAT read
- p/P Pullup resistors (off/ON) ! Bit read
- s Script engine : Repeat e.g. r:10
- v Show volts/states . Bits to read/write e.g. 0x55.2
- w/W PSU (off/ON) <x>/<x= >/<0> Usermacro x/assign x/list all
- HiZ>m
- 1. HiZ
- 2. 1-WIRE
- 3. UART
- 4. I2C
- 5. SPI
- 6. 2WIRE
- 7. 3WIRE
- 8. LCD
- 9. DIO
- x. exit(without change)
- (1)>3
- Set serial port speed: (bps)
- 1. 300
- 2. 1200
- 3. 2400
- 4. 4800
- 5. 9600
- 6. 19200
- 7. 38400
- 8. 57600
- 9. 115200
- 10. BRG raw value
- (1)>9
- Data bits and parity:
- 1. 8, NONE *default
- 2. 8, EVEN
- 3. 8, ODD
- 4. 9, NONE
- (1)>1
- Stop bits:
- 1. 1 *default
- 2. 2
- (1)>1
- Receive polarity:
- 1. Idle 1 *default
- 2. Idle 0
- (1)>1
- Select output type:
- 1. Open drain (H=Hi-Z, L=GND)
- 2. Normal (H=3.3V, L=GND)
- (1)>2
- Ready
- UART>(1)
- UART bridge
- Reset to exit
- Are you sure? y
- \00\00
- U-Boot 1.1.3 (Oct 4 2010 - 15:34:52)
- Board: Ralink APSoC DRAM: 32 MB
- relocate_code Pointer at: 81fb0000
- flash_protect ON: from 0xBF000000 to 0xBF01D423
- flash_protect ON: from 0xBF030000 to 0xBF030FFF
- ============================================
- Ralink UBoot Version: 3.3
- --------------------------------------------
- ASIC 3052_MP2 (Port5<->None)
- DRAM component: 256 Mbits SDR
- DRAM bus: 16 bit
- Total memory: 32 MBytes
- Flash component: NOR Flash
- Date:Oct 4 2010 Time:15:34:52
- ============================================
- icache: sets:256, ways:4, linesz:32 ,total:32768
- dcache: sets:128, ways:4, linesz:32 ,total:16384
- ##### The CPU freq = 320 MHZ ####
- SDRAM bus set to 16 bit
- SDRAM size =32 Mbytes
- 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.
- 9: Load Boot Loader code then write to Flash via TFTP.
- 1 0
- 3: System Boot system code via Flash.
- ## Booting image at bf050000 ...
- Image Name: MIPS OpenWrt Linux-3.3.8
- Created: 2012-09-05 21:23:33 UTC
- Image Type: MIPS Linux Kernel Image (lzma compressed)
- Data Size: 837983 Bytes = 818.3 kB
- Load Address: 80000000
- Entry Point: 80000000
- Verifying Checksum ... OK
- Uncompressing Kernel Image ... OK
- No initrd
- ## Transferring control to Linux (at address 80000000) ...
- ## Giving linux memsize in MB, 32
- Starting kernel ...
- [ 0.000000] Linux version 3.3.8 (badger@Optimus) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Wed Sep 5 15:22:46 MDT 2012
- [ 0.000000] bootconsole [early0] enabled
- [ 0.000000] CPU revision is: 0001964c (MIPS 24KEc)
- [ 0.000000] Ralink RT3350 id:1 rev:2 running at 320.00 MHz
- [ 0.000000] Determined physical RAM map:
- [ 0.000000] memory: 02000000 @ 00000000 (usable)
- [ 0.000000] Initrd not found or empty - disabling initrd
- [ 0.000000] Zone PFN ranges:
- [ 0.000000] Normal 0x00000000 -> 0x00002000
- [ 0.000000] Movable zone start PFN for each node
- [ 0.000000] Early memory PFN ranges
- [ 0.000000] 0: 0x00000000 -> 0x00002000
- [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128
- [ 0.000000] Kernel command line: board=W502U console=ttyS1,115200 mtdparts=physmap-flash.0:192k(u-boot)ro,64k(u-boot-env)ro,64k(factory)ro,896k(kernel),6976k(rootfs),7872k@0x50000(firmware) rootfstype=squashfs,jffs2
- [ 0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
- [ 0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
- [ 0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
- [ 0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
- [ 0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes
- [ 0.000000] Writing ErrCtl register=00003b9f
- [ 0.000000] Readback ErrCtl register=00003b9f
- [ 0.000000] Memory: 29940k/32768k available (1918k kernel code, 2828k reserved, 321k data, 172k init, 0k highmem)
- [ 0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
- [ 0.000000] NR_IRQS:48
- [ 0.000000] console [ttyS1] enabled, bootconsole disabled
- [ 0.000000] console [ttyS1] enabled, bootconsole disabled
- [ 0.010000] Calibrating delay loop... 212.58 BogoMIPS (lpj=1062912)
- [ 0.090000] pid_max: default: 32768 minimum: 301
- [ 0.090000] Mount-cache hash table entries: 512
- [ 0.100000] NET: Registered protocol family 16
- [ 0.110000] MIPS: machine is ALFA Networks W502U
- [ 0.110000] gpiochip_add: registered GPIOs 0 to 23 on device: RT305X-GPIO0
- [ 0.120000] gpiochip_add: registered GPIOs 24 to 39 on device: RT305X-GPIO1
- [ 0.120000] gpiochip_add: registered GPIOs 40 to 51 on device: RT305X-GPIO2
- [ 0.150000] bio: create slab <bio-0> at 0
- [ 0.160000] Switching to clocksource MIPS
- [ 0.170000] NET: Registered protocol family 2
- [ 0.180000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
- [ 0.190000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
- [ 0.190000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
- [ 0.200000] TCP: Hash tables configured (established 1024 bind 1024)
- [ 0.210000] TCP reno registered
- [ 0.210000] UDP hash table entries: 256 (order: 0, 4096 bytes)
- [ 0.220000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
- [ 0.220000] NET: Registered protocol family 1
- [ 0.270000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
- [ 0.280000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
- [ 0.290000] msgmni has been set to 58
- [ 0.300000] io scheduler noop registered
- [ 0.300000] io scheduler deadline registered (default)
- [ 0.310000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
- [ 0.310000] serial8250: ttyS0 at MMIO 0x10000500 (irq = 13) is a 16550A
- [ 0.320000] serial8250: ttyS1 at MMIO 0x10000c00 (irq = 20) is a 16550A
- [ 0.330000] physmap platform flash device: 00800000 at bf000000
- [ 0.340000] physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x0022cb
- [ 0.350000] Amd/Fujitsu Extended Query Table at 0x0040
- [ 0.360000] Amd/Fujitsu Extended Query version 1.1.
- [ 0.360000] number of CFI chips: 1
- [ 0.360000] 6 cmdlinepart partitions found on MTD device physmap-flash.0
- [ 0.370000] Creating 6 MTD partitions on "physmap-flash.0":
- [ 0.380000] 0x000000000000-0x000000030000 : "u-boot"
- [ 0.390000] 0x000000030000-0x000000040000 : "u-boot-env"
- [ 0.400000] 0x000000040000-0x000000050000 : "factory"
- [ 0.410000] 0x000000050000-0x000000130000 : "kernel"
- [ 0.410000] 0x000000130000-0x000000800000 : "rootfs"
- [ 0.420000] mtd: partition "rootfs" set to be root filesystem
- [ 0.430000] mtd: partition "rootfs_data" created automatically, ofs=290000, len=570000
- [ 0.440000] 0x000000290000-0x000000800000 : "rootfs_data"
- [ 0.450000] 0x000000050000-0x000000800000 : "firmware"
- [ 0.470000] ramips-wdt ramips-wdt: timeout value must be 0 < timeout <= 40, using 40
- [ 0.480000] TCP cubic registered
- [ 0.480000] NET: Registered protocol family 17
- [ 0.490000] 8021q: 802.1Q VLAN Support v1.8
- [ 0.500000] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
- [ 0.510000] Freeing unused kernel memory: 172k freed
- [ 2.810000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled/input/input0
- [ 2.890000] Button Hotplug driver version 0.4.1
- - preinit -
- Press the [f] key and hit [enter] to enter failsafe mode
- - regular preinit -
- [ 6.450000] JFFS2 notice: (349) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 5 of xref (0 dead, 2 orphan) found.
- switching to jffs2
- - init -
- Please press Enter to activate this console. [ 7.560000] Compat-wireless backport release: compat-wireless-2012-07-13
- [ 7.570000] Backport based on wireless-testing.git master-2012-07-16
- [ 7.570000] compat.git: wireless-testing.git
- [ 7.640000] cfg80211: Calling CRDA to update world regulatory domain
- [ 7.640000] cfg80211: World regulatory domain updated:
- [ 7.650000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
- [ 7.660000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
- [ 7.660000] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
- [ 7.670000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
- [ 7.680000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
- [ 7.690000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
- [ 8.260000] usbcore: registered new interface driver usbfs
- [ 8.260000] usbcore: registered new interface driver hub
- [ 8.270000] usbcore: registered new device driver usb
- [ 8.890000] PPP generic driver version 2.4.2
- [ 9.100000] ip_tables: (C) 2000-2006 Netfilter Core Team
- [ 9.400000] NET: Registered protocol family 24
- [ 9.440000] nf_conntrack version 0.5.0 (470 buckets, 1880 max)
- [ 9.900000] dwc_otg: version 2.72a 24-JUN-2008
- [ 9.910000] dwc_otg: Core Release: 2.66a
- [ 10.110000] dwc_otg: Periodic Transfer Interrupt Enhancement - disabled
- [ 10.120000] dwc_otg: Multiprocessor Interrupt Enhancement - disabled
- [ 10.120000] dwc_otg: Using DMA mode
- [ 10.130000] dwc_otg: Device using Buffer DMA mode
- [ 10.130000] dwc_otg dwc_otg.0: DWC OTG Controller
- [ 10.140000] dwc_otg dwc_otg.0: new USB bus registered, assigned bus number 1
- [ 10.140000] dwc_otg dwc_otg.0: irq 26, io mem 0x101c0000
- [ 10.150000] dwc_otg: Init: Port Power? op_state=1
- [ 10.160000] dwc_otg: Init: Power Port (0)
- [ 10.160000] hub 1-0:1.0: USB hub found
- [ 10.160000] hub 1-0:1.0: 1 port detected
- [ 14.080000] device eth0.1 entered promiscuous mode
- [ 14.080000] device eth0 entered promiscuous mode
- [ 14.090000] br-lan: port 1(eth0.1) entered forwarding state
- [ 14.090000] br-lan: port 1(eth0.1) entered forwarding state
- [ 16.090000] br-lan: port 1(eth0.1) entered forwarding state
- [ 16.310000] ramips-wdt: timeout value 60 must be 0 < timeout <= 40, using 40
- BusyBox v1.19.4 (2012-09-05 15:19:06 MDT) built-in shell (ash)
- Enter 'help' for a list of built-in commands.
- _______ ________ __
- | |.-----.-----.-----.| | | |.----.| |_
- | - || _ | -__| || | | || _|| _|
- |_______|| __|_____|__|__||________||__| |____|
- |__| W I R E L E S S F R E E D O M
- -----------------------------------------------------
- ATTITUDE ADJUSTMENT (Bleeding Edge, r33315)
- -----------------------------------------------------
- * 1/4 oz Vodka Pour all ingredients into mixing
- * 1/4 oz Gin tin with ice, strain into glass.
- * 1/4 oz Amaretto
- * 1/4 oz Triple sec
- * 1/4 oz Peach schnapps
- * 1/4 oz Sour mix
- * 1 splash Cranberry juice
- -----------------------------------------------------
- root@OpenWrt:/# uname -a
- Linux OpenWrt 3.3.8 #1 Wed Sep 5 15:22:46 MDT 2012 mips GNU/Linux
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement