20160530_jeffrey - silenceuncrio/diary GitHub Wiki
Index
- 0905 - update mmc
- 1305 - NodeMCU UART module
- 1350 - m300
- 1450 - demo NodeMCU
- 1630 - m300 kernel
- 1655 - U-Boot configuration
0905
今天要 update 一下禮拜三要用的教學文件
將 mmc 的部分看完
1135
跟 ariel 溝通一下 by tftp 的部分就放到等 NAND Flash 的 main board 來了再補
不過 ariel 自己的部分也忙不完了... 所以她說就照我的意思吧
這個時間點也不太知道怎麼幫她
1305
改作一些 NodeMCU
上禮拜看到 UART module 的部分
主要是想透過 UART 來對 NodeMCU 作一些設定
1350
再回來做 m300
1450
charlie 表示希望我能 demo 一下 NodeMCU 偵測到聲音過大然後發出 email 通知 給老闆看一下
將上禮拜五的 init.lua
再放到板子上
demo 不是問題
不過老闆看完之後總是會想做
我該回答我要做多久呢?
賺外快的事就先算了
因為我也領了公司的錢練了一些功夫
先盤一下有甚麼事需要讓 user 來做設定的
直接從 init.lua
就知道了
local MY_EMAIL = "[email protected]"
local EMAIL_PASSWORD = "abc456"
-- The SMTP server and port of your email provider.
-- If you don't know it google [my email provider] SMTP settings
local SMTP_SERVER = "mail.proscend.com"
local SMTP_PORT = "25"
-- The account you want to send email to
local mail_to = "[email protected]"
-- Your access point's SSID and password
local SSID = "ISMS-2G"
local SSID_PASSWORD = "proscendisms"
...
如果是問到有沒有工讀生想繼續做就要拒絕
1630
跟著 jammy 一起作一下 kernel 相關的事情
bitbake linux-imx -c compile -f
可以強迫重新 compile
bitbake linux-imx -c devshell
可以直接跳到 source code 目錄下來工作
目前跳到 source code 目錄下執行了 make menuconfig
後修改了一些選項後又重 build
不過 /tmp/deploy/images/imx6ulevk/
下沒有新產生的 image
bitbake linux-imx -c deploy
...
有產生一些 image... 但沒看見新的 *.sdcard
bitbake core-image-minimal
... 慘...
Currently 1 running tasks (1077 of 1893):
...
有得等了
1650
build 好了... 看來跳過不少 tasks...
1655
目前進行 5.5 U-Boot configuration
的 U-Boot NAND
遇到問題
不太知道如何描述問題
在 fsl-release-bsp/sources/meta-fsl-bsp-release/imx/meta-bsp/conf/machine
之下有個 imx6ulevk.conf
#@TYPE: Machine
#@NAME: Freescale i.MX6UL Evaluation Kit
#@SOC: i.MX6UL
#@DESCRIPTION: Machine configuration for Freescale i.MX6UL EVK
#@MAINTAINER: Lauren Post <[email protected]>
include conf/machine/include/imx-base.inc
include conf/machine/include/tune-cortexa7.inc
include conf/machine/include/imx6ul-common.inc
SOC_FAMILY = "mx6ul"
KERNEL_DEVICETREE = "imx6ul-14x14-evk.dtb imx6ul-14x14-evk-csi.dtb imx6ul-14x14-evk-btwifi.dtb \
imx6ul-14x14-evk-usb-certi.dtb \
"
UBOOT_CONFIG ??= "sd"
UBOOT_CONFIG[sd] = "mx6ul_14x14_evk_config,sdcard"
UBOOT_CONFIG[qspi1] = "mx6ul_14x14_evk_qspi1_config"
UBOOT_CONFIG[mfgtool] = "mx6ul_14x14_evk_config"
感覺應該要出現 UBOOT_CONFIG[nand] = ...
的描述才對
搞不好直接改這個 file 就好了
明天再來試
1810
可能要回頭看 porting guide 了