您尚未登录。

#1 全志 SOC » LCD under 4 inch for lichee pi Nano ? » 2018-12-24 21:32:27

hotpeperoncino
回复: 1

Is there LCD under 4 inch which is available with lichee pi nano ?

#2 Re: 全志 SOC » xboot stops before xboot prompt. » 2018-12-16 17:21:28

hotpeperoncino 说:

what branch do you recommend?

The branch f1c100s-kk131 works well. Thanks.

#4 Re: 全志 SOC » xboot stops before xboot prompt. » 2018-12-16 15:18:46

I found that xboot smp_processor_id() returns non zero. so all tasks stop.

#5 Re: 全志 SOC » xboot stops before xboot prompt. » 2018-12-13 21:02:54

i checked serial line. I use CP2014.
xboot does not proceed, when inputing by keyboard.
Serial line has no noise after reconnecting to usb. so i think there is no problem with serial line.

IMG_20181213_215738.jpg

#6 Re: 全志 SOC » xboot stops before xboot prompt. » 2018-12-13 20:54:25

i checked serial line. I use CP2014.
xboot does not proceed, when inputing by keyboard.

#7 Re: 全志 SOC » xboot stops before xboot prompt. » 2018-12-12 19:46:37

Thank you. I notice serial lines has trouble.

#8 Re: 全志 SOC » xboot stops before xboot prompt. » 2018-12-12 14:10:39

I checked my serial. It is ok to communicate. When linux is installed, linux can boot and i can input characters to linux shell from PC keyboard though terminal software.
But sometime it may contain noise data.
I don't know how to avoid such noise data.
when linux is installed, after several times i plug and unplug USB cable repeatedly, the noise data looks flushed,
then it looks works well and boot successfully.
but xboot cannot boot to shell..

#9 全志 SOC » xboot stops before xboot prompt. » 2018-12-11 20:54:55

hotpeperoncino
回复: 13

I made xboot.bin.
And boot it like the following.
but i cannot get xboot prompt..
is it correct?

