您尚未登录。

楼主 #1 2018-12-11 20:54:55

hotpeperoncino
会员
注册时间: 2018-12-10
已发帖子: 22
积分: 22

xboot stops before xboot prompt.

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

离线

#2 2018-12-11 22:03:05

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,348
积分: 9202

Re: xboot stops before xboot prompt.

你确认你的串口线输入没有问题?感觉f1c100s没有收到uart 数据





离线

楼主 #3 2018-12-12 14:10:39

hotpeperoncino
会员
注册时间: 2018-12-10
已发帖子: 22
积分: 22

Re: xboot stops before xboot prompt.

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..

离线

#4 2018-12-12 14:19:23

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,348
积分: 9202

Re: xboot stops before xboot prompt.

你用的是 USB 转 TTL 的数据线吗?用什么驱动芯片 PL2303? CP2014?或者其他的

既然用Linux出现乱码, 感觉这种情况与数据线关系比较大.





离线

楼主 #5 2018-12-12 19:46:37

hotpeperoncino
会员
注册时间: 2018-12-10
已发帖子: 22
积分: 22

Re: xboot stops before xboot prompt.

Thank you. I notice serial lines has trouble.

离线

楼主 #6 2018-12-13 20:54:25

hotpeperoncino
会员
注册时间: 2018-12-10
已发帖子: 22
积分: 22

Re: xboot stops before xboot prompt.

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

离线

楼主 #7 2018-12-13 21:02:54

hotpeperoncino
会员
注册时间: 2018-12-10
已发帖子: 22
积分: 22

Re: xboot stops before xboot prompt.

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

离线

#8 2018-12-13 21:15:48

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,348
积分: 9202

Re: xboot stops before xboot prompt.

1. 你有没有两片 nano.板子,如果有可以换一片试一试
2. 测试cp2104自发自收是否正常,测试方法是短路 cp2104的RX与TX,然后用串口软件发数据,看能否收到自己发出去的数据。
3. 可以下载本bbs的其他linux镜像测试





离线

楼主 #9 2018-12-16 15:18:46

hotpeperoncino
会员
注册时间: 2018-12-10
已发帖子: 22
积分: 22

Re: xboot stops before xboot prompt.

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

离线

#10 2018-12-16 16:15:31

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,348
积分: 9202

Re: xboot stops before xboot prompt.

hotpeperoncino 说:

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

用 master 分支吗?是有可能,因为xboot最近在测试 K210 双核 risc-v 方案,最新的代码可能会造成其他soc出问题,建议用老一点的版本。





离线

楼主 #11 2018-12-16 16:54:52

hotpeperoncino
会员
注册时间: 2018-12-10
已发帖子: 22
积分: 22

Re: xboot stops before xboot prompt.

what branch do you recommend?

离线

#12 2018-12-16 16:56:55

达克罗德
会员
注册时间: 2018-04-10
已发帖子: 1,138
积分: 1090.5

Re: xboot stops before xboot prompt.

hotpeperoncino 说:

what branch do you recommend?

I am using the version 1 month ago, it works.

离线

楼主 #13 2018-12-16 17:21:28

hotpeperoncino
会员
注册时间: 2018-12-10
已发帖子: 22
积分: 22

Re: xboot stops before xboot prompt.

hotpeperoncino 说:

what branch do you recommend?

The branch f1c100s-kk131 works well. Thanks.

离线

#14 2018-12-17 11:07:24

lilo
会员
注册时间: 2017-10-15
已发帖子: 215
积分: 215

Re: xboot stops before xboot prompt.

hotpeperoncino 说:
hotpeperoncino 说:

what branch do you recommend?

The branch f1c100s-kk131 works well. Thanks.

这个分支能用, 但是有点老了,最好用master 早一些时候的版本。

离线

页脚

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

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