20160721_jeffrey - silenceuncrio/diary GitHub Wiki
Index
- 0910 - 找出
mx6ul_14x14_evk.h
修改的關鍵點 - 0930 - 做完整的 MfgTool burn image - 2016-07-21-MfgTool.log - nand 開機 看不到 console 任何訊息
- 1005 - NAND BOOT fail on iMX6UL
- 1020 -
i.MX 6UltraLite Applications Processor Reference Manual
-Chapter 8 System Boot
- 1305 - BOOT_CFG1[1:0] - Nand_Row_address_bytes - Row Address Cycle
- 1420 - M300 Web UI Proposal meeting
- 1425 - 反及閘快閃記憶體(NAND Flash Memory)簡介
- 1610 - MX30LF1G18AC - 2 個
Row address
-BOOT_CFG1[1:0]
=2'b01
- 1620 - morris 幫忙改 - 開機 console 沒 任何訊息
0910
先 review 昨天做的
試著找出 mx6ul_14x14_evk.h
修改的關鍵點
都沒修改
U-Boot 2015.04-imx_v2015.04_3.14.52_1.1.0_ga+g6cf684a (Jul 21 2016 - 09:16:20)
CPU: Freescale i.MX6UL rev1.1 at 396 MHz
CPU: Temperature 42 C
Reset cause: POR
Board: MX6UL 14x14 EVK
I2C: ready
DRAM: 512 MiB
NAND: 128 MiB
MMC: FSL_SDHC: 0, FSL_SDHC: 1
MXS NAND: DMA read error
...
把原本下面的敘述從 source 1xx 行的位置搬到 347-353 行
#ifdef CONFIG_SYS_USE_NAND
#define CONFIG_SYS_FSL_USDHC_NUM 1
#else
#define CONFIG_SYS_FSL_USDHC_NUM 2
#endif
U-Boot 2015.04-imx_v2015.04_3.14.52_1.1.0_ga+g6cf684a (Jul 21 2016 - 09:24:38)
CPU: Freescale i.MX6UL rev1.1 at 396 MHz
CPU: Temperature 48 C
Reset cause: POR
Board: MX6UL 14x14 EVK
I2C: ready
DRAM: 512 MiB
NAND: 128 MiB
MMC: FSL_SDHC: 0
*** Warning - bad CRC, using default environment
Display: TFT43AB (480x272)
Video: 480x272x24
In: serial
Out: serial
Err: serial
Net: FEC1
Error: FEC1 address not set.
Boot from USB for mfgtools
Use default environment for mfgtools
Run bootcmd_mfg: run mfgtool_args;bootz ${loadaddr} ${initrd_addr} ${fdt_addr};
Hit any key to stop autoboot: 0
Kernel image @ 0x80800000 [ 0x000000 - 0x552a48 ]
## Loading init Ramdisk from Legacy Image at 83800000 ...
Image Name: fsl-image-mfgtool-initramfs-imx6
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 7565864 Bytes = 7.2 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 83000000
Booting using the fdt blob at 0x83000000
Using Device Tree in place at 83000000, end 8300b875
Starting kernel ...
...
過了... 要了解原因還要再追
0930
試著做完整的 MfgTool bur image
看起來是成功了
不過調整 boot mode 從 nand 開機卻看不到 console 的任何訊息
1005
看來我遇到跟這著人同樣的問題 - NAND BOOT fail on iMX6UL
1020
花點時間看一下
i.MX 6UltraLite Applications Processor Reference Manual
- Chapter 8 System Boot
1305
目前對 BOOT_CFG1[1:0] 的設定有所懷疑
這個設定在 i.MX 6UltraLite Applications Processor Reference Manual
裡面的描述出現兩個字眼
- Nand_Row_address_bytes
- Row Address Cycle
依據 3V, 1G-bit NAND Flash Memory MX30LF1G18AC
datasheet 的 5. SCHEMATIC CELL LAYOUT AND ADDRESS ASSIGNMENT
There are four address cycles for the address allocation, please refer to the table below.
我想設定成 BOOT_CFG1[1:0] = 10
試試
由 M300 的線路圖可以知道 SW601 boot device settings 與 BOOT_CFG1 之間的關係如下
- BOOT_CFG1[0] - SW601 D1
- BOOT_CFG1[1]
- BOOT_CFG1[2]
- BOOT_CFG1[3]
- BOOT_CFG1[4]
- BOOT_CFG1[5] - SW601 D2
- BOOT_CFG1[6] - SW601 D3
- BOOT_CFG1[7] - SW601 D4
BOOT_CFG1[1] 要修改的話必須請 morris 幫忙
目前已經將這個 issue 請 Flash 廠商的 FAE 幫忙確認
希望一次就中阿...
1420
剛剛由 ariel 主持一個 M300 Web UI Proposal 的 meeting
老闆跟業務都有參與
web UI 就保持我們 Proscend 自己的 Style 來設計就好了 - 以藍色為主
1425
充實一下 NAND Flash 的常識 - 反及閘快閃記憶體(NAND Flash Memory)簡介
1610
參考 MX30LF1G18AC 的 Table 1. Address Allocation
這個圖我可以解讀成有 2 個 Column address
和 2 個 Row address
那 BOOT_CFG1[1:0]
, 管他是 Row Address Cycles
或 Nand_Row_address_bytes
我們應該設定成 2 個 - 也就是 BOOT_CFG1[1:0]
= 2'b01
參考 morris 的線路圖, 我們需要將 BOOT_CFG1[1]
從 1'b1
改成 1'b0
也就是 R623 不上電阻, R632 上電阻 - 從 pull high
變 pull low
1620
morris 幫忙改了一片
開機時 console 還是沒任何訊息
用 MfgTool 再燒錄一次試試
可以燒錄... 但開機時 console 還是沒任何訊息