Imagination Technologies SGX DDK for Linux?

Tagged: 

This topic contains 28 replies, has 2 voices, and was last updated by  ZubairLK 1 year, 11 months ago.

Viewing 15 posts - 1 through 15 (of 29 total)
  • Author
    Posts
  • #50016

    Hi,

    In your dedicated site I have found kernel sources and kernel driver sources. But kernel driver is present as snapshot for kernel 3.0.8 only and for two versions of DDK binaries.

    Also I see that the SGX DDK is installed on Debian 7 image only.

    My question is that:

    I have my own Linux distribution and want to build kernel, kernel mode driver, and also I want to obtain DDK and other user space stuff for MIPS Creator CI20. I don’t want to take DDK binaries from Debian Image.
    Please explain me your delivery and security policy for Linux distributors and how I can obtain your binary drivers for Linux 3.0.8 and 3.18 which are present in the https://github.com/MIPS/CI20_linux repository.

    My work is present on http://radix.pro site (Unfortunately I have no time to translate this site to English but SVN repositories can give you short overview of my work).

    Thanks in advance.
    Best Regards,
    Andrey K.

    #50043

    ZubairLK
    Member

    Hi Andrey,

    Welcome to the Ci20 forum.

    Work on the SGX binaries for Ci20 kernel 3.18 is almost complete.

    We will release them shortly. Along with GPL sources for the kernel module.

    Using those, you should be able to compile your own kernel 3.18 and kernel module. And use the provided userspace binaries.

    I am unaware if you intend to use Xorg for your distribution. Xorg complicates things a bit further as the user binaries are made specifically with Debian 8 distribution version of Xorg in mind with only one adjustment. which is the libdrm version has been bumped up a bit.

    The user binaries and kernel module for 3.0.8 are already present in Debian 7 image.

    I have pushed a tarball of the user binaries in https://github.com/MIPS/CI20_collateral

    They should be usable if you are not using Xorg.

    If you are using Xorg with 3.0.8, please do tell. The files are much bigger and i’ll have to upload them on a separate server.

    And as with 3.18 + Debian 8, the exact version of xorg as provided by the distribution Xorg used by Debian 7 + 3.0.8.

    Regards,
    ZubairLK

    #50045

    Hi ZubairLK,

    Thanks a lot for your answer and very quick upload user mode binaries into https://github.com/MIPS/CI20_collateral repository.

    Please upload also binaries which work with X.Org and please give me link to them. Because I have to work with X.Org firstly. If you don’t have enough space on your FTP server I can give you permissions for my FTP and we will decide where is the best place for your tarballs (for example in the directory ftp://ftp.radix.pro/3pp/).

    Currently I have all needed Linux stuff including X.Org and Qt4, Qt5 for CI20 (ftp://ftp.radix.pro/radix/platform/releases/20150712/jz47xx-glibc/ci20/) which build by my toolchain (ftp://ftp.radix.pro/toolchains/x86_64/1.0.9/) and build-system (http://svn.radix.pro/wsvn/platform/trunk).

    And now I can start implementation of kernel 3.0.8, u-boot, and km driver from CI20_collateral repository into my build system. I hope this work I will done in two or tree weeks. Then I will test my system with binaries for X.Org. I will inform your about my experience.

    Of course, when you release km driver and um binaries for 3.18 I will port my system to the new kernel.

    Thank you.
    Best Regards,
    Andrey K.

    #50061

    ZubairLK
    Member

    Hi Andrey,

    Sounds like exciting work.

    Thank-you for the offer of hosting the files.

    I’ve uploaded the files. You should be able to download them from here.

    http://mipscreator.imgtec.com/CI20/sgx/UM_Binaries.1.13.3341330.2015-06-25_10_09_21_withXSGX.tar
    http://mipscreator.imgtec.com/CI20/sgx/UM_Binaries.1.13.3341330.2015-06-25_10_09_21.tar

    Note. I have removed the UM binaries from github as that isn’t the right place for them.

    Regards,
    ZubairLK

    #50063

    Hi Zubair,

    Thank You very much!

    Currently I have built latest 3.18 kernel. Then I will implement u-boot. After board bring up I will try the kernel 3.0.8. But probably you will release drivers for 3.18 before I finish my tests 😉

    Please let me known when you plan to commit the km driver to github and UM binaries to your server for kernel 3.18.

    Oh. Do you plane to update wiki (http://elinux.org/CI20_Dev_Zone) regarding to finding sources and UM binaries?

    Thank You for support.

    Best Regards,
    Andrey K.

    #50064

    Hi Zubair,

    I have one question about pvr_dri.so driver for X.Org:

    Do that driver requires some changes in X server or in some X.Org packages?

    Please check versions of my packages for CI20 at ftp://ftp.radix.pro/radix/platform/releases/20150712/jz47xx-glibc/ci20/xorg/ directory.

    Best Regards,
    Andrey K.

    #50066

    ZubairLK
    Member

    Hi Andrey,

    The pvr_dri.so relies on the exact X versions used by Debian 7 for kernel 3.0.8.
    See https://packages.debian.org/wheezy/xserver-xorg-core

    And the exact X versions used by Debian 8 for kernel 3.18.
    See https://packages.debian.org/jessie/xserver-xorg-core

    Except for libdrm in 3.18 Debian 8. Debian 8 defaults to libdrm 2.4.58. While our driver uses libdrm 2.4.62.

    Regards,
    ZubairLK

    #50068

    Hi Zubair,

    Thank you for very helpful information. I will update libdrm and xorg-server according your requires.

    Best Regards,
    Andrey K.

    #50088

    Hi Zubair,
    tion
    I have built u-boot and kernel 3.18 with default config and I tried to boot the board. U-Boot works. But board is freeze with following message.

    Kernel panic – not syncing; Attempted to kill init! exitcode=0x0000000b

    drm_kms_helper: panic occured, switching back to text console
    —[ end Kernel panic

    Unfortunately I cannot get full log because I not made UART4 cable yet. Could you please advice can I start the kernel “as is” with default configuration and without pvrsrvkm module and without /lib/firmware?

    Probably you have tested .config for 3.18 kernel.

    Best Regards,
    Andrey K.

    #50089

    ZubairLK
    Member

    Hi,

    Is the rootfs on NAND or SD?

    Did you go through this

    http://www.elinux.org/CI20_upstream#List_of_other_possible_issues_when_moving_from_3.0.8_to_3.16.2B

    Regards,
    ZubairLK

    #50090

    Hi,

    I have check the http://www.elinux.org/CI20_upstream#List_of_other_possible_issues_when_moving_from_3.0.8_to_3.16.2B
    notes/

    I use default u-boot args for SD card:

    console=ttyS4,115200 mem=256M@0x0 mem=768M@0x30000000 root=/dev/mmcblk0p1 …

    this is not a problem.

    I see that something wrong with fb0 device. The kernel panic occurred here:

    jz4780_drm 13050000.jz4780-lcdk: fb0: frame buffer device
    jz4780_drm 13050000.jz4780-lcdk: registered panic notifier

    The root fs found and mounted on device 179:1
    and /dev/fd0 inode is created on my rootfs on SD card/

    Best Regards,
    Andrey K.

    #50091

    Hi,

    This panic registered when console switching to color frame buffer device 240×67

    I will have more logs when I create USB – UART4 cable.

    Thank you.
    Best Regards,
    Andrey K.

    #50094

    Hi Zubair,

    I have saved my boot.log. Please look at the attached log.

    May be something wrong in bootargs or I have to make some changes in kernel config file.

    Best Regards,
    Andrey K.

    #50095

    Hi Zubair,

    Unfortunately this forum engine disallow to attach .txt, .log, tar files and I commit the whole text into this message.


    U-Boot 2013.10-rc3 (Aug 28 2015 - 17:00:04)

    Board: ci20 (r1) (Ingenic XBurst JZ4780 SoC)
    DRAM: 1 GiB
    NAND: 8192 MiB
    MMC: jz_mmc msc1: 0
    In: eserial4
    Out: eserial4
    Err: eserial4
    Net: dm9000
    Hit any key to stop autoboot: 0

    ci20# printenv
    baudrate=115200
    board_date=20150120
    board_mfr=NP
    bootargs=console=ttyS4,115200 mem=256M@0x0 mem=768M@0x30000000 root=/dev/mmcblk0p1 rootwait
    bootcmd=run ethargs; ext4load mmc 0:1 0x88000000 /boot/uImage; bootm 0x88000000
    bootdelay=2
    ethact=dm9000
    ethaddr=d0:31:10:ff:7c:24
    ethargs=env set bootargs ${bootargs} dm9000.mac_addr=${ethaddr}
    filesize=50a486
    loads_echo=1
    serial#=1003
    stderr=eserial0,eserial4
    stdin=eserial0,eserial4
    stdout=eserial0,eserial4

    Environment size: 484/32764 bytes

    ci20# ext4load mmc 0:1 0x88000000 /boot/uImage
    5284998 bytes read in 910 ms (5.5 MiB/s)

    ci20# bootm 0x88000000
    ## Booting kernel from Legacy Image at 88000000 ...
    Image Name: Linux-3.18.3
    Image Type: MIPS Linux Kernel Image (gzip compressed)
    Data Size: 5284934 Bytes = 5 MiB
    Load Address: 80010000
    Entry Point: 80784250
    Verifying Checksum ... OK
    Uncompressing Kernel Image ... OK

    Starting kernel ...

    [ 0.000000] Initializing cgroup subsys cpuset
    [ 0.000000] Initializing cgroup subsys cpu
    [ 0.000000] Initializing cgroup subsys cpuacct
    [ 0.000000] Linux version 3.18.3 (kx@dalmore) (gcc version 4.9.2 (Radix 1.0.0) ) #1 SMP PREEMPT Thu Aug 27 17:35:08 5
    [ 0.000000] CPU0 revision is: 3ee1024f (Ingenic JZRISC)
    [ 0.000000] FPU revision is: 00330000
    [ 0.000000] MIPS: machine is imgtec,ci20
    [ 0.000000] Determined physical RAM map:
    [ 0.000000] memory: 10000000 @ 00000000 (usable)
    [ 0.000000] memory: 30000000 @ 30000000 (usable)
    [ 0.000000] User-defined physical RAM map:
    [ 0.000000] memory: 10000000 @ 00000000 (usable)
    [ 0.000000] memory: 30000000 @ 30000000 (usable)
    [ 0.000000] Initrd not found or empty - disabling initrd
    [ 0.000000] Zone ranges:
    [ 0.000000] Normal [mem 0x00000000-0x1fffffff]
    [ 0.000000] HighMem [mem 0x20000000-0x5fffffff]
    [ 0.000000] Movable zone start for each node
    [ 0.000000] Early memory node ranges
    [ 0.000000] node 0: [mem 0x00000000-0x0fffffff]
    [ 0.000000] node 0: [mem 0x30000000-0x5fffffff]
    [ 0.000000] Initmem setup node 0 [mem 0x00000000-0x5fffffff]
    [ 0.000000] cma: Reserved 64 MiB at 0x0c000000
    [ 0.000000] Primary instruction cache 32kB, 8-way, VIPT, linesize 32 bytes.
    [ 0.000000] Primary data cache 32kB, 8-way, VIPT, no aliases, linesize 32 bytes
    [ 0.000000] MIPS secondary cache 256kB, 8-way, linesize 128 bytes.
    [ 0.000000] PERCPU: Embedded 9 pages/cpu @81c1e000 s7424 r8192 d21248 u36864
    [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 261120
    [ 0.000000] Kernel command line: console=ttyS4,115200 mem=256M@0x0 mem=768M@0x30000000 root=/dev/mmcblk0p1 rootwait d
    [ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
    [ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
    [ 0.000000] allocated 3145728 bytes of page_cgroup
    [ 0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
    [ 0.000000] Memory: 955620K/1048576K available (7752K kernel code, 335K rwdata, 2540K rodata, 304K init, 652K bss, 9)
    [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    [ 0.000000] Preemptible hierarchical RCU implementation.
    [ 0.000000] NR_IRQS:270
    [ 0.000000] jz4780-tcu-clocksource: OST rate is 3000000Hz
    [ 0.000006] sched_clock: 64 bits at 3000kHz, resolution 333ns, wraps every 2863311532032ns
    [ 0.000204] Console: colour dummy device 80x25
    [ 0.000225] Calibrating delay loop... 1196.85 BogoMIPS (lpj=5984256)
    [ 0.040115] pid_max: default: 32768 minimum: 301
    [ 0.040311] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.040322] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.041036] Initializing cgroup subsys memory
    [ 0.041067] Initializing cgroup subsys devices
    [ 0.041080] Initializing cgroup subsys freezer
    [ 0.041093] Initializing cgroup subsys net_cls
    [ 0.101336] CPU1 revision is: 3ee1024f (Ingenic JZRISC)
    [ 0.101343] FPU revision is: 00330100
    [ 0.101354] Primary instruction cache 32kB, 8-way, VIPT, linesize 32 bytes.
    [ 0.101358] Primary data cache 32kB, 8-way, VIPT, no aliases, linesize 32 bytes
    [ 0.101363] MIPS secondary cache 256kB, 8-way, linesize 128 bytes.
    [ 0.140551] Brought up 2 CPUs
    [ 0.141520] devtmpfs: initialized
    [ 0.146018] xor: measuring software checksum speed
    [ 0.240451] 8regs : 609.200 MB/sec
    [ 0.340531] 8regs_prefetch: 562.400 MB/sec
    [ 0.440603] 32regs : 1026.000 MB/sec
    [ 0.540678] 32regs_prefetch: 858.000 MB/sec
    [ 0.540688] xor: using function: 32regs (1026.000 MB/sec)
    [ 0.540716] pinctrl core: initialized pinctrl subsystem
    [ 0.541021] regulator-dummy: no parameters
    [ 0.545204] NET: Registered protocol family 16
    [ 0.570789] cpuidle: using governor ladder
    [ 0.600827] cpuidle: using governor menu
    [ 0.821625] raid6: int32x1 115 MB/s
    [ 0.991501] raid6: int32x2 178 MB/s
    [ 1.161770] raid6: int32x4 228 MB/s
    [ 1.331896] raid6: int32x8 176 MB/s
    [ 1.331905] raid6: using algorithm int32x4 (228 MB/s)
    [ 1.331912] raid6: using intx1 recovery algorithm
    [ 1.333881] jz4780-dma 13420000.dma: JZ4780 DMA controller initialised
    [ 1.334181] eth0_power: no parameters
    [ 1.334341] hdmi_power: no parameters
    [ 1.334513] wifi_power_gpio: 3300 mV
    [ 1.334678] wifi_reset_gpio: no parameters
    [ 1.334842] bt_reset_gpio: no parameters
    [ 1.335025] bt_reg_on_gpio: no parameters
    [ 1.335206] bt_wake_gpio: no parameters
    [ 1.335617] SCSI subsystem initialized
    [ 1.335758] usbcore: registered new interface driver usbfs
    [ 1.335822] usbcore: registered new interface driver hub
    [ 1.335941] usbcore: registered new device driver usb
    [ 1.336012] media: Linux media interface: v0.10
    [ 1.336059] Linux video capture interface: v2.00
    [ 1.336893] jz47xx-nemc 13410000.nemc: JZ4780 NEMC initialised
    [ 1.337052] Advanced Linux Sound Architecture Driver Initialized.
    [ 1.337952] cfg80211: Calling CRDA to update world regulatory domain
    [ 1.338583] Switched to clocksource jz4780-tcu-clocksource
    [ 1.345183] NET: Registered protocol family 2
    [ 1.346055] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
    [ 1.346104] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
    [ 1.346160] TCP: Hash tables configured (established 2048 bind 2048)
    [ 1.346260] TCP: reno registered
    [ 1.346273] UDP hash table entries: 256 (order: 1, 8192 bytes)
    [ 1.346303] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
    [ 1.346529] NET: Registered protocol family 1
    [ 1.346921] RPC: Registered named UNIX socket transport module.
    [ 1.346935] RPC: Registered udp transport module.
    [ 1.346941] RPC: Registered tcp transport module.
    [ 1.346948] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 1.347986] futex hash table entries: 512 (order: 3, 32768 bytes)
    [ 1.356347] VFS: Disk quotas dquot_6.5.2
    [ 1.356562] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [ 1.358690] NFS: Registering the id_resolver key type
    [ 1.358745] Key type id_resolver registered
    [ 1.358754] Key type id_legacy registered
    [ 1.358783] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [ 1.359199] msgmni has been set to 458
    [ 1.361445] bounce: pool size: 64 pages
    [ 1.361688] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
    [ 1.361705] io scheduler noop registered
    [ 1.361717] io scheduler deadline registered
    [ 1.361745] io scheduler cfq registered (default)
    [ 1.362623] Serial: 8250/16550 driver, 5 ports, IRQ sharing disabled
    [ 1.363826] ingenic-uart 10030000.serial: ttyS0 at MMIO 0x10030000 (irq = 59, base_baud = 3000000) is a 16550A
    [ 1.364180] ingenic-uart 10031000.serial: ttyS1 at MMIO 0x10031000 (irq = 58, base_baud = 3000000) is a 16550A
    [ 1.364659] ingenic-uart 10032000.serial: ttyS2 at MMIO 0x10032000 (irq = 57, base_baud = 3000000) is a 16550A
    [ 1.365027] ingenic-uart 10033000.serial: ttyS3 at MMIO 0x10033000 (irq = 56, base_baud = 3000000) is a 16550A
    [ 1.365371] console [ttyS4] disabled
    [ 1.365423] ingenic-uart 10034000.serial: ttyS4 at MMIO 0x10034000 (irq = 42, base_baud = 3000000) is a 16550A
    [ 2.027858] console [ttyS4] enabled
    [ 2.032077] [drm] Initialized drm 1.1.0 20060810
    [ 2.036851] platform 10180000.jz4780-hdmi3: Driver dwc-hdmi requests probe deferral
    [ 2.044711] platform 13050000.jz4780-lcdk: Driver jz4780_drm requests probe deferral
    [ 2.055454] loop: module loaded
    [ 2.060006] platform 1b000000.nand: Driver jz4780-nand requests probe deferral
    [ 2.067375] jz4780-bch 134d0000.bch: JZ4780 BCH initialised
    [ 2.108897] dm9000 16000000.dm9000: eth%d: Invalid ethernet MAC address. Please set using ifconfig
    [ 2.118364] eth0: dm9000b at b6000000,b6000002 IRQ 219 MAC: 1e:9a:db:f3:ed:7e (random)
    [ 3.059864] dwc2-jz4780 13500000.jz4780-otg: DWC OTG Controller
    [ 3.065812] dwc2-jz4780 13500000.jz4780-otg: new USB bus registered, assigned bus number 1
    [ 3.074115] dwc2-jz4780 13500000.jz4780-otg: irq 29, io mem 0x00000000
    [ 3.080872] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [ 3.087649] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 3.094869] usb usb1: Product: DWC OTG Controller
    [ 3.099571] usb usb1: Manufacturer: Linux 3.18.3 dwc2_hsotg
    [ 3.105131] usb usb1: SerialNumber: 13500000.jz4780-otg
    [ 3.110871] hub 1-0:1.0: USB hub found
    [ 3.114641] hub 1-0:1.0: 1 port detected
    [ 3.118902] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [ 3.125424] ehci-platform: EHCI generic platform driver
    [ 3.132678] jz4780-ehci 13490000.jz4780-ehci: EHCI Host Controller
    [ 3.138914] jz4780-ehci 13490000.jz4780-ehci: new USB bus registered, assigned bus number 2
    [ 3.147406] jz4780-ehci 13490000.jz4780-ehci: irq 28, io mem 0x13490000
    [ 3.168638] jz4780-ehci 13490000.jz4780-ehci: USB 2.0 started, EHCI 1.00
    [ 3.175516] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
    [ 3.182310] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 3.189526] usb usb2: Product: EHCI Host Controller
    [ 3.194393] usb usb2: Manufacturer: Linux 3.18.3 ehci_hcd
    [ 3.199785] usb usb2: SerialNumber: 13490000.jz4780-ehci
    [ 3.205596] hub 2-0:1.0: USB hub found
    [ 3.209413] hub 2-0:1.0: 1 port detected
    [ 3.213612] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
    [ 3.220147] 134a0000.jz4780-ohci supply vbus not found, using dummy regulator
    [ 3.227320] jz4740-ohci 134a0000.jz4780-ohci: JZ4740 OHCI
    [ 3.232773] jz4740-ohci 134a0000.jz4780-ohci: new USB bus registered, assigned bus number 3
    [ 3.241145] jz4740-ohci 134a0000.jz4780-ohci: irq 13, io mem 0x134a0000
    [ 3.302812] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
    [ 3.309691] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 3.316898] usb usb3: Product: JZ4740 OHCI
    [ 3.321073] usb usb3: Manufacturer: Linux 3.18.3 ohci_hcd
    [ 3.326461] usb usb3: SerialNumber: jz4740
    [ 3.331059] hub 3-0:1.0: USB hub found
    [ 3.334830] hub 3-0:1.0: 1 port detected
    [ 3.339096] ohci-platform: OHCI generic platform driver
    [ 3.344603] usbcore: registered new interface driver usb-storage
    [ 3.350893] mousedev: PS/2 mouse device common for all mice
    [ 3.356767] jz4740-rtc 10003000.rtcdev: rtc core: registered 10003000.rtcdev as rtc0
    [ 3.365408] jz4780-i2c 10050000.i2c0: Bus frequency is 100 KHz
    [ 3.373018] vcore1v2: 1000 <--> 1400 mV at 1200 mV
    [ 3.379353] vddmem1v5: 1500 mV
    [ 3.383949] vccio3v3: 3300 mV
    [ 3.388043] SUDCDC_REG4: at 5000 mV
    [ 3.393133] vcc2.5: 2500 mV
    [ 3.397040] vwifi3v3: 3300 mV
    [ 3.402787] vcim2v8: 2800 mV
    [ 3.408359] vcim1v5: 1500 mV
    [ 3.412489] vrtc1v8: 1800 mV
    [ 3.416496] vrtc1v2: 1200 mV
    [ 3.420116] VBUS: no parameters
    [ 3.423808] USB_CHARGER: at 400 mA
    [ 3.427616] jz4780-i2c 10051000.i2c1: Bus frequency is 100 KHz
    [ 3.433807] jz4780-i2c 10052000.i2c2: Bus frequency is 100 KHz
    [ 3.440499] jz4780-i2c 10053000.i2c3: Bus frequency is 100 KHz
    [ 3.446583] jz4780-i2c 10054000.i2c4: Bus frequency is 100 KHz
    [ 3.453311] IR NEC protocol handler initialized
    [ 3.457836] IR RC5(x/sz) protocol handler initialized
    [ 3.462916] IR RC6 protocol handler initialized
    [ 3.467442] IR JVC protocol handler initialized
    [ 3.471996] IR Sony protocol handler initialized
    [ 3.476611] IR SANYO protocol handler initialized
    [ 3.481335] IR Sharp protocol handler initialized
    [ 3.486034] IR MCE Keyboard/mouse protocol handler initialized
    [ 3.491883] IR XMP protocol handler initialized
    [ 3.497563] JZ4780 idle driver registered
    [ 3.502164] jz47xx-mmc 13450000.msc: Got CD GPIO
    [ 3.506820] jz47xx-mmc 13450000.msc: No vmmc regulator found
    [ 3.512562] jz47xx-mmc 13450000.msc: No vqmmc regulator found
    [ 3.518687] usb 1-1: new low-speed USB device number 2 using dwc2-jz4780
    [ 3.558870] jz47xx-mmc 13450000.msc: JZ SD/MMC card driver registered
    [ 3.565790] jz47xx-mmc 13460000.msc: No vqmmc regulator found
    [ 3.606494] mmc0: host does not support reading read-only switch, assuming write-enable
    [ 3.614571] jz47xx-mmc 13460000.msc: JZ SD/MMC card driver registered
    [ 3.616694] mmc0: new high speed SDHC card at address 0007
    [ 3.626671] mmcblk0: mmc0:0007 SD16G 14.4 GiB
    [ 3.627254] ledtrig-cpu: registered to indicate activity on CPUs
    [ 3.627479] usbcore: registered new interface driver usbhid
    [ 3.627481] usbhid: USB HID core driver
    [ 3.628684] ingenic-ci20-audio audio-ci20: ASoC: CODEC DAI dw-hdmi-hifi not registered
    [ 3.628716] ingenic-ci20-audio audio-ci20: snd_soc_register_card() failed:-517
    [ 3.628737] platform audio-ci20: Driver ingenic-ci20-audio requests probe deferral
    [ 3.629011] TCP: cubic registered
    [ 3.629028] Initializing XFRM netlink socket
    [ 3.629689] NET: Registered protocol family 10
    [ 3.630799] NET: Registered protocol family 17
    [ 3.631292] rfkill-regulator bt-rfkill: bt-reset initialized
    [ 3.631464] Key type dns_resolver registered
    [ 3.632246] registered taskstats version 1
    [ 3.635085] Btrfs loaded
    [ 3.635197] Error: Driver 'jz4780_drm' is already registered, aborting...
    [ 3.643232] dwc-hdmi 10180000.jz4780-hdmi3: Detected HDMI controller 0x13:0x1a:0xa0:0xc1
    [ 3.643378] dw-hdmi-audio dw-hdmi-audio: hdmi audio init success.
    [ 3.644226] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [ 3.644229] [drm] No driver support for vblank timestamp query.
    [ 3.720635] usb 3-1: new low-speed USB device number 2 using jz4740-ohci
    [ 3.762702] mmcblk0: p1
    [ 3.768368] usb 1-1: New USB device found, idVendor=04f3, idProduct=0103
    [ 3.782219] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
    [ 3.785278] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    [ 3.796664] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
    [ 3.798296] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
    [ 3.801148] input: HID 04f3:0103 as /devices/ahb2/13500000.jz4780-otg/usb1/1-1/1-1:1.0/0003:04F3:0103.0001/input/inp0
    [ 3.801328] hid-generic 0003:04F3:0103.0001: input: USB HID v1.11 Keyboard [HID 04f3:0103] on usb-13500000.jz4780-ot0
    [ 3.801339] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
    [ 3.809636] input: HID 04f3:0103 as /devices/ahb2/13500000.jz4780-otg/usb1/1-1/1-1:1.1/0003:04F3:0103.0002/input/inp1
    [ 3.809792] hid-generic 0003:04F3:0103.0002: input: USB HID v1.11 Device [HID 04f3:0103] on usb-13500000.jz4780-otg-1
    [ 3.849893] mmc1: new SDIO card at address 0001
    [ 3.916859] Console: switching to colour frame buffer device 160x45
    [ 3.939693] usb 3-1: New USB device found, idVendor=093a, idProduct=2510
    [ 3.939702] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
    [ 3.939708] usb 3-1: Product: USB Optical Mouse
    [ 3.939713] usb 3-1: Manufacturer: PixArt
    [ 3.950162] input: PixArt USB Optical Mouse as /devices/ahb2/134a0000.jz4780-ohci/usb3/3-1/3-1:1.0/0003:093A:2510.002
    [ 3.950514] hid-generic 0003:093A:2510.0003: input: USB HID v1.11 Mouse [PixArt USB Optical Mouse] on usb-jz4740-1/i0
    [ 4.107855] jz4780_drm 13050000.jz4780-lcdk: fb0: frame buffer device
    [ 4.114401] jz4780_drm 13050000.jz4780-lcdk: registered panic notifier
    [ 4.148665] [drm] Initialized jz4780 1.0.0 20140623 on minor 0
    [ 4.154994] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0x88
    [ 4.161387] nand: Micron MT29F64G08CBAAAWP
    [ 4.165491] nand: 8192MiB, MLC, page size: 8192, OOB size: 448
    [ 4.171350] jz4780-nand 1b000000.nand: using hardware BCH (strength 24, size 1024, bytes 42)
    [ 4.181453] Bad block table found at page 1048320, version 0x01
    [ 4.189680] Bad block table found at page 1048064, version 0x01
    [ 4.196768] nand_read_bbt: bad block at 0x00000b400000
    [ 4.201933] nand_read_bbt: bad block at 0x00000b600000
    [ 4.207131] nand_read_bbt: bad block at 0x000184800000
    [ 4.212310] nand_read_bbt: bad block at 0x0001f9800000
    [ 4.218321] 4 ofpart partitions found on MTD device jz4780-nand
    [ 4.224335] Creating 4 MTD partitions on "jz4780-nand":
    [ 4.229608] 0x000000000000-0x000000800000 : "u-boot-spl"
    [ 4.235327] 0x000000800000-0x000000a00000 : "u-boot"
    [ 4.240592] 0x000000a00000-0x000000c00000 : "u-boot-env"
    [ 4.246132] 0x000000c00000-0x000200000000 : "system"
    [ 4.252017] jz4780-nand 1b000000.nand: JZ4780 NAND initialised
    [ 4.261690] ingenic-ci20-audio audio-ci20: jz4780-hifi <-> 10020000.i2s mapping ok
    [ 4.270894] ingenic-ci20-audio audio-ci20: dw-hdmi-hifi <-> 10020000.i2s mapping ok
    [ 4.280328] input: ci20 Headphone Jack as /devices/audio-ci20/sound/card0/input3
    [ 4.288057] input: ci20 HDMI Jack as /devices/audio-ci20/sound/card0/input4
    [ 4.295793] jz4740-rtc 10003000.rtcdev: setting system clock to 1970-01-01 00:56:37 UTC (3397)
    [ 4.305232] jz4780-cim 13060000.jz4780-cim: JZ4780 Camera driver loaded
    [ 4.317764] clk: Not disabling unused clocks
    [ 4.322145] ALSA device list:
    [ 4.325121] #0: ci20
    [ 4.329127] EXT4-fs (mmcblk0p1): couldn't mount as ext3 due to feature incompatibilities
    [ 4.338415] EXT4-fs (mmcblk0p1): couldn't mount as ext2 due to feature incompatibilities
    [ 4.361903] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
    [ 4.370136] VFS: Mounted root (ext4 filesystem) readonly on device 179:1.
    [ 4.385420] devtmpfs: mounted
    [ 4.389304] Freeing unused kernel memory: 304K (80a74000 - 80ac0000)
    [ 4.437033] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
    [ 4.437033]
    [ 4.446167] drm_kms_helper: panic occurred, switching back to text console
    [ 4.453054] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
    [ 4.453054]
    [ 5.720818] random: nonblocking pool is initialized

    #50097

    Hi Zubair,

    I have tried ci20-3.0.8. On build time I have a lot of warnings described in the https://community.imgtec.com/forums/topic/ci20-3-0-8-u-boot-build-with-binutils-2-24-51/ topic.

    The boot log finished with following lines:


    [ 7.826274] devtmpfs: mounted
    [ 7.840305] Freeing unused kernel memory: 232k freed
    [ 7.881584] do_page_fault() #2: sending SIGSEGV to init for invalid read access from
    [ 7.881595] 0001fb10 (epc == 0001fb10, ra == 2ac91ce4)
    [ 7.916440] Kernel panic - not syncing: Attempted to kill init!
    [ 7.933279] Rebooting in 3 seconds..Restarting after 4 ms

    What is “bad luck” and how to fight it?

    Best Regards,
    Andrey K.

Viewing 15 posts - 1 through 15 (of 29 total)
The forum ‘Creator Platforms’ is closed to new topics and replies.