openwrt移植到pb44---第一章(使用chaos_calmer)
很久以前就打算移植openwrt到pb44上,现在手上有pb44的板子而且有空,所以果断开始移植。首先下载代码,make menuconfig选择pb44,编译下载。
下载命令这里记录下
load -r -v -b 0x80500000 openwrt-ar71xx-generic-pb44-kernel.bin
fis create -b 0x80500000 -f 0xBF040000 -l 0x200000 -e 0x80060000 -r 0x80060000 vmlinux
load -r -v -b 0x80500000 openwrt-ar71xx-generic-pb44-rootfs-squashfs.bin
fis create -b 0x80500000 -l 0x400000 -e 0x0 rootfs
启动命令:
fis load -l vmlinux
exec
启动日志
RedBoot(tm) bootstrap and debug environment [ROMRAM]
Non-certified release, version UNKNOWN - built 14:44:36, Jun 5 2012
Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.
Board: pb44
RAM: 0x80000000-0x82000000, [0x80047380-0x80fb1000] available
FLASH: 0xbf000000 - 0xc0000000, 64 blocks of 0x00040000 bytes each.
== Executing boot script in 2.000 seconds - enter ^C to abort
RedBoot> fis load -l vmlinux
Image loaded from 0x80060000-0x802f92f4
RedBoot> exec
Now booting linux kernel:
Base address 0x80050000 Entry 0x80060000
Cmdline : console=ttyS0,115200 root=31:02 rootfstype=jffs2 init=/sbin/init
[ 0.000000] Linux version 3.3.7 (root@xiaobingjian-desktop) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #2 Wed Jun 6 10:16:35 CST 2012
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU revision is: 00019374 (MIPS 24Kc)
[ 0.000000] SoC: Atheros AR7161 rev 2
[ 0.000000] Clocks: CPU:680.000MHz, DDR:340.000MHz, AHB:170.000MHz, Ref:40.000MHz
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 08000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone PFN ranges:
[ 0.000000] Normal 0x00000000 -> 0x00008000
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] Early memory PFN ranges
[ 0.000000] 0: 0x00000000 -> 0x00008000
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
[ 0.000000] Kernel command line: board=PB44 console=ttyS0,115200 ethaddr=00.03.7f.ff.ff.fe rootfstype=squashfs,jffs2 noinitrd
[ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[ 0.000000] Writing ErrCtl register=00073442
[ 0.000000] Readback ErrCtl register=00073442
[ 0.000000] Memory: 126776k/131072k available (2073k kernel code, 4296k reserved, 389k data, 200k 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] Calibrating delay loop... 452.19 BogoMIPS (lpj=2260992)
[ 0.060000] pid_max: default: 32768 minimum: 301
[ 0.060000] Mount-cache hash table entries: 512
[ 0.070000] NET: Registered protocol family 16
[ 0.070000] gpiochip_add: registered GPIOs 0 to 15 on device: ath79
[ 0.080000] MIPS: machine is Atheros PB44 reference board
[ 2.280000] registering PCI controller with io_map_base unset
[ 2.690000] bio: create slab <bio-0> at 0
[ 2.690000] PCI host bridge to bus 0000:00
[ 2.700000] pci_bus 0000:00: root bus resource [mem 0x10000000-0x17ffffff]
[ 2.700000] pci_bus 0000:00: root bus resource [io 0x0000]
[ 2.710000] pci 0000:00:12.0: BAR 0: assigned [mem 0x10000000-0x1000ffff]
[ 2.710000] pci 0000:00:12.0: using irq 41 for pin 1
[ 2.720000] Switching to clocksource MIPS
[ 2.720000] NET: Registered protocol family 2
[ 2.730000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 2.730000] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[ 2.740000] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[ 2.740000] TCP: Hash tables configured (established 4096 bind 4096)
[ 2.750000] TCP reno registered
[ 2.750000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 2.760000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 2.760000] NET: Registered protocol family 1
[ 2.780000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 2.790000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 2.800000] msgmni has been set to 247
[ 2.800000] io scheduler noop registered
[ 2.800000] io scheduler deadline registered (default)
[ 2.810000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[ 2.840000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
[ 2.840000] console [ttyS0] enabled, bootconsole disabled
[ 2.840000] console [ttyS0] enabled, bootconsole disabled
[ 2.860000] ath79-spi ath79-spi: can't setup spi0.1, status -22
[ 2.860000] ath79-spi ath79-spi: can't create new device for spi-vsc7385
[ 2.870000] m25p80 spi0.0: found s25sl12800, expected m25p64
[ 2.870000] m25p80 spi0.0: s25sl12800 (16384 Kbytes)
[ 2.880000] Searching for RedBoot partition table in spi0.0 at offset 0xf80000
[ 3.240000] Searching for RedBoot partition table in spi0.0 at offset 0xfc0000
[ 3.600000] 5 RedBoot partitions found on MTD device spi0.0
[ 3.600000] Creating 5 MTD partitions on "spi0.0":
[ 3.610000] 0x000000000000-0x000000040000 : "RedBoot"
[ 3.620000] 0x000000040000-0x000000240000 : "vmlinux"
[ 3.620000] 0x000000240000-0x000000fc0000 : "rootfs"
[ 3.630000] mtd: partition "rootfs" set to be root filesystem
[ 3.630000] mtd: partition "rootfs_data" created automatically, ofs=3C0000, len=C00000
[ 3.640000] 0x0000003c0000-0x000000fc0000 : "rootfs_data"
[ 3.650000] 0x000000fc0000-0x000000fff000 : "FIS directory"
[ 3.650000] 0x000000fff000-0x000001000000 : "RedBoot config"
[ 3.670000] ag71xx_mdio: probed
[ 3.670000] eth0: Atheros AG71xx at 0xb9000000, irq 4
[ 3.980000] ag71xx ag71xx.0: eth0: connected to PHY at ag71xx-mdio.0:00 [uid=00070421, driver=Generic PHY]
[ 3.990000] eth1: Atheros AG71xx at 0xba000000, irq 5
[ 4.290000] TCP westwood registered
[ 4.300000] NET: Registered protocol family 17
[ 4.300000] 8021q: 802.1Q VLAN Support v1.8
[ 4.310000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[ 4.320000] Freeing unused kernel memory: 200k freed
[ 6.340000] gpio-keys-polled gpio-keys-polled: unable to claim gpio 22, err=-22
[ 6.340000] gpio-keys-polled: probe of gpio-keys-polled failed with error -22
- preinit -
[ 6.510000] leds-gpio: probe of leds-gpio failed with error -22
Press the [f] key and hit [enter] to enter failsafe mode
[ 7.980000] eth0: link up (100Mbps/Full duplex)
- regular preinit -
[ 9.760000] CLEANMARKER node found at 0x00050000, not first node in block (0x00040000)
[ 9.800000] jffs2_scan_inode_node(): CRC failed on node at 0x00056194: Read 0x8cc88ddb, calculated 0x8b6488ed
[ 9.860000] CLEANMARKER node found at 0x00060000, not first node in block (0x00040000)
[ 9.940000] CLEANMARKER node found at 0x00070000, not first node in block (0x00040000)
[ 10.100000] CLEANMARKER node found at 0x00090000, not first node in block (0x00080000)
[ 10.190000] Empty flash at 0x0009bc38 ends at 0x000a0000
[ 10.200000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0000: 0xdead instead
[ 11.100000] JFFS2 notice: (379) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 9 of xref (0 dead, 2 orphan) found.
switching to jffs2
- init -
[ 11.260000] eth0: link down
Please press Enter to activate this console. [ 11.790000] Compat-wireless backport release: compat-wireless-2012-05-16-3-gde86a47
[ 11.800000] Backport based on wireless-testing.git master-2012-05-29
[ 11.800000] compat.git: wireless-testing.git
[ 11.820000] cfg80211: Calling CRDA to update world regulatory domain
[ 11.830000] cfg80211: World regulatory domain updated:
[ 11.830000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 11.840000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 11.850000] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 11.860000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 11.860000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 11.870000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 12.030000] usbcore: registered new interface driver usbfs
[ 12.040000] usbcore: registered new interface driver hub
[ 12.050000] usbcore: registered new device driver usb
[ 12.580000] PCI: Enabling device 0000:00:12.0 (0000 -> 0002)
[ 14.150000] ieee80211 phy0: Atheros AR9280 Rev:2 mem=0xb0000000, irq=41
[ 14.160000] cfg80211: Calling CRDA for country: US
[ 14.160000] cfg80211: Regulatory domain changed to country: US
[ 14.170000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 14.180000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
[ 14.180000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
[ 14.190000] cfg80211: (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 14.200000] cfg80211: (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 14.210000] cfg80211: (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 14.210000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
[ 14.240000] PPP generic driver version 2.4.2
[ 14.330000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 14.500000] NET: Registered protocol family 24
[ 14.520000] nf_conntrack version 0.5.0 (1984 buckets, 7936 max)
[ 16.980000] device eth0 entered promiscuous mode
[ 16.990000] eth1: link up (1000Mbps/Full duplex)
[ 17.180000] eth0: link up (100Mbps/Full duplex)
[ 17.180000] br-lan: port 1(eth0) entered forwarding state
[ 17.190000] br-lan: port 1(eth0) entered forwarding state
[ 19.190000] br-lan: port 1(eth0) entered forwarding state
BusyBox v1.19.4 (2012-06-04 15:20:06 CST) 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, r32012)
-----------------------------------------------------
* 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:/#
存在问题:
(1)有线驱动-板子上只有vs8601,没有那个交换芯片
(2)无线驱动-无线网卡怎么没有识别到
最早存在的问题在chaos_calmer分支上好像没问题,继续研究
openwrt移植到pb44---第一章(使用chaos_calmer)相关推荐
- 第一章——如何将stm32407移植到stm32427
写在前面: 本次系列是针对比赛的调试,去年比赛我们使用的核心控制板是STM32F407,今年决定用STM32F427,所以需要移植我们的程序,这里用到的调试软件是IAR,当然用keil也是一样的.在此 ...
- 《Openwrt开发》第一章:newifi3 刷自己编译的Openwrt固件
最近在淘宝入手了一个二手的newifi3,主要是因为它内存大,而且性价比相当高,512M的ddr2和32M的flash买下来才100左右. 好了,废话不多说,开始第一章的源码编译征程. 1.准备 源码 ...
- 鸟哥的Linux私房菜(基础篇)-第一章、Linux是什么(一.4. 重点回顾)
第一章.Linux是什么 最近更新日期:2009/08/05 4. 重点回顾 5. 本章习题 6. 参考数据与延伸阅读 7. 针对本文的建议:http://phorum.vbird.org/viewt ...
- 鸟哥的Linux私房菜(基础篇)-第一章、Linux是什么(一.3. Linux的特色)
第一章.Linux是什么 最近更新日期:2009/08/05 3. Linux的特色 3.1 Linux的特色 3.2 Linux的优缺点 3.3 关于授权 Linux的特色 Linux是Torval ...
- 鸟哥的Linux私房菜(基础篇)-第一章、Linux是什么(一.2. Torvalds的Linux发展)
第一章.Linux是什么 最近更新日期:2009/08/05 2. Torvalds的Linux发展 2.1 与Minix之间 2.2 对386硬件的多任务测试 2.3 初次释出Linux 0.02 ...
- 鸟哥的Linux私房菜(基础篇)-第一章、Linux是什么(一.1.Linux是什么)
第一章.Linux是什么 最近更新日期:2009/08/05 1. Linux是什么 1.1 Linux是什么 1.2 Linux之前,Unix的历史 1.3 关于GNU计划 Linux是什么 我们知 ...
- C++Primer Plus (第六版)阅读笔记 + 源码分析【第一章:预备知识】
第一章:预备知识 C++简介 C++简史 C语言 C语言编程原理 面向对象编程 C++和泛型编程 C++的起源 可移植性和标准 程序创建的技巧 创建源代码文件 编译和链接 UNIX Linux Win ...
- 《linux内核设计与实现》第一章
第一章Linux内核简介 一.unix 1.Unix的历史 Unix是现存操作系统中最强大和最优秀的系统. --1969年由Ken Thompson和Dernis Ritchie的灵感点亮的产物. - ...
- 第一章:认识Redhat Linux
第一章:认识Redhat Linux 1.Redhat Linux发展史 Linux系统的诞生并不是凭空出现的,它的宗师是UNIX系统.Linux系统的诞生,是基于UNIX的,1991年,由一位芬兰郝 ...
最新文章
- m5310模组数据上传至onenet_NBIOT模组M5310接入中国移动物联网开放平台示例文档
- 【☀️C语言函数传参の结构体数组篇☀️】
- Wpf 数据绑定简介、实例1
- python读取csv数据画直方图_用csv文件作为inpu在python中绘制直方图
- 如何启动php程序下载,php – 最好的方式来启动下载?
- Android类参考---Fragment(二)
- 静态库和动态库的区别
- python-更新word目录
- 安卓项目迁移androidX(为何需要迁移,迁移遇到的问题及解决),必须迁移,早动早省事
- C#--Obsolete
- wifi路由器如何连接无线网络连接服务器,wifi路由器的使用方法 | 192路由网
- 使用Python探索四大名著【红楼梦】人物之间的关系,简直帅呆了
- 前端实现压缩图片的功能(vue-element)
- 径向基函数模型matlab,径向基函数RBF.ppt
- 《模拟电子技术基础》课程笔记(六)——场效应管
- 挖潜无极限—数据挖掘技术与应用热点扫描
- 提笔忘字:时代进步还是退步?
- LabVIEW面向对象-例
- 中鑫优配股票配资网站:11月10日周三早间市场信息
- 阿里云短信(必须有备案的域名)
热门文章
- CryEngine的maya插件安装
- 如何连接cent os系统服务器,配置cent os服务器
- 【数据可视化应用】绘制森林图(附Python和R语言代码)
- 深度爆料——剖析揭露IT培训行业黑幕
- 使用JavaScript 中的Math对象和勾股定理公式,计算鼠标的位置与页面图片中心点的距离,根据距离对页面上的图片进行放大或缩小处理。距离远时图片放大,距离近时图片缩小
- 实验室NEWIFI-D1路由小云系统简易配置参考
- 第二章 求之不得,寤寐思服。悠哉悠哉,辗转反侧
- ios 图标 圆角 大小
- 蓝牙相关学习:4.1.BLE空口包结构
- 真的有人会喜欢一个程序员?