Jump to content

AngeloC

Members
  • Content Count

    5
  • Joined

  • Last visited

Everything posted by AngeloC

  1. 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.
  2. I have same problem with original image : https://dlcdnets.asus.com/pub/ASUS/mb/Embedded_IPC/TINKER_BOARD_2_2S/Tinker_Board_2-Android10-V1.0.0-20210318.zip I use ttl-232R-3v3 Usb to serial converter , is okay for tinker board 2 ?
  3. 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
  4. first, build.sh has an error: replace with this code if [ "$PACK_RELEASE" = true ] ; then set -x mkdir -p $STUB_PATH/$RELEASE_NAME cp $IMAGE_PATH/WW_Tinker_Board_2-raw.img $STUB_PATH/$RELEASE_NAME/Tinker_Board_2-Android10-V"$BUILD_NUMBER".img second for obtain WW_Tinker_Board_2-raw.img i have to do: ./build.sh -UKA ./mkimage.sh (ok I can change build.sh more...) ./build.sh -u (update name to create blob image is incongruent ) ./build.sh -p ./build.sh -r ( with previous change on build.sh ) greetings
  5. Hello, I try to build AOSP from sources ( lxc container ubuntu 20.04 ) . ============================================ PLATFORM_VERSION_CODENAME=REL PLATFORM_VERSION=10 TARGET_PRODUCT=WW_Tinker_Board_2 TARGET_BUILD_VARIANT=user TARGET_BUILD_TYPE=release TARGET_ARCH=arm64 TARGET_ARCH_VARIANT=armv8-a TARGET_CPU_VARIANT=cortex-a53 TARGET_2ND_ARCH=arm TARGET_2ND_ARCH_VARIANT=armv7-a-neon TARGET_2ND_CPU_VARIANT=cortex-a15 HOST_ARCH=x86_64 HOST_2ND_ARCH=x86 HOST_OS=linux HOST_OS_EXTRA=Linux-5.11.11-200.fc33.x86_64-x86_64-Ubuntu-20.04.2-LTS HOST_CROSS_OS=windows HOST_CROSS_ARCH=x86 HOST_CROSS_2ND_ARCH=x86_64 HOST_BUILD_TYPE=release BUILD_ID=QD4A.200805.003 OUT_DIR=out I use the following commands: ./build.sh -U -K -A -v user -n R100V00 -V tinker2 -J20 ./build.sh -p All work fine , no errrors found. Also android build m command work fine. when i try to do : ./build.sh -r have this error : package resoure.img with charger images Pack ./tools/images/ & ../kernel/resource.img to resource.img ... Unpacking old image(../kernel/resource.img): rk-kernel.dtb battery_1.bmp battery_2.bmp battery_3.bmp battery_4.bmp battery_5.bmp battery_fail.bmp logo.bmp logo_kernel.bmp battery_0.bmp tinkerboard.bmp 11 Pack to resource.img successed! Packed resources: rk-kernel.dtb battery_1.bmp battery_2.bmp battery_3.bmp battery_4.bmp battery_5.bmp battery_fail.bmp logo.bmp logo_kernel.bmp battery_0.bmp tinkerboard.bmp 11 resource.img is packed ready /aosp/rock mv: cannot stat '/aosp/rock/IMAGE/Tinker_Board_2-Android10-eng-ubuntu-20210422.0759/IMAGES/WW_Tinker_Board_2-raw.img': No such file or directory adding: Tinker_Board_2-Android10-eng-ubuntu-20210422.0759/ (stored 0%) /aosp/rock I have probably forgotten a build step ..... How i can create WW_Tinker_Board_2-raw.img? all android images are present : ls -al out/target/product/rk3399_Android10/*.img -rw-rw-r--. 1 ubuntu ubuntu 27359232 Apr 22 07:55 out/target/product/rk3399_Android10/boot-debug.img -rw-rw-r--. 1 ubuntu ubuntu 27111424 Apr 22 07:56 out/target/product/rk3399_Android10/boot.img -rw-rw-r--. 1 ubuntu ubuntu 155796 Apr 22 07:55 out/target/product/rk3399_Android10/cache.img -rw-rw-r--. 1 ubuntu ubuntu 115479 Apr 22 07:55 out/target/product/rk3399_Android10/dtb.img -rw-rw-r--. 1 ubuntu ubuntu 1048616 Apr 22 07:56 out/target/product/rk3399_Android10/odm.img -rw-rw-r--. 1 ubuntu ubuntu 289529956 Apr 22 07:55 out/target/product/rk3399_Android10/product.img -rw-rw-r--. 1 ubuntu ubuntu 919091 Apr 22 07:55 out/target/product/rk3399_Android10/ramdisk-debug.img -rw-rw-r--. 1 ubuntu ubuntu 787440 Apr 22 07:55 out/target/product/rk3399_Android10/ramdisk.img -rw-rw-r--. 1 ubuntu ubuntu 24000917 Apr 22 07:56 out/target/product/rk3399_Android10/ramdisk-recovery.img -rw-rw-r--. 1 ubuntu ubuntu 623 Apr 22 07:55 out/target/product/rk3399_Android10/rebuild-dtbo.img -rw-rw-r--. 1 ubuntu ubuntu 50327552 Apr 22 07:56 out/target/product/rk3399_Android10/recovery.img -rw-r--r--. 1 ubuntu ubuntu 4592 Apr 22 07:55 out/target/product/rk3399_Android10/super_empty.img -rw-r--r--. 1 ubuntu ubuntu 1405199320 Apr 22 07:56 out/target/product/rk3399_Android10/super.img -rw-rw-r--. 1 ubuntu ubuntu 870412436 Apr 22 07:56 out/target/product/rk3399_Android10/system.img -rw-rw-r--. 1 ubuntu ubuntu 251506764 Apr 22 07:56 out/target/product/rk3399_Android10/vendor.img and the build.sh script have copied in the IMAGE path all : tree IMAGE IMAGE └── Tinker_Board_2-Android10-eng-ubuntu-20210422.0759 ├── build_cmd_info.txt ├── build.sh ├── IMAGES │ ├── boot.img │ ├── config.cfg │ ├── dtbo.img │ ├── idbloader.img │ ├── kernel.img │ ├── MiniLoaderAll.bin │ ├── misc.img │ ├── odm.img │ ├── parameter.txt │ ├── pcba_small_misc.img │ ├── pcba_whole_misc.img │ ├── recovery.img │ ├── resource.img │ ├── super.img │ ├── system.img │ ├── trust.img │ ├── uboot.img │ ├── vbmeta.img │ └── vendor.img ├── manifest_Tinker_Board_2-Android10-eng-ubuntu-20210422.0759.xml ├── PATCHES │ └── kernel │ └── vmlinux ├── Tinker_Board_2-Android10-eng-ubuntu-20210422.0759.zip └── Tinker_Board_2-Android10-eng-ubuntu-20210422.0759.zip.sha256sum Thanks in advance
×
×
  • Create New...