OpenWRT编译用于高通AR9561(2)

Cisco 18系列AP在u-boot下tftp启动 18系列AP在u-boot下不能直接启动tar文件,需要将tar文件解压得到part.bin文件然后才能启动。 在u-boot下使用bootipq tftp启动镜像。 (RNAQ-C7) # bootipq tftp Specified BOOT: part2 Booting from tftp Using eth1 device TFTP from server 192.168.1.254; our IP address is 192.168.1.1 Filename 'part.bin'. Loa 阅读详情

 1.  Tftp将软件升级到板子上(绿色字体为升级命令)

U-Boot1.1.4-dirty (Apr 18 2016 - 20:41:39)

ap151 -Dragonfly 1.0DRAM: 

sri

ath_ddr_initial_config(278):(ddr2 init)

ath_sys_frequency:cpu 775 ddr 650 ahb 258

Tapvalues = (0xf, 0xf, 0xf, 0xf)

128 MB

Top ofRAM usable for U-Boot at: 88000000

Reserving199k for U-Boot at: 87fcc000

Reserving192k for malloc() at: 87f9c000

Reserving44 Bytes for Board Info at: 87f9bfd4

Reserving36 Bytes for Global Data at: 87f9bfb0

Reserving128k for boot params() at: 87f7bfb0

StackPointer at: 87f7bf98

Nowrunning in RAM - U-Boot at: 87fcc000

FlashManuf Id 0xc8, DeviceId0 0x40, DeviceId1 0x17

flashsize 8MB, sector count = 128

Flash:  8 MB

***Warning - bad CRC, using default environment

 

***Warning *** : PCIe WLAN Module not found !!!

In:    serial

Out:   serial

Err:   serial

Net:   ath_gmac_enet_initialize...

No validaddress in Flash. Using fixed address

No validaddress in Flash. Using fixed address

ath_gmac_enet_initialize:reset mask:c02200

Dragonfly---->S27 PHY *

: cfg10x80000000 cfg2 0x7114

eth0:00:03:7f:09:0b:ad

athrs27_phy_setupATHR_PHY_CONTROL 4 :1000

athrs27_phy_setupATHR_PHY_SPEC_STAUS 4 :10

eth0 up

ATHRS27:resetting s27

ATHRS27:s27 reset done

: cfg10x800c0000 cfg2 0x7214

eth1:00:03:7f:09:0b:ad

athrs27_phy_setupATHR_PHY_CONTROL 0 :1000

athrs27_phy_setupATHR_PHY_SPEC_STAUS 0 :10

athrs27_phy_setupATHR_PHY_CONTROL 1 :1000

athrs27_phy_setupATHR_PHY_SPEC_STAUS 1 :10

athrs27_phy_setupATHR_PHY_CONTROL 2 :1000

athrs27_phy_setupATHR_PHY_SPEC_STAUS 2 :10

athrs27_phy_setupATHR_PHY_CONTROL 3 :1000

athrs27_phy_setupATHR_PHY_SPEC_STAUS 3 :10

eth1 up

eth0,eth1

Setting0x181162c0 to 0x80

Hit anykey to stop autoboot:  0

ath>

ath>tftp 0x80060000 openwrt-ar71xx-ap151-8M-qca-legacy-uboot.bin

Tryingeth0

eth0 linkdown

FAIL

Tryingeth1

enet1port0 up

dup 1speed 1000

Usingeth1 device

TFTP fromserver 192.168.1.10; our IP address is 192.168.1.1

Filename'openwrt-ar71xx-ap151-8M-qca-legacy-uboot.bin'.

Loadaddress: 0x80060000

Loading:#################################

done

Bytestransferred = 166892 (28bec hex)

ath> erase 0x9f000000 +0x28bec

Erasingflash...

First 0x0last 0x2 sector size 0x10000

   2

Erased 3sectors

ath> cp.b 0x80060000 0x9f000000 0x28bec

Copy toFlash... write addr: 9f000000

done

ath>tftp 0x80060000 openwrt-ar71xx-generic-ap151-8M-kernel.bin

Tryingeth0

eth0 linkdown

FAIL

Tryingeth1