_  _ | |___ _____ _____ _| |_                   
\ \/ /|  _  |  _  |  _  |_   _|  (C) 2007-2018   
)  ( | |_| | |_| | |_| | | |____JIANJUNG
/_/\_\|_____|_____|_____| |_____________________|
V3.0.0 (Dec 11 2018 - 20:06:45) - [sast-kk131][SAST KK131 Digital Player Based On Allwinner F1C100S]
[    0.000000] Probe device 'romdisk.0' with romdisk
[    0.000010] Probe device 'hosc' with clk-fixed
[    0.000020] Probe device 'losc' with clk-fixed
[    0.000030] Probe device 'pll-cpu' with clk-f1c100s-pll
[    0.000040] Probe device 'pll-audio' with clk-f1c100s-pll
[    0.000050] Probe device 'pll-video' with clk-f1c100s-pll
[    0.000060] Probe device 'pll-ve' with clk-f1c100s-pll
[    0.000070] Probe device 'pll-ddr' with clk-f1c100s-pll
[    0.000080] Probe device 'pll-periph' with clk-f1c100s-pll
[    0.000090] Probe device 'cpu' with clk-mux
[    0.000100] Probe device 'hclk' with clk-divider
[    0.000110] Probe device 'ahb1-pre-div' with clk-divider
[    0.000120] Probe device 'mux-ahb1' with clk-mux
[    0.000130] Probe device 'ahb1' with clk-ratio
[    0.000140] Probe device 'apb1' with clk-ratio
[    0.000150] Probe device 'gate-bus-uart0' with clk-gate
[    0.000160] Probe device 'gate-bus-uart1' with clk-gate
[    0.000170] Probe device 'gate-bus-uart2' with clk-gate
[    0.000180] Probe device 'link-uart0' with clk-link
[    0.000190] Probe device 'link-uart1' with clk-link
[    0.000200] Probe device 'link-uart2' with clk-link
[    0.000210] Probe device 'gate-bus-i2c0' with clk-gate
[    0.000220] Probe device 'gate-bus-i2c1' with clk-gate
[    0.000230] Probe device 'gate-bus-i2c2' with clk-gate
[    0.000240] Probe device 'link-i2c0' with clk-link
[    0.000250] Probe device 'link-i2c1' with clk-link
[    0.000260] Probe device 'link-i2c2' with clk-link
[    0.000270] Probe device 'gate-bus-spi0' with clk-gate
[    0.000280] Probe device 'gate-bus-spi1' with clk-gate
[    0.000290] Probe device 'link-spi0' with clk-link
[    0.000300] Probe device 'link-spi1' with clk-link
[    0.000310] Probe device 'mux-timer0' with clk-mux
[    0.000320] Probe device 'ratio-timer0' with clk-ratio
[    0.000330] Probe device 'link-timer0' with clk-link
[    0.000340] Probe device 'mux-timer1' with clk-mux
[    0.000350] Probe device 'ratio-timer1' with clk-ratio
[    0.000360] Probe device 'link-timer1' with clk-link
[    0.000370] Probe device 'mux-timer2' with clk-mux
[    0.000380] Probe device 'ratio-timer2' with clk-ratio
[    0.000390] Probe device 'link-timer2' with clk-link
[    0.000400] Probe device 'link-ts' with clk-link
[    0.000410] Probe device 'link-pwm' with clk-link
[    0.000420] Probe device 'link-wdt' with clk-link
[    0.000430] Probe device 'mux-defe' with clk-mux
[    0.000440] Probe device 'div-defe' with clk-divider
[    0.000450] Probe device 'gate-defe' with clk-gate
[    0.000460] Probe device 'gate-bus-defe' with clk-gate
[    0.000470] Probe device 'link-defe' with clk-link
[    0.000480] Probe device 'mux-debe' with clk-mux
[    0.000490] Probe device 'div-debe' with clk-divider
[    0.000500] Probe device 'gate-debe' with clk-gate
[    0.000510] Probe device 'gate-bus-debe' with clk-gate
[    0.000520] Probe device 'link-debe' with clk-link
[    0.000530] Probe device 'mux-tcon' with clk-mux
[    0.000540] Probe device 'gate-tcon' with clk-gate
[    0.000550] Probe device 'gate-bus-tcon' with clk-gate
[    0.000560] Probe device 'link-tcon' with clk-link
[    0.000570] Probe device 'reset-f1c100s.0' with reset-f1c100s
[    0.000580] Probe device 'reset-f1c100s.1' with reset-f1c100s
[    0.000590] Probe device 'reset-f1c100s.2' with reset-f1c100s
[    0.000600] Probe device 'irq-f1c100s.0' with irq-f1c100s
[    0.000610] Probe device 'irq-f1c100s-gpio.0' with irq-f1c100s-gpio
[    0.000620] Probe device 'irq-f1c100s-gpio.1' with irq-f1c100s-gpio
[    0.000630] Probe device 'irq-f1c100s-gpio.2' with irq-f1c100s-gpio
[    0.000640] Probe device 'gpio-f1c100s.0' with gpio-f1c100s
[    0.000650] Probe device 'gpio-f1c100s.1' with gpio-f1c100s
[    0.000660] Probe device 'gpio-f1c100s.2' with gpio-f1c100s
[    0.000670] Probe device 'gpio-f1c100s.3' with gpio-f1c100s
[    0.000680] Probe device 'gpio-f1c100s.4' with gpio-f1c100s
[    0.000690] Probe device 'pwm-f1c100s.0' with pwm-f1c100s
[    0.000700] Probe device 'pwm-f1c100s.1' with pwm-f1c100s
[    0.000710] Probe device 'ce-f1c100s-timer.0' with ce-f1c100s-timer
[    0.000050] Probe device 'cs-f1c100s-timer.0' with cs-f1c100s-timer
[    0.006488] Probe device 'i2c-f1c100s.0' with i2c-f1c100s
[   0.022989] Probe device 'uart-16550.0' with uart-16550
[    0.028247] Probe device 'uart-16550.1' with uart-16550
[    0.033466] Probe device 'uart-16550.2' with uart-16550
[    0.038659] Probe device 'spi-f1c100s.0' with spi-f1c100s
[    0.044018] Probe device 'spi-f1c100s.1' with spi-f1c100s
[    0.059881] Probe device 'spi-flash.0' with spi-flash
[    0.064882] Probe device 'wdg-f1c100s.0' with wdg-f1c100s
[    0.070260] Probe device 'key-f1c100s-lradc.0' with key-f1c100s-lradc
[    0.076655] Probe device 'led-gpio.0' with led-gpio
[    0.081487] Probe device 'ledtrigger-heartbeat.0' with ledtrigger-heartbeat
[    0.088451] Probe device 'ts-f1c100s.0' with ts-f1c100s
[    0.093637] Probe device 'led-pwm-bl.0' with led-pwm-bl
[    0.118189] Probe device 'fb-f1c100s.0' with fb-f1c100s
[    0.123384] Probe device 'console-uart.0' with console-uart
Press any key to stop autoboot:  0.000

#10 Re: 全志 SOC » flash 1,4 pin » 2018-12-11 10:03:45

Thank you for your reply. I understand.

#11 Re: 全志 SOC » 如何删除在licheepi nano的spi flash中编写的uboot和linux并将新的uboot和linux写入spi flash? » 2018-12-11 09:59:49

https://whycan.cn/t_1650.html

This image shows that the spi clk should be connected to GND in order to enter FEL mode.
With connecting spi clk with GND, I inserted USB cable to USB connecter of PC side.
Then the nano board falls in FEL mode.
Thank you for your support.

#12 全志 SOC » flash 1,4 pin » 2018-12-11 07:07:13

hotpeperoncino
回复: 9

以下描述说明为了清除spl-flash内容,连接flash 1和4。
licheenano板上哪个引脚是“flash 1 pin”和"flash 4 pin"?

1.短接flash 1、4脚(当flash中无可引导代码时无需此步骤)
2.连接USB
3.松开短接的引脚
4.输入下列指令

#13 全志 SOC » Where can I download bootable image for licheenano boot from spl-flash » 2018-12-10 20:23:02

hotpeperoncino
回复: 1

Are there bootable image containing linux and buildroot for lichee nano which boots from spl-flash ?
My build now stops when mounting rootfs.

My build uses
https://github.com/xiaoxiaohuixxh/lichee-nano-one-key-package.git

#14 Re: 全志 SOC » 如何删除在licheepi nano的spi flash中编写的uboot和linux并将新的uboot和linux写入spi flash? » 2018-12-10 18:44:02

晕哥 说:
hotpeperoncino 说:
晕哥 说:

对, 你观察仔细, licheepi nano f1c100s PCB板的引脚丝印(PA0..3)确实反了

https://whycan.cn/t_1650.html


谢谢。此图像似乎连接spi clk和gnd。如果我连接像这个图像的电线,电路板会进入FEL模式吗?

可以的, 按下按钮就可以进入 FEL 模式,然后可以用 sunxi-fel 烧录.

对了, 你是日本国人吗?

Thank you for your support. Yes, I am, i used google  translation to write articles in chinese. maybe it looked strange.
thank you, again.

#15 Re: 全志 SOC » 如何删除在licheepi nano的spi flash中编写的uboot和linux并将新的uboot和linux写入spi flash? » 2018-12-10 17:28:33

晕哥 说:

对, 你观察仔细, licheepi nano f1c100s PCB板的引脚丝印(PA0..3)确实反了

https://whycan.cn/t_1650.html


谢谢。此图像似乎连接spi clk和gnd。如果我连接像这个图像的电线,电路板会进入FEL模式吗?

#16 Re: 全志 SOC » 如何删除在licheepi nano的spi flash中编写的uboot和linux并将新的uboot和linux写入spi flash? » 2018-12-10 10:37:16

hotpeperoncino 说:
晕哥 说:
hotpeperoncino 说:

D4 pin ?

D4 ??
你的是 licheepi nano (f1c100s) 还是 licheepi zero (V3s) ??

我正在使用licheepi nano(f1c 100s)


我正在使用licheepi nano(f1c 100s)。我在号码上犯了一个错误。

A0 (SPI CS), A2 (SPI CK)


我认为它是A0或A2,哪一个是它?

lichee nano

#17 Re: 全志 SOC » 如何删除在licheepi nano的spi flash中编写的uboot和linux并将新的uboot和linux写入spi flash? » 2018-12-10 10:21:06

晕哥 说:
hotpeperoncino 说:
晕哥 说:

都可以, 目的都是让 BROM 读不到程序, 这样强制进入 fel, 可以通过USB烧录程序了。


D4 pin ?

D4 ??
你的是 licheepi nano (f1c100s) 还是 licheepi zero (V3s) ??

我正在使用licheepi nano(f1c 100s)

#18 Re: 全志 SOC » 如何删除在licheepi nano的spi flash中编写的uboot和linux并将新的uboot和linux写入spi flash? » 2018-12-10 10:16:58

晕哥 说:
hotpeperoncino 说:

SPI MISO ?
SPI FLASH CS ?
SPI CLK ?

我不知道是否有很多答案和正确的答案。。

都可以, 目的都是让 BROM 读不到程序, 这样强制进入 fel, 可以通过USB烧录程序了。


D4 pin ?

#19 Re: 全志 SOC » 如何删除在licheepi nano的spi flash中编写的uboot和linux并将新的uboot和linux写入spi flash? » 2018-12-10 10:07:17

SPI MISO ?
SPI FLASH CS ?
SPI CLK ?

我不知道是否有很多答案和正确的答案。。

#20 Re: 全志 SOC » 如何删除在licheepi nano的spi flash中编写的uboot和linux并将新的uboot和linux写入spi flash? » 2018-12-10 10:05:12

ippen 说:

短接spi flash cs引脚到gnd,然后加电,就可以强制进入fel状态

谢谢

SPI flash cs == D4 pin ?


我应该将D4引脚连接到GND?

#21 Re: 全志 SOC » 如何删除在licheepi nano的spi flash中编写的uboot和linux并将新的uboot和linux写入spi flash? » 2018-12-10 09:54:56

I found the following description in document. so I'll try it.

进入fel模式
Zero有一个usb下载模式称为fel模式,进入fel模式有下面几种方式:

TF卡和spi flash 同时没有可启动镜像;
也就是说你不插卡,且焊接的是新的或者没有有效镜像的spi flash,那就上电自动进入fel下载模式
TF卡中有进入fel模式的特殊固件 fel-sdboot.sunxi
如果你的spiflash已经有了启动镜像,那么需要在TF卡中烧入一个sunxi提供的 启动工具 ( dd if=fel-sdboot.sunxi of=/dev/mmcblk0 bs=1024 seek=8 ), 那么插入该TF卡启动会进入fel模式;
上电时SPI_MISO拉低到地
该引脚为boot引脚,上电时出于低电平即会进入fel下载模式。

#22 全志 SOC » 如何删除在licheepi nano的spi flash中编写的uboot和linux并将新的uboot和linux写入spi flash? » 2018-12-10 09:39:45

hotpeperoncino
回复: 24

我写了uboot和linux到lichee pi的spi flash。为了能够从spi flash启动。

lichee pi启动uboot并启动了linux。

但是,之后,PC不再将lichee pi识别为USB设备。
因此,我无法使用sunxi-fel编写新的uboot和linux。


如何使用sunxi-fel编写新的uboot和linux?

如何删除在licheepi nano的spi flash中编写的uboot和linux并将新的uboot和linux写入spi flash?

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn