页次: 1
buildroot-tiny200 (F1C100/200s) 开发包近期更新内容 * 已支持DVP摄像头 *
http://whycan.com/t_5221.html
(出处:哇酷开发者社区【全志 V3S/F1C100s/X3】)
仿照aodzip改一下就可以了
你那个工具链arm9不能用噢, 有两个选择:
1. 用 arm-2014.05-29-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2
2. 用 aodzip的buildroot:
buildroot-tiny200 (F1C100/200s) 开发包近期更新内容 * 已支持DVP摄像头 *
http://whycan.com/t_5221.html
(出处:哇酷开发者社区【全志 V3S/F1C100s/X3】)
给你发一个1024x600的V3s固件, 你跑下试一试看: sysimage-sdcard.7z
调试串口是 UART2(PB0/PB1)
背光是 PB4
=> ums 100 mmc 0
UMS: LUN 0, dev 0, hwpart 0, sector 0x0, count 0x3aa000
CTRL+C - Operation aborted
=> ums 1000 mmc 0
UMS: LUN 0, dev 0, hwpart 0, sector 0x0, count 0x3aa000
CTRL+C - Operation aborted
=> ums
ums - Use the UMS [USB Mass Storage]
Usage:
ums <USB_controller> [<devtype>] <dev[:part]> e.g. ums 0 mmc 0
devtype defaults to mmc
=>
请问楼主 @aodzip 这个 <USB_controller> 参数代表什么意义呢?
从荔枝派 16M flash镜像 Nano_flash_800480.bin 抽出对应的文件,这个固件的默认串口是 UART0(PE0,1): https://whycan.cn/t_1662.html
请问如何在Ubuntu下面挂载有三个分区的TF卡镜像文件, 我需要修改里面的文件内容: https://whycan.cn/t_4401.html#p42622
搞定一个简单的重写:
http://localhost/t_1122.html
<===>
http://localhost/index.php/index/index/index/viewtopic/1122
<IfModule mod_rewrite.c>
Options +FollowSymlinks -Multiviews
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^t_(\d+).html$ index.php/index/index/viewtopic/id/$1 [QSA,PT,L]
</IfModule>
application/index/controller/Index.php:
<?php
namespace app\index\controller;
class Index
{
public function viewtopic($id = 100)
{
return 'hello: ' . $id;
}
}
居然搜到了关于上面 .htaccess 重写脚本的解释: https://segmentfault.com/q/1010000009402187
<IfModule mod_rewrite.c>
Options +FollowSymlinks
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
</IfModule>
1、排除一些条件,必须两个条件都满足后才重定向到index.php
//如果你访问的文件不等于目录
RewriteCond %{REQUEST_FILENAME} !-d
//如果你访问不是文件,比如你可能访问的JPEG等图片文件
RewriteCond %{REQUEST_FILENAME} !-f
2、^(.*)$ 匹配所有的路径映射到入口文件 index.php/$1
3、标签 [QSA,PT,L] QSA:表示保留参数如get传值?xxx==xx...; PT:再把这个URL交给Apache处理;L:作为最后一条;
PT和L可加可不加。
后来找到官方文档: https://www.kancloud.cn/manual/thinkphp5/177576
1. 先执行: a2enmod rewrite
2. AllowOverride None 改为 AllowOverride All
<Directory /var/www/html>
AllowOverride All
</Directory>
3. 把下面的内容保存为.htaccess文件放到应用入口文件的同级目录下:
<IfModule mod_rewrite.c>
Options +FollowSymlinks -Multiviews
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?/$1 [QSA,PT,L]
</IfModule>
现在可以了.
安装thinkphp5 参考这里: https://whycan.cn/t_3445.html#p34444
安装好 thinkphp5 之后, 发现一定要用这个网址访问:
http://localhost/index.php/index/index/index
可是我记得以前可以用这个地址访问:
http://localhost/index/index/index
牛, 百度了一天,终于找到一个靠谱的答案了,谢谢楼主, 谢谢这个牛皮的网站。
新建了一个腾讯云ubuntu18.04实例,总结一下:
sudo apt-get update; \
sudo apt-get install software-properties-common -y; \
sudo add-apt-repository ppa:ondrej/php; \
sudo apt-get update; \
sudo apt-get install -y php5.6; \
sudo apt-get install apache2 mysql-server composer -y; \
sudo apt-get install php5.6-curl php5.6-mbstring php5.6-mysql -y;
#设置阿里云镜像 https://whycan.cn/t_3680.html
sudo composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/
#下载thinkphp5
sudo composer create-project topthink/think ./ 5.1.39
页次: 1