Usingeth1 device

TFTP fromserver 192.168.1.10; our IP address is 192.168.1.1

Filename'openwrt-ar71xx-generic-ap151-8M-kernel.bin'.

Loadaddress: 0x80060000

Loading:#################################################################

        #################################################################

        #################################################################

done

Bytestransferred = 1114112 (110000 hex)

ath>erase 0x9f680000 +0x110000

Erasingflash...

First0x68 last 0x78 sector size 0x10000

 120

Erased 17sectors

ath>cp.b 0x80060000 0x9f680000 0x110000

Copy toFlash... write addr: 9f680000

done

ath> tftp 0x80060000openwrt-ar71xx-generic-ap151-8M-rootfs-squashfs.bin

Tryingeth0

eth0 linkdown

FAIL

Tryingeth1

Usingeth1 device

TFTP fromserver 192.168.1.10; our IP address is 192.168.1.1

Filename'openwrt-ar71xx-generic-ap151-8M-rootfs-squashfs.bin'.

Loadaddress: 0x80060000

Loading:#################################################################

        #################################################################

        #################################################################

        #################################################################

done

Bytestransferred = 6422528 (620000 hex)

ath> erase 0x9f050000 +0x620000

Erasingflash...

First 0x5last 0x66 sector size 0x10000

 102

Erased 98sectors

ath> cp.b 0x800600000x9f050000 0x620000

Copy toFlash... write addr: 9f050000

Done

 

2.  重启设备

U-Boot1.1.4-dirty (Apr 18 2016 - 20:41:39)

ap151 -Dragonfly 1.0DRAM: 

sri

ath_ddr_initial_config(278):(ddr2 init)

ath_sys_frequency:cpu 775 ddr 650 ahb 258

Tapvalues = (0xf, 0xf, 0xf, 0xf)

128 MB

Top ofRAM usable for U-Boot at: 88000000

Reserving199k for U-Boot at: 87fcc000

Reserving192k for malloc() at: 87f9c000

Reserving44 Bytes for Board Info at: 87f9bfd4

Reserving36 Bytes for Global Data at: 87f9bfb0

Reserving128k for boot params() at: 87f7bfb0

StackPointer at: 87f7bf98

Now runningin RAM - U-Boot at: 87fcc000

FlashManuf Id 0xc8, DeviceId0 0x40, DeviceId1 0x17

flashsize 8MB, sector count = 128

Flash:  8 MB

***Warning - bad CRC, using default environment

 

***Warning *** : PCIe WLAN Module not found !!!

In:    serial

Out:   serial

Err:   serial

Net:   ath_gmac_enet_initialize...

No validaddress in Flash. Using fixed address

No validaddress in Flash. Using fixed address

ath_gmac_enet_initialize:reset mask:c02200

Dragonfly---->S27 PHY *

: cfg10x80000000 cfg2 0x7114

eth0: 00:03:7f:09:0b:ad

athrs27_phy_setupATHR_PHY_CONTROL 4 :1000

athrs27_phy_setupATHR_PHY_SPEC_STAUS 4 :10

eth0 up

ATHRS27:resetting s27

ATHRS27:s27 reset done

: cfg10x800c0000 cfg2 0x7214

eth1:00:03:7f:09:0b:ad

athrs27_phy_setupATHR_PHY_CONTROL 0 :1000

athrs27_phy_setupATHR_PHY_SPEC_STAUS 0 :10

athrs27_phy_setupATHR_PHY_CONTROL 1 :1000

athrs27_phy_setupATHR_PHY_SPEC_STAUS 1 :10

athrs27_phy_setupATHR_PHY_CONTROL 2 :1000

athrs27_phy_setupATHR_PHY_SPEC_STAUS 2 :10

athrs27_phy_setupATHR_PHY_CONTROL 3 :1000

athrs27_phy_setupATHR_PHY_SPEC_STAUS 3 :10

eth1 up

eth0,eth1

Setting0x181162c0 to 0x80

Hit anykey to stop autoboot:  0

