Uboot Serial Console is not not working

This is the place for software discussions not having a dedicated subforum

Uboot Serial Console is not not working

Postby srinivasporam » Wed Jul 01, 2015 3:20 pm

Hi,
We have got wandboard quad board with us. When we are deploying some prebuilt images, tand powering on the board, it is booting correctly. for the prebuilt images we are using (uboot as well as kernel (Ubuntu trusty)).

Actually we would like deploy only uboot and see the boot messages in serial console (for our development purposes)

for this we have done following things:

1. We have connected USB to Serial Converter (USB is attached to my Ubuntu PC which is running minicom and serial is connected to wandboard quad's serial port. USB to serial converter cable is working fine. this we have checked using putty.

2. We have installed minicom in my ubuntu machine and set the serial port configutation (ttyUSB0,115200 etc).

3. start the minicom, by issuing command sudo minicom -D /dev/ttyUSB0 -o -w then minicom screen coming.

4. after deploying uboot to sd card, then kept sd card in sd card slot of wand board and powering on.

5. once powering on, we are hitting space bar in the keyboard which is connected to wandboard, no messages, nothing is happening.

no messages are appearing in minicom window. what could be the error. what we are doing wrong.
srinivasporam
 
Posts: 53
Joined: Mon Jun 22, 2015 5:56 am

Re: Uboot Serial Console is not not working

Postby Tapani » Thu Jul 02, 2015 4:56 am

Try swapping your RX/TX.

If you use a gender changer, use a null modem. If you use a null modem, use a gender changer.

An easier way to just test if it works is
Code: Select all
screen /dev/ttyUSB0 115200n8


The serial console works in u-boot in all of our prebuilt images.
Tapani
Site Admin
 
Posts: 712
Joined: Tue Aug 27, 2013 8:32 am

Re: Uboot Serial Console is not not working

Postby srinivasporam » Thu Jul 02, 2015 11:23 am

Hi,

We have changed the cable.

Now we are getting messages in serial console (minicom) but the uboot shell is not coming (Uboot>) even though if iam pressing spacebar in the keyboard which is connected to wandboard dual. How to get uboot shell.

the following messages received in minicom:

U-Boot 14.4 (un01204 212855 arhfcom
CP resal iM6Qe.a9M
es u:Br Wdboa
: FS_SHC 0FSD:1
** Warin bC,sg faut nrmt

: se
Nt: C RE]rl
Hi an ket soptobot 0
mis current device
Flenfond/ouEn.tt**Cckg i unvms e.
06bys ean26 ms(1MB/)
ooinfr mc 415yesrd n2s (4453i/s
eeim @10000 [x000 x6fa8]
#lateedev Tree blob 00 Booting usin et blb 1000
artg nel.nplc100, nd1803f

Itazig op ubysuset
Iitazggo sbssp
Itlzi co subyscpuacct
Linuverson3.07-wand-armh.cm bldbu7)g rsn .2 Ubu/ao 82-9ut)) 1MPT Ju 32133TC204CP
M roesorfc09a revi RMv7, r=0387P: P/IT onlisngtace,VIT liing instrui ceMaheFrs
ce .6 u/Duai Decere) mdelWndod dbaedonFeca M6 ua
a:A rerd5 MB t e000fto7ffvalocregion ovea.
erpiy:E dsal,ataeaoc
RUm/pu@81fc00 3 r9d22 268
B1 onltiZnoreroiltyuino oalpaes 536
Krncmndle:nol=tym,100rot=/dev/mmcblk01 rw rotwid
PID hash tleres40 rer,64bes
Ie-cach hshte ntie 1372 or: 5288t)57 bt)
alote 53 yts f ecou
lt cgupsalmemoryopi i dn' wneryrup
Vil krnel memoy ay:erd0him
txt 000- 09d (00k00 0xf0000- 00000 ( 1MB (24M
ni: x8cba00- x8d080 280d0c00 00d 87 bsd690 0de0 (7kB
LU: l= de=3Oets, s,os

earc imleentin.
N_S:niqs16ch cntoleeabdlx0was,CHEI01000,UTR 03700 aceiz: 48
chdlo
CP ieniies .6 lo v .233,wraps eve 115
nialiin crousbss vices02)pim:deaut:36 mim 31
Initialig cgrouIti rpusysloIzgcgu subs prf: eti i uff hcy oCU0ha , sk mid800
ei ustaic forx06- 0x061
CPU1: otd ecnrpcsor
CPU1: thread -1, cpu 1, sct,pr80001: Btsecdryprsr
CU r cp2, scke0mdr 80002P Btena
3 tre-cpu i 0000
MToa o4osravte(22oMSCP: lCs)stred SCde
em:naled
xr:eaur fte hekmm4egs :
o: unfnciona4rgs110.00Bec)
DMApaload 56K ooaom heret llcainsUe DO as reset sourc
vd1p1 80- 13 m 125V d3p: 00-> 15Vat300V d
sycn e0imuc-pr egmapem 0x020e00-0e0037] egstred> 250mVa42 m
syo2bc000.ocrlra[mxbc0-x01bfff rgitrehbaki: fu 5( ve ekpntn1 wtcpn rites.
hw-brea
kpoint: axmm tchpn szeisbys
io ee sab<o0> mxq-intr 20e0000.omux iaid nclre
idt32x1
rid: nt3x2 13MBs
ai: t2x4 12 M/srad6n328 Ms
a6unnt2 4M
1 25V P3 30 Vdh
_o_us 500mV
vab ledi2coe:drer[mx113usiny susp method
CIubtm niiaizd sinlegy esmemetd
eia Lnu mdi ntfe: v00Lnuxvideotu ifacev20 bs
ppcor PAPIvr.reistre
pscreSwer.5.36 Cpyrh 205207Rol oeti <ottlut
TPclck por rsere
mxipu 400.ip PUMC NMA
me1(1) (5), 56)
ix-pu3280MFCNORMAL mode: 1(0~1, B4,,F,
xcip_ci22c00i_c: . I S hy eri s 33002a cmip_c2d0ip_i i PSI dirobd
I I drer odulloaded
f21: ali Dtpde or rguatrdominze.
wih clocksce m_m1
ix6-pi 1c0i y linkcup
Pbrd b000:0p
_s000 ro bs esu [o 0x0-0x00s0::roo busreoc[mx1000-xef]c_b 00:0Nbu esoucfnf rtbu
ile bu -f
pc00000:R:asged em x01000000-0x1f
Trie16384 (orer: 5, 131072 byte)17bye00:0:B:m 1100-0ffr]
Ha tls on(etlihe1684 n184
CP rrieedUDP hash table enties: 102 (: , t hsh etrs1 d
RP: gteednaed NI sk tanpot mdue.l famy1
PCRedud transpt mdue.
RPCReiserdcpNv1 chnl asprtdle
w prfvetsenbld i MCrt- Uir7oursavibl
prg-mmy parers
B q rivr odl loaedm at tsuoe
wbarfkllri25 wi-fk egtrekllanboill tdoad-rfkill.25: initie i p
wbordri kl.:nilie lutotcpwndoar-rkl l.bletoh-il gtd.
FSD
Dqtace as b enres14 (rr,0 be
Keyypirlresred NFSRegstri thid_rlr ke pe
usin PI eri .2) � 1-0R H,ngstre
lok ayr SCSI generic (bsg) drir ved jor 29)ioscel orgteed
sel ealie egteed
i hurf
qesrd deaut)im-wi280emWEM rieriee
xcsd_f .:eiermx dsadv him_dm 2e00.hiio Dtete HI onrol 10axa:0c1
c920VName - 2079m
i-iv2000ip: PUMF D HGROLUTION: 10,1), 5B(2~5), 5F(6,7)
mx_sc_f.2:92x18hy,l ,8,18 vy,u 4,6 ixlk400 H
oole ihngocoou fam fere-dm 200dm: o r asn, uinem
mxd e00.sma oadimwre1.
m-sa20c00.dm:ntiid
cosoetm0 eaedIO0x020 r=5 i aIM
Id r1.1.00081[d iazvvae. MO 2ec0(iq ) i aI
r d oad
opmoul lde
say XLs tae!
ag et, paallel scan dsale
ci ai AC01300 32 slots 1 port Gs 1plptm odacihcfg ctsagpmdl pi s tccat
c0 cltfma
1:TA x M/13 ex200-0f] rt1 q 7libhy cetmiburoe
e 2800.et ristr Cec eh_d UB .0nanc'
t ontlr(CI Direhci-pci EII pfmdrvubcr riser nw ntefae rier-sog
_hdc _hrc.:oen' prggtchcchdc.: H st Controler
ccci_c.: UB.0str, HC 10er,asignedbusnub 1
h 10:.0 U hufn
ub -01: 1ot tete
sev /mousdvic cmf al mc
c-o:rer sl29023] usinla spdeho
c-ore div[i292 si eg reumemeh
mc_4l2_tt42_ut28 V2 deviceried ad1as tc
i2-credrira11]sg leac ssndmh xv2opu vl2o.:4evcerestds vid7
ccoe: drive a3110 ileac ume method
im 2000.wWahg imr nl.ie6 wo0)
md ri6 raltrstrefo level 6 d:rad1psaty giteedorleel1
i5 petrstrd r i4 erai resef v
ud: n gvenor ladder
cpuidle: usi vrn enusdci Scre Dgit Htoreacder
dh:pigh(c rresma
itf:DI patfo d O dre hlp
dhc-d-x21980.sdccoud otgt t ig seedtt wrk on normal mode
mm SDI norn 10dhc[900uscusig DMA
diehcim1400.sdcd ultrahi see sa, wrkonorald
c vqruat n
1: DHIorlrn 19[2940.h sig A
dhisdc-m1900ushodno gur hieesta rkon norma
l mode
m:noqcreultoron
hos desno suprt dngred-nlswitchasuin wre-ae
mmc: new high speed HC
ardaadresaaa
mml mm0:aaaSU6148 GB ik o (Stat 0Ctl30)
mm:SD ctlr 2000.h[19000shcsin AM
11:n wpeUS dc ne2si ci_hdrc
cngnnowCIS tl0802tes)
cqungnkn Itlx 7 t) Supl 8(besmmeugnon IStup 003yes)
mc qeungunowItplx tmm1: ewhispdDcdtdes1Gaco sio4.954mx_va10vai
Md t OrdteVArerpb
c_rc 30.ac mc_rcreise
cp 24000v:VPitalized
caa2000.dee ID= 0a1000 (a-524)
2cm: uthc-hcbcaeaamshac-ac-acam
a1000.aa tacsh2s-cam21000.caa: authecn-shs-cam20.ca: tc-m-5cde_ea
200.a:utcnhmc-
-c-secaa
aam 210000cenchc-sha1-c-smaa 00m:uthbc-e-aa
a am athnc-ch24c-es_e-a
aa 2000caam: authencesn-hmch2c-des_ee-cam2000amauhec-ach25-c3ed-am
camha_eccamuhe
nc-mac-md5-cc--aa
m21000.caam: authncsh-m100-cbc-des-caam
cam 20000cam:uten-has256cbde-cama2000a thcha256-cbc-de-caamca200.caececaam
20000.
m100.m cr-escam
aa 000.aa:bescam
mesa
m 00.ca -3ecm
plao2100.0reteg-amplfmam_ a_sme:-yteetesmachOK
lafom am:am_tt: -bteke te ath
pto camsm ts 3-btek smachKpltfrmcamecvi.2: ecritolatioece hanls dwrwID esdrve ()
riKosa
p:ELDlS Etr Kyoa ves.aps0.sbchc.1/s/11/-1/p/pu
d-ri 003:13:1001intidraw0 HID 1od E l UB rKeodon usbci_hdrc.1-1nt0
usbor:egiteedewintfa irsbd
si HD redrve
c-or: iv cs28] ig ecyspd metd
2cedrve[4288unley esmmhod
t0 00:g500reisonx1
l5 00a ild
0a100mVno001UsginerOinto VDDim-sgl500son2: g0 >0inkimx-sp sosi2:dii ->2040spfaio

xauiodmo-m2 dmhi- hdmi_audio.1mpinok
CP cuicrere
:esteedprotcofmiy
p ble v6
NET: Registered protocolfaily7K pdnroe rgisredVsupor v0:ileeo41 ricur3pat vint
reiedtakstseron1multnander
nol [etc0]nabed
tnsoe nwkloginsre
v_c 0c034sns-tc-lp: setting system kto9--1 000UT
ASdilist:
2i-iso #0:i6aba-stl00
Waiting rl dvic e vaib ereauteec
d:fod'usrdue rdoudeect
d:.utunOE.can 0an d dis.m:uor..
4-fs (mmbl0p):udntoua et3duoftue comtiteEX-s cbl0p)odntosx2 u ncom
XT4f
smmbl1: ecvey pet
X-(mckute flestmit odnul
Vd rt(et4filysm) on ece 791
vms:mn
enum: 30K(80a0 8d000
fr elinufs n /s/fs/selix: ch i irtryin:lou-tart-bde
ais 1) rmna t sas
it pymoh-sarbrigmnressndd,reawin tu1
itpmtupace 4)terinte wh st
n:lmoth-upstart-bidminpros dedrpwnng
it uaahadires 4tmintedwihtaus
it:lytust-brie maip rma wtstt
init: plymouth-utt-bi minpress162 rn a outh-upstart-brn prces eded, respawning
ov6_rad_egie :egEROR vl2tesav nond nit pmohupsarre prcesnd, esn
ae ntraceve o pe3.to:nusb py igured
brmfmf_sdmdonl_fle Fito ut ra -
mfa: rcmdrc_dwnd_ra:doneme ldowldail
bma rcf_bus_s
tarbrmfrcmbu_iaied-
brcmfmac: brcmfsr_o gl i tspndnbrmfacc_sopredaa fed
cmarmfpsdo
_ro oroe aied-1..
*tating Populate /evilsyte[ K m obt4
oig oplae evfiessm[ OK ]
* StartgClantmp ityG O ]
* StrtgPoula dli t/n7G[K ]
* Sopi ack uttsrunig n a nir[7G[OK]
oppnClan tmdiecory[74G[
*Strtn Sn sint ha irafesysemmounted[ ]
*StingSialsynt a ll fesstmar m Srtig rgu ent itou
* aiSnitteissar mou74G[ OK ] * S Mot filesstes oo[ OK]
Saingevenod andernel evet aer4 OK]
Soppg fuh r jo tto ls4[ K ]]
*Si oa mlesfome/mus7[] K * Starting cold plugvic[ rn l itlecratn7G[
Sri bueohaOKagmet vi[7G[O] Stain era otsasOK
Sarinyst lggngdaeon[7G[K
* So uslsh7[OK]
* Srtg DDNS- emonK eplymtiu O
*SarnRlo cps upn atiavaiano a rtqeua pa[
Stppg ennevnttoindie pohsp[OK]
*topinReoa cgvidaonoake se rme ueareputdO]
toi cdugdece7G[K
*trtgae de lgn ua uls4[ K]]
tarn cnfurntwk vcesecuty[G[ OK ]
dw3 dwc30.ut:o ub3phcofige
Strtngonigreva ntwk viceG ]
Srtg Bideoeeves nt us4[ ]
Waingontrkcofutn.strt[G[OK



which language is this... is some thing wrong..how to get uboot shell.
srinivasporam
 
Posts: 53
Joined: Mon Jun 22, 2015 5:56 am

Re: Uboot Serial Console is not not working

Postby vpeter » Thu Jul 02, 2015 12:02 pm

Use correct serial port settings (like Baud rate: 115200 / Data: 8 / Parity: none / Stop bit: 1 / Flow control: none).
vpeter
 
Posts: 78
Joined: Wed Dec 24, 2014 7:44 am

Re: Uboot Serial Console is not not working

Postby srinivasporam » Fri Jul 03, 2015 4:46 am

Hi,
Serial Port settings are correct only. Please find the settings as below:

A - Serial Device : /dev/ttyUSB0 |
| B - Lockfile Location : /var/lock |
| C - Callin Program : |
| D - Callout Program : |
| E - Bps/Par/Bits : 115200 8N1 |
| F - Hardware Flow Control : No |
| G - Software Flow Control : No |
| |
| Change which setting?
srinivasporam
 
Posts: 53
Joined: Mon Jun 22, 2015 5:56 am

Re: Uboot Serial Console is not not working

Postby Tapani » Fri Jul 03, 2015 8:21 am

The output looks too good to be wrong baudrate etc. If that is wrong, it is complete garbage. Now it is as if some characters are missing.

My guesses are:
1. Bad USB serial - we have seen similar issues with a cheap PL2303 knockoff from China.
2. Signal level issues
Tapani
Site Admin
 
Posts: 712
Joined: Tue Aug 27, 2013 8:32 am

Re: Uboot Serial Console is not not working

Postby trunkz » Mon Mar 19, 2018 12:11 am

I have same problem.

No output from uboot - nothing.

I am running the lubuntu 16.04 prebuilt image from wandboard website.

I have a PL2303 usb to serial cable (which i have used in the past and does usually work like a charm)
my host computer is ubuntu 16.04
i have cutecom installed and am able to open the device properly.

my baudrate settings are 115200 8 1 none

I get nothing when it boots and it does log me in as normal. I would like to see the uboot messages let me know if you need any more information or if have completely missed something that blue port with 9 pins is the db9 / serial comign out of the imx6q right? lol

im using some cheap adapter, ill buy a null cable and see if there is a difference. Let me know what you think? Please let me see the messages!!
trunkz
 
Posts: 14
Joined: Mon Mar 19, 2018 12:07 am

Re: Uboot Serial Console is not not working

Postby trunkz » Mon Mar 19, 2018 1:20 am

worked like a charm, i threw away the cheap adapter and brought a proper null serial cable.

thanks guys!
trunkz
 
Posts: 14
Joined: Mon Mar 19, 2018 12:07 am


Return to Software - General

Who is online

Users browsing this forum: No registered users and 2 guests

cron