yodaos-project / yodaos Goto Github PK
View Code? Open in Web Editor NEWYet another Linux distribution for voice-enabled IoT and embrace Web standards
License: Apache License 2.0
Yet another Linux distribution for voice-enabled IoT and embrace Web standards
License: Apache License 2.0
When I find this project, I am surprised.
I like this good idea.
In fact, I had this idea in many yeas ago, but I have't this power.
Now, I will add this project, following this project.
I think if this project can find a right ways, if will over than android.
Environment:
CentOS 7 1810 in Virtual Box on MacOS.
The readme requires to install libusb in ubuntu but not required in CentOS, should I install it?
Run apt-get install build-essential subversion libncurses5-dev zlib1g-dev gawk gcc-multilib flex git-core gettext libssl-dev unzip texinfo device-tree-compiler dosfstools libusb
Will get error:
Maybe libusb
-> libusb-1.0-0
?
Fetching project kamino_rokidos/gx8010/uboot
Fetching project kamino_rokidos/open-platform/embedded-linux/system/core
The authenticity of host '[openai-corp.rokid.com]:29418 ([118.190.121.203]:29418)' can't be established.
RSA key fingerprint is SHA256:NTl8ExH0GNuZm0tCkD6bn4n86BtgylIbjJEUxIa8CZI.
Are you sure you want to continue connecting (yes/no)? Host key verification failed.
The authenticity of host '[openai-corp.rokid.com]:29418 ([118.190.121.203]:29418)' can't be established.
RSA key fingerprint is SHA256:NTl8ExH0GNuZm0tCkD6bn4n86BtgylIbjJEUxIa8CZI.
Are you sure you want to continue connecting (yes/no)? Host key verification failed.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
The authenticity of host '[openai-corp.rokid.com]:29418 ([118.190.121.203]:29418)' can't be established.
RSA key fingerprint is SHA256:NTl8ExH0GNuZm0tCkD6bn4n86BtgylIbjJEUxIa8CZI.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '[openai-corp.rokid.com]:29418,[118.190.121.203]:29418' (RSA) to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
At smartphone and resource-rich devices, we could use Node.js to optimize the performance and development experience, thus that's more friend to developers if we could build on gyp.
In https://github.com/yodaos-project/yodaos#download-source it recommends registering.
But the SMS verify code takes 15 min to deliver, and it keeps saying it is outdated.
So currently it is very uneasy to register.
Hello,
I am trying the read the PHY ID number and model number.
Here are the commands I am passing to PHY to get the response.
id=MDIO_read(phyAddr, 0x02);
model=MDIO_read(phyAddr, 0x03);
read config -
uint16 MDIO_read(uint8_t phy_addr, uint8_t reg_addr)
{
while (0 != ETHERNET_0_MAC_MDIO_ADDRESS.bits.GB);
ETHERNET_0_MAC_MDIO_DATA.bits.RA = reg_addr ;
ETHERNET_0_MAC_MDIO_DATA.bits.GD = 0;
ETHERNET_0_MAC_MDIO_ADDRESS.bits.PA = phy_addr;
ETHERNET_0_MAC_MDIO_ADDRESS.bits.RDA = reg_addr;
ETHERNET_0_MAC_MDIO_ADDRESS.bits.PSE = 1;
ETHERNET_0_MAC_MDIO_ADDRESS.bits.BTB = 0;
ETHERNET_0_MAC_MDIO_ADDRESS.bits.NTC = 0;
ETHERNET_0_MAC_MDIO_ADDRESS.bits.CR = 0x0;
ETHERNET_0_MAC_MDIO_ADDRESS.bits.SKAP = 0;
ETHERNET_0_MAC_MDIO_ADDRESS.bits.C45E = 1;
ETHERNET_0_MAC_MDIO_ADDRESS.bits.GOC = 3;
ETHERNET_0_MAC_MDIO_ADDRESS.bits.GB = 1;
while (0 !=ETHERNET_0_MAC_MDIO_ADDRESS.bits.GB);
return (ETHERNET_0_MAC_MDIO_DATA.bits.GD);
}
But it is not responding. MDIOs GD filed fills with 0x0000 only.
So, Are those above configurations are correct? Or any other initialization needs to be carried out before reading the IDs or model numbers?
We should verify if current codebase are stable to download, build and use, so that's good to integrate this at travis daily.
问题出处,运行:
logread -f
结果:
startup[1776]: refreshTokenTime=6944608444.451904, request result={"accessKeyId":"STS.NHp...gZZ","accessKeySecret":"A6J...4jht","expiration":"2019-02-14T14:02:31Z","token":"CAI...WXir
startup[1776]: =====url===== https://apigwrest.open.rokid.com/v1/sts/StsService/GetToken
startup[1776]: refreshTokenTime=6945337545.351074, request result={"accessKeyId":"STS.NHp...gZZ","accessKeySecret":"A6J...jht","expiration":"2019-02-14T14:14:41Z","token":"CAI...Xir
startup[1776]: =====url===== https://apigwrest.open.rokid.com/v1/sts/StsService/GetToken
startup[1776]: refreshTokenTime=6945402677.48291, request result={"accessKeyId":"STS.NHp...gZZ","accessKeySecret":"A6J...jht","expiration":"2019-02-14T14:15:47Z","token":"CAI...irC
startup[1776]: =====url===== https://apigwrest.open.rokid.com/v1/sts/StsService/GetToken
startup[1776]: refreshTokenTime=6944706173.069092, request result={"accessKeyId":"STS.NHp...ZZ","accessKeySecret":"A6J...jht","expiration":"2019-02-14T14:04:11Z","token":"CAISi...XnuuKCWXir
startup[1776]: =====url===== https://apigwrest.open.rokid.com/v1/sts/StsService/GetToken
startup[1776]: refreshTokenTime=6944791615.659912, request result={"accessKeyId":"STS.NH...3gZZ","accessKeySecret":"A6JN9a...4jht","expiration":"2019-02-14T14:05:38Z","token":"CAI...Xir
startup[1776]: =====url===== https://apigwrest.open.rokid.com/v1/sts/StsService/GetToken
startup[1776]: refreshTokenTime=6945480171.72998, request result={"accessKeyId":"STS.NH...KN3gZZ","accessKeySecret":"A6JN9a3V...M55C4jht","expiration":"2019-02-14T14:17:07Z","token":"CAISiwV1...XirC
系统版本:
Linux OpenWrt 4.4.25 #101 Mon Nov 26 04:16:26 UTC 2018 armv7l GNU/Linux
OpenWrt config: products/rokid/dev3.3/configs/leo_k18_dev33_defconfig
编译 Building C object modules/mic_array/CMakeFiles/mic_array.default.dir/mic_array.c.o 时,缺少 vsp_ioctl.h。
经验证,在 openwrt/build_dir/target-arm_cortex-a7+neon_glibc-2.22_eabi/android-hardware/modules/mic_array/CMakeFiles/mic_array.default.dir/flags.make 中,C_INCLUDES 添加
-I/diskdata1/yodaos/openwrt/build_dir/target-arm_cortex-a7+neon_glibc-2.22_eabi/android-hardware/nationalchip/gx8010/vsp_firmware/include 即可解决。
此为临时解决方案,需要在编译依赖处添加相关配置。
随后,再次编译,在其它位置也发现该问题。。。
In file included from /diskdata1/yodaos/openwrt/build_dir/target-arm_cortex-a7+neon_glibc-2.22_eabi/factory/./src_rokid/include/adb_func.h:11:0,
from /diskdata1/yodaos/openwrt/build_dir/target-arm_cortex-a7+neon_glibc-2.22_eabi/factory/src_rokid/app/adb_factory.c:4:
/diskdata1/yodaos/openwrt/build_dir/target-arm_cortex-a7+neon_glibc-2.22_eabi/factory/./src_rokid/include/common.h:27:24: fatal error: vsp_ioctl.h: No such file or directory
compilation terminated.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.