##Booting image at 9f680000 ...

   Image Name:  MIPS OpenWrt Linux-3.3.8

   Created:     2016-05-17   6:29:33 UTC

   Image Type:  MIPS Linux Multi-File Image (lzma compressed)

   Data Size:   1090209 Bytes =  1 MB

   Load Address: 80060000

   Entry Point: 80060000

   Contents:

   Image 0: 1090201 Bytes =  1 MB

   Verifying Checksum at 0x9f680040 ...OK

   Uncompressing Multi-File Image ... OK

No initrd

##Transferring control to Linux (at address 80060000) ...

## Givinglinux memsize in bytes, 134217728

 

Startingkernel ...

 

[    0.000000] Linux version 3.3.8 (root@hp-pc)(gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Mon Apr18 20:51:48 CST 2016

[    0.000000] bootconsole [early0] enabled

[    0.000000] CPU revision is: 00019750 (MIPS74Kc)

[    0.000000] SoC: Qualcomm Atheros QCA956X rev0

[    0.000000] Clocks: CPU:775.000MHz,DDR:650.000MHz, AHB:258.333MHz, Ref:25.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 eachnode

[    0.000000] Early memory PFN ranges

[    0.000000]     0: 0x00000000 -> 0x00

360 T7 刷 immortalwrt 阅读详情

相关推荐

TP9343, WR886N QCA9561路由有救了 全国首发测试版固件

TP9343 是目前 TP-LINK 450M 无线路由使用的芯片,默认主频 750MHz。 100% 确认是 QCA9561 的缩水版,不含 USB 接口。 如果有 QCA956x 的路由不死 U-Boot 。

高通AR9220-9283-9344-9341等ART提取打包合集

此包为高通的无线芯片ART合集,里面包含的ART有:tp9343、qca9558、qca956x、ar9344、ar9342、ar9341、ar9283、9285、9287、9281、9280、ar9220、9223、ar9102、 ar2317

阿里巴巴达摩院人工智能训练师(高级)

阿里巴巴达摩院人工智能训练师(高级)

huang0612123的博客 1万+

关于小样本学习综述论文的总结

对小样本学习综述的个人总结

qq_46176086的博客 5460

从零搭建Synopsys EDA环境:Ubuntu系统下的完整安装与避坑指南

本文详细介绍了在Ubuntu系统下从零搭建Synopsys EDA环境的完整流程,包括系统配置、安装文件准备、核心工具安装、License配置及常见问题排查。特别针对数字IC设计场景,提供了VCS、Verdi、Design Compiler等EDA Tools的安装避坑指南和性能优化建议,帮助开发者高效搭建稳定的开发环境。

weixin_33738982的博客 497

三轴加速度传感器计步算法优化:动态阈值与滤波技术的实践应用

本文深入探讨了三轴加速度传感器计步算法的优化实践,重点分析了动态阈值调整与高效滤波技术如何协同提升计步精度与鲁棒性。通过对比均值滤波的局限,引入向量模长计算、多级自适应阈值以及状态机判决逻辑,并结合代码示例,为嵌入式及移动应用开发者提供了应对复杂运动场景的实用解决方案。

cherry的博客 513

常用本体建模工具

常用本体建模工具: Apollo、OntoStudio、TopBraid Composer、Semantic Turkey、Knoodl、Chimaera、OliEd、WebODE、Kmgen和DOME Protégé Protégé[1]是一款由斯坦福大学编写并维护的开源本体建模和编辑工具,其支持Web版本和PC版本,使用OWL语言(关于OWL的详细介绍可参看前文2.1节内容)对知识进行表示,读者可以通过Protégé的官方网站访问Web版本或下载桌面版本。Protégé最早开发于1987年,最初目的是

qq_40503347的博客 6190

【软考中级】多媒体应用设计师复习笔记第十章【free】

第10章法律法规与标准规范 行业标准 缩写的大写拼音 地方标准 DB加生代码 企业标准Q加斜线企业代号国际标准是国际标准化组织ISO和国际电工委员会IEC制定的标准 国家标准是由国务院标准化行政主管部门制定,全国范围内使用 ?强制性国家标准的代号为GB,推荐性国家标准的代号为GB/T。 ?软件开发规范GB8566-88属于强制性国家标准 在这里插入图片描述 行业标准代号由大写汉语拼音字母组成,加上斜线和T,组成推荐性行业标准,如XX/T。已经发布的行业代号有QJ(航天),SJ(电子

weixin_47120900的博客 645

手把手教你学Simulink--巴特沃斯滤波器设计与实现仿真

巴特沃斯滤波器的设计目标是拥有尽可能平滑的通带响应,这意味着在通带内信号衰减最小且没有波动。这种类型的滤波器非常适合用于音频处理、生物医学信号处理以及其他需要高保真度的应用场景。根据应用需求的不同,可以选择低通、高通、带通或带阻滤波器。明确你的系统需求,如输入信号类型(正弦波、方波等)、滤波器类型(低通、高通、带通或带阻)、截止频率、滤波器阶数等。假设我们需要设计一个4阶低通巴特沃斯滤波器,其截止频率为1kHz,用来过滤掉高于1kHz的所有频率成分。

MHD0815的博客 459

Data-Structures-and-Algorithm-Analysis-in-Java.pdf

作者: Weiss, Mark A. 出版社: Addison Wesley Data Structures and Algorithm Analysis in Java is an “advanced algorithms” book that fits between traditional CS2 and Algorithms Analysis courses. In the old ACM Curriculum Guidelines, this course was known as CS7. This text is for readers who want to learn good programming and algorithm analysis skills simultaneously so that they can develop such programs with the maximum amo...

Probability and Statistics - 4th edition

Probability and Statistics - 4th edition

文档:亲测可用解决vnc灰屏,黑屏,鼠标大黑叉情况

主要解决vnc-viewer灰屏,黑屏,鼠标大黑叉等现象,详细见文档。

深度学习工具包 DeepLearningToolbox

深度学习工具包Deprecation notice.-----This toolbox is outdated and no longer maintained.There are much better tools available for deep learning than this toolbox, e.g. [Theano](http://deeplearning.net/software/theano/), [torch](http://torch.ch/) or [tensorflow](http://www.tensorflow.org/)I would suggest you use one of the tools mentioned above rather than use this toolbox.Best, Rasmus.DeepLearnToolbox================A Matlab toolbox for Deep Learning.Deep Learning is a new subfield of machine learning that focuses on learning deep hierarchical models of data.It is inspired by the human brain's apparent deep (layered, hierarchical) architecture.A good overview of the theory of Deep Learning theory is[Learning Deep Architectures for AI](http://www.iro.umontreal.ca/~bengioy/papers/ftml_book.pdf)For a more informal introduction, see the following videos by Geoffrey Hinton and Andrew Ng.* [The Next Generation of Neural Networks](http://www.youtube.com/watch?v=AyzOUbkUf3M) (Hinton, 2007)* [Recent Developments in Deep Learning](http://www.youtube.com/watch?v=VdIURAu1-aU) (Hinton, 2010)* [Unsupervised Feature Learning and Deep Learning](http://www.youtube.com/watch?v=ZmNOAtZIgIk) (Ng, 2011)If you use this toolbox in your research please cite [Prediction as a candidate for learning deep hierarchical models of data](http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6284)```@MASTERSTHESIS\{IMM2012-06284, author = "R. B. Palm", title = "Prediction as a candidate for learning deep hierarchical models of data", year = "2012",}```Contact: rasmusbergpalm at gmail dot comDirectories included in the toolbox-----------------------------------`NN/` - A library for Feedforward Backpropagation Neural Networks`CNN/` - A library for Convolutional Neural Networks`DBN/` - A library for Deep Belief Networks`SAE/` - A library for Stacked Auto-Encoders`CAE/` - A library for Convolutional Auto-Encoders`util/` - Utility functions used by the libraries`data/` - Data used by the examples`tests/` - unit tests to verify toolbox is workingFor references on each library check REFS.mdSetup-----1. Download.2. addpath(genpath('DeepLearnToolbox'));Example: Deep Belief Network---------------------```matlabfunction test_example_DBNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit RBM and visualize its weightsrand('state',0)dbn.sizes = [100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);figure; visualize(dbn.rbm{1}.W'); % Visualize the RBM weights%% ex2 train a 100-100 hidden unit DBN and use its weights to initialize a NNrand('state',0)%train dbndbn.sizes = [100 100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);%unfold dbn to nnnn = dbnunfoldtonn(dbn, 10);nn.activation_function = 'sigm';%train nnopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.10, 'Too big error');```Example: Stacked Auto-Encoders---------------------```matlabfunction test_example_SAEload mnist_uint8;train_x = double(train_x)/255;test_x = double(test_x)/255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit SDAE and use it to initialize a FFNN% Setup and train a stacked denoising autoencoder (SDAE)rand('state',0)sae = saesetup([784 100]);sae.ae{1}.activation_function = 'sigm';sae.ae{1}.learningRate = 1;sae.ae{1}.inputZeroMaskedFraction = 0.5;opts.numepochs = 1;opts.batchsize = 100;sae = saetrain(sae, train_x, opts);visualize(sae.ae{1}.W{1}(:,2:end)')% Use the SDAE to initialize a FFNNnn = nnsetup([784 100 10]);nn.activation_function = 'sigm';nn.learningRate = 1;nn.W{1} = sae.ae{1}.W{1};% Train the FFNNopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.16, 'Too big error');```Example: Convolutional Neural Nets---------------------```matlabfunction test_example_CNNload mnist_uint8;train_x = double(reshape(train_x',28,28,60000))/255;test_x = double(reshape(test_x',28,28,10000))/255;train_y = double(train_y');test_y = double(test_y');%% ex1 Train a 6c-2s-12c-2s Convolutional neural network %will run 1 epoch in about 200 second and get around 11% error. %With 100 epochs you'll get around 1.2% errorrand('state',0)cnn.layers = { struct('type', 'i') %input layer struct('type', 'c', 'outputmaps', 6, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %sub sampling layer struct('type', 'c', 'outputmaps', 12, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %subsampling layer};cnn = cnnsetup(cnn, train_x, train_y);opts.alpha = 1;opts.batchsize = 50;opts.numepochs = 1;cnn = cnntrain(cnn, train_x, train_y, opts);[er, bad] = cnntest(cnn, test_x, test_y);%plot mean squared errorfigure; plot(cnn.rL);assert(er<0.12, 'Too big error');```Example: Neural Networks---------------------```matlabfunction test_example_NNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);% normalize[train_x, mu, sigma] = zscore(train_x);test_x = normalize(test_x, mu, sigma);%% ex1 vanilla neural netrand('state',0)nn = nnsetup([784 100 10]);opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samples[nn, L] = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.08, 'Too big error');%% ex2 neural net with L2 weight decayrand('state',0)nn = nnsetup([784 100 10]);nn.weightPenaltyL2 = 1e-4; % L2 weight decayopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex3 neural net with dropoutrand('state',0)nn = nnsetup([784 100 10]);nn.dropoutFraction = 0.5; % Dropout fraction opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex4 neural net with sigmoid activation functionrand('state',0)nn = nnsetup([784 100 10]);nn.activation_function = 'sigm'; % Sigmoid activation functionnn.learningRate = 1; % Sigm require a lower learning rateopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex5 plotting functionalityrand('state',0)nn = nnsetup([784 20 10]);opts.numepochs = 5; % Number of full sweeps through datann.output = 'softmax'; % use softmax outputopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex6 neural net with sigmoid activation and plotting of validation and training error% split training data into training and validation datavx = train_x(1:10000,:);tx = train_x(10001:end,:);vy = train_y(1:10000,:);ty = train_y(10001:end,:);rand('state',0)nn = nnsetup([784 20 10]); nn.output = 'softmax'; % use softmax outputopts.numepochs = 5; % Number of full sweeps through dataopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, tx, ty, opts, vx, vy); % nntrain takes validation set as last two arguments (optionally)[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');```[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/rasmusbergpalm/deeplearntoolbox/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

上一篇: OpenWRT编译用于高通AR9561(1)
下一篇: openwrt: Build dependency: Please do not compile as root解决方法
CodeGandalf
博客等级 码龄17年 15粉丝 24原创
评论 2
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值