Jump to content
AngeloC

help: console on ttyFIQ0 send incomprensible messages

Recommended Posts

I have build android from source several time but the result is alway the same .

The board start u-boot ok so when start the kernel after 0,4 sec send incomprensible messages.

  0.484711] rk_iommu ff650800.iommu: version = 1
[    0.485070] rk_iommu ff660480.iommu: version = 1
[    0.485321] rk_iommu ff670800.iommu: version = 1
[    0.485590] rk_iommu ff8f3f00.iommu: version = 1
[    0.485792] rk_iommu ff903f00.iommu: version = 1
[    0.485987] rk_iommu ff914000.iommu: version = 1
[    0.486626] SCSI subsystem initialized
[    0.486773] usbcore: registered new interface driver usbfs
[    0.486811] usbcore: registered new interface driver hub
[    0.486916] usbcore: registered new device driver usb
[    0.486957] media: Linux media interface: v0.10
[    0.486988] videodev: Linux video capture interface: v2.00
[    0.487044] pps_core: LinuxPPS API ver. 1 registered
[    0.487065] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.487090] PTP clock support registered
[    0.488815] Advanced Linux Sound Architecture Driver Initialized.
[    0.489160] Bluetooth: Core ver 2.22
[    0.489196] NET: Registered protocol family 31
[    0.489208] Bluetooth: HCI device and connection manager initialized
[    0.489220] Bluetooth: HCI socket layer initialized
[    0.489232] Bluetooth: L2CAP socket layer initialized
[    0.489264] Bluetooth: SCO socket layer initialized
[    0.489610] rockchip-cpuinfo cpuinfo: SoC        : 0
[    0.489627] rockchip-cpuinfo cpuinfo: Serial        : 0f56ee0``3 0C032
[     .09 267] ChoCksourCe: SwipC`e` po ChoCksourCe ArC`_sys_Counper
[     .500 7!] VS: Disk auopAs `auop_6.6. 
[    0.500!70] VS: Dquot-caC`e `ash pABhe enpries: 512  ordeb  ( 0096 bytes)
[     .505305] p`ermAh p`ermAh_zone!: `ower_AhhoCApor: suspAinABhe_`ower wihh Be estimAte`
[     .505565] NP: Regispere` protoCoh fAmihy 2
[     .506 33] pC`_hispen_`orpA`dr_hAs` `Ash tABhe enpries: ! 20  or`er: 2( !6300 Bypes)
[    0506 0!] P@ estaBhishe` `As` pABhe enpries: !6300  or`er: 5( !3! 72 Bypes)
[     .506227] P@ bin` `As` pABhe enpries: !6300  or`er: 6( 262!00 Bypes)
[     .5065 9] P@: @As` pABhes Configure`  espABhis`e` !6300 Bin` !6304)
[     .50662!] U P `As` pAbhe enpries: ! 20  or`er: 3( 32760 Bytes)
[     .506606] U @-Hite `As` paBhe entries: ! 20  or`er: 3( 32760 Bypes)
[     .506037] NP: Regispere` `rotocoh fAmihy !
[     .5000! ] `w `erfevenps: enABhe` wip` armv0_Cortep_A53 @MU `river( 7 counpers AvAihABhe
[    0,50060 ] `w `erfevenps: enAbhe` wip` Armv0_Corpep_A72 @MU `river( 7 Counpers AvAihABhe
[     .55 !2 ] InipiAhise system pruspe` keyrings
[     .55020!] workingsep: pimespAm`_Bips=05 mAp_or`er=!9 BuCkep_or`er= 
[     .5539!0] Regispering s`CAr`fs  .!
[     .550655] fuse inip  @I version 7.27)
[     .555632] 
[     .555632] P ore rAmework inipiAhizAtion (ver 1:0.1)
[    0.555655] P Armv7  river inipiAhizApion
[    0,5540!0] tp_teE_`roBe: nAme=Armv7seC( i`= , ``ev_nAme=Armv7sec.
[     .556 26] P Core: hhoC p`e misC `eviCe o`peeArmtz0 (i`= )
[     .556!03] P ore: Register p`e misC `eviCe o`peeArmpz    i`= (minor=62)
[    0,557090] Key type Asymmepric regispere`
[     .5573 5] symmepriC key `Arser 'p5 9' regispered
[     .557336] hoCk layer SSI generic  Bsg) driver vercion  .0 hoA`e`  mAjor 203)
[     .557309] io sC`e`uher noo` regispere`
[     .55705 ] io sC`e`uher Cfa registere`  `efAuhp)
[     .557065] io sC`e`uher ma-`eA`hine regispere`
[     .557073] io sC`e`uher kyBer regispere`
[     .557500] io sc`e`uher Bfa regispere`
[     .559!9!] ``y ``y-ff77    .sysCon:usB2-``y e06 .!: Hinke` As A Consumer po reguhApor.7
[     .55955!] ``y ``y-ff77    .sysCon:usB2-``y e06 .2: Aihe` po gep VUS su``hy reguhApor
[     .56 000] roCkC`i`-mi`i-```y-rp ff77    .sysCon:mipi-```y-rp : invAhi` resourCe
[     .5635! ] roCkC`i`-`cie f0      .`Cie: missing memory-region `ro`erpy
[     .563637] roCkC`i`-`Cie f0      .`Cie: no v`Cie!2v reguhApor foun`
[     .56366 ] roCkC`i`-`Cie f0      .`Cie: no v`Cie3v3 reguhApor foun`
[     .563602] roCkC`i`-`Cie f0      .`Cie: no v`Cie!v0 reguhApor foun`
[     .5637 2] roCkC`i`-`Cie f0      .`Cie: no v`Cie v9 reguhApor foun`
[     .563726] roCkC`i`-`Cie f0      .`Cie: `osp Bri`ge /`Cie f0       rAnges:
[     .56375!] roCkC`i`-`Cie f0      .`Cie:   MM  pfA      .. pfB`fffff ->  pfA      
[     .563760] roCkC`i`-`Cie f0      .`Cie:    IO  pfBe     .. pfBefffff ->  pfBe     
[     .623!00] roCkC`i`-`Cie f0      .`Cie: @I `osp Bri`ge po Bus     :  
[     .623!67] `Ci_Bus     :  : roop Bus resourCe [Bus   -!f]
[     .623100] `Ci_Bus     :  : roop Bus resourCe [mem  pfA      - pfB`fffff]
[     .6232 3] `Ci_Bus     :  : roop Bus resourCe [io   p    - pfffff]  Bus A``ress [ pfBe     - pfBefffff])
[     .623355] `Ci     :  :  . : su``orps  !
[     .623369] `Ci     :  :  . : @M su``orpe` from     !  3`op
[     .620503] `Ci     :  :  . : Bri`ge ConfigurApion invAhi`  [Bus   -  ])( reConfiguring
[     .620053] `Ci     : !:  . : reg  p! : inipiAh R vAhue  p         invAhi`
[     .629335] `Ci     : !:  . : @M su``orte` from     !  2  3`op  3Coh`
[     .637320] `Ci     :  :  . : R 0: assigne` [mem  pfA      - pfA fffff]
[     .637306] `Ci     : !:  . : R 2: Assigne` [mem  pfA      - pfA  ffff 60Bip]
[     .637397] `Ci     : !:  . : R  : no s`ACe for [io  size  p !  ]
[     .6370! ] `Ci     : !:  . : R  : fAihe` po Assign [io  size  p !  ]
[     .63702!] `Ci     :  :  . : @I Bri`ge po [Bus  !]
[     .637036] `Ci     :  :  . :   Bri`ge win`ow [mem  pfA      - pfA fffff]
[     .637550] `Cie`orp     :  :  . : sep `ower spApe po 0( no `!`2 =  
[     .63757!] `Cie`orp     :  :  . : en

when i send comand from pc to board seem receive correct commands. (ex ls, ps,top etc) but the response is yet incomprensible.

The board also has strange behavior at first startup after new copy of image to sdcard. The board restart two time and end with kernel panic.

when I switch power off /on android coming up fine. ( but the console on tty continue to send incomprensible message ).

From this point i can enter via adb connect / shell and seem working fine ( net ok, wifi ok , hdmi ok , bluethoth ok )

Someone have the same problems ? . The source is aligned at the Manifests in github, build ok with no error.

regards

 

 

Share this post


Link to post
Share on other sites

From our test, it should worked. Do you have other uart console cable? or try with different console software. (e.g. screen, putty, minicom, etc)

Share this post


Link to post
Share on other sites

The ttyFIQ working fine at startup, u-boot + first pair sec of kernel , but is unusable as android console . I tried some changes also in the   kernel ( delayed load of fiq-debug module, dump clock source etc  ) without success . I think the problem is in the tx FIFO  of fiq-debug module, but not sure ( the board receive OK comands from PC ex. reboot  ) 

Also i have change USB to serial converter cable without positive effects.

I have change ttyFIQ0 to ttyS0 ( dts, BoardConfig etc ). In this case u-boot and first 3 second of startup kernel send data on early-conn and then kernel switch to ttyS0 and android console working fine. 

Maybe my hardware has problems , but this is very strange.

I not undestand how this problem is not reproducible.

I think that after the first part of my integration I will try to swap on the dts ttyFIQ in a classic uart as ttySx ( I have to see if it is possible )
 

Regards.

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...