Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Raspberry Pi 3 with Official 7" LCD Display using Version 0.5.2 Branch aosp-7.1 Rel Date 18.12.2017

I need help. I have tried to run this version of software on my RPi3 both outputting to the LCD Display and HDMI display with no success. I'll see if I can post pics to this discussion so that folks can see the kinds of errors I am getting.

Comments

  • It seems I can't post pics here. Suffice to say I am seeing backtraces for all 4 cores. Happens around 2.08 seconds. I can't tell where exactly where it is failing. On the LCD power up, I can see that it complains of no ethernet found (and it does exist and works with Raspian). Says it found 5 USB devices (kbd is all I have), no storage devices (true). It seems to have found a U-Boot script /boot.scr.uimg, reads it in 11ms. Then it executes a script at 02000000, reading zImage. 7472072 bytes read in 666 ms. Reading ramdisk.uimg, 1547931 bytes read in 154 ms. Then it proceeds to "Loading init Ramdisk from Legacy Image", checksum ok. Other information in there but the next thing looking promising was "Starting kernel ..." I see a bunch of printed lines, seem normal till 1.372050 seconds. I see it doing an ALSO devist list at 1.355175, a SELinux at 1.393743, init starting at 1.442210. Got to part where is says "Coldboot took 0.17s". Looks like E M T E R I A is annunciating at 1.803478. at 2.002455 EXT4-fs error (device mmblk0p4): ext4_mb_generate_buddy:758: group 64, block bitmap and bg descriptor inconsistent: 0 vs 24544 free clusters. Then it aborts the journal on that device. Which proceeds to a Kernel panic - not syncing: ... at 2.027355.

    So the kernel is panicing and the maybe the issue is with corruption?

    I'll re flash the image again and try again.

    Chris

  • I installed from Windows 7 and Ubuntu 16.04 OS's to the SDCARD using the Emteria installer. And both times it failed. Are there any log files anywhere I can post? I don't see a /var folder.

  • Well I got my hands on a 0.5.0 version and it still crashes in the same way. I don't know if it is something with my RPi3 or my SDCARD. I am using an SanDisk Extreme Pro 16 GB .

    • You can actually post images, if you can upload them somewhere else
    • Logs can be saved only after the sdcard was successfully mounted (which seems to be the problem in your case). There are two paths to look for log files: /data/misc/logd and /data/cache/logs
    • The device mmblk0p4 is your "userdata" partition, which is the biggest partition on the sdcard. It looks like it is corrupted (which could mean the sdcard itself is corrupted).

    I've tested the latest image with all of my sdcards (8 in total) and couldn't reproduce the issue. Is there a way for you to test another sdcard?

  • I have tried a different sdcard and it has the same result. I have reinstalled raspian on both cards and it works fine. Maybe if I can get the SDCARD to a "blank" or "init" state before flashing?

  • Looks like oem and userdata partitions are empty

  • Here is the log file, no errors indicating any copying issues.

    +00:07 (qrc:/main.qml, 221) qrc:/main.qml:221:17: QML Rectangle: Binding loop detected for property "height"
    +00:38 (, 0) Refreshing drives
    +00:40 (, 0) Found 1 drives
    +00:56 (, 0) Downloading "package.json"
    +00:56 (, 0) Using path "C:/Users/Administrator/AppData/Local/Emteria/Installer/rpi3-v0.5.2/package.json"
    +00:56 (, 0) Finished download of "package.json"
    +00:56 (, 0) Checking for OEM config..
    +00:56 (, 0) Retrieved OEM config len = 0
    +00:56 (, 0) Downloading "boot.zip"
    +00:56 (, 0) Using path "C:/Users/Administrator/AppData/Local/Emteria/Installer/rpi3-v0.5.2/boot.zip"
    +01:17 (, 0) Finished download of "boot.zip"
    +01:17 (, 0) Downloading "oem.zip"
    +01:17 (, 0) Using path "C:/Users/Administrator/AppData/Local/Emteria/Installer/rpi3-v0.5.2/oem.zip"
    +01:17 (, 0) Finished download of "oem.zip"
    +01:17 (, 0) Downloading "system.zip"
    +01:17 (, 0) Using path "C:/Users/Administrator/AppData/Local/Emteria/Installer/rpi3-v0.5.2/system.zip"
    +05:21 (, 0) Finished download of "system.zip"
    +05:21 (, 0) Finished DownloadWorker
    +05:21 (, 0) Flashing on raw "\\\\.\\PHYSICALDRIVE4"
    +05:21 (, 0) Initializing PackageWriter
    +05:21 (, 0) Package base path: "C:/Users/Administrator/AppData/Local/Emteria/Installer/rpi3-v0.5.2"
    +05:21 (, 0) Drive: "Generic STORAGE DEVICE USB Device" with 16567500800 bytes
    +05:21 (, 0) Raw at "\\\\.\\PHYSICALDRIVE4"
    +05:21 (, 0) Mounted at "G:"
    +05:21 (, 0) PackageWriter initialized successfully
    +05:21 (, 0) Starting step 0 Reading package
    +05:21 (, 0) Finished step 0 Reading package
    +05:21 (, 0) Starting step 1 Verifying files
    +05:21 (, 0) Skipping "ota.zip" as it isn't required for flashing
    +05:22 (, 0) Finished step 1 Verifying files
    +05:22 (, 0) Starting step 2 Preparing
    +05:28 (, 0) Diskpart output: "\r\nMicrosoft DiskPart version 6.1.7601\r\nCopyright (C) 1999-2008 Microsoft Corporation.\r\nOn computer: LUCY\r\n\r\nDisk 4 is now the selected disk.\r\n\r\nVolume 4 is the selected volume.\r\n\r\nDiskPart successfully removed the drive letter or mount point.\r\n\r\nPlease wait while DiskPart scans your configuration...\r\n\r\nDiskPart has finished scanning your configuration.\r\n"
    +05:28 (, 0) Diskpart error: ""
    +05:35 (, 0) Diskpart output: "\r\nMicrosoft DiskPart version 6.1.7601\r\nCopyright (C) 1999-2008 Microsoft Corporation.\r\nOn computer: LUCY\r\n\r\nDisk 4 is now the selected disk.\r\n\r\nDiskPart succeeded in cleaning the disk.\r\n\r\nPlease wait while DiskPart scans your configuration...\r\n\r\nDiskPart has finished scanning your configuration.\r\n"
    +05:35 (, 0) Diskpart error: ""
    +05:37 (, 0) Finished step 2 Preparing
    +05:37 (, 0) Starting step 3 Opening to write
    +05:37 (, 0) Finished step 3 Opening to write
    +05:37 (, 0) Assuming drive has 32358400 sectors
    +05:37 (, 0) Processing 4 partitions
    +05:37 (, 0) Processing partition "boot"
    +05:37 (, 0) Using LBA of 2048
    +05:37 (, 0) Size determined from zip source: 65011712
    +05:37 (, 0) Partition will occupy 126976 sectors
    +05:37 (, 0) Processing partition "system"
    +05:37 (, 0) Using LBA of 129024
    +05:37 (, 0) Size determined from zip source: 2147483648
    +05:37 (, 0) Partition will occupy 4194304 sectors
    +05:37 (, 0) Processing partition "oem"
    +05:37 (, 0) Using LBA of 4323328
    +05:37 (, 0) Size determined from zip source: 67108864
    +05:37 (, 0) Partition will occupy 131072 sectors
    +05:37 (, 0) Processing partition "userdata"
    +05:37 (, 0) Using LBA of 4454400
    +05:37 (, 0) Processing dynamically sized partition "userdata"
    +05:37 (, 0) Partition will start at LBA 4454400
    +05:37 (, 0) Remaining sectors on drive: 27904000
    +05:37 (, 0) Starting step 4 Writing MBR
    +05:37 (, 0) Partitions in MBR:
    +05:37 (, 0) Partition 0 bootable true LBA 2048 size 126976
    +05:37 (, 0) Partition 1 bootable false LBA 129024 size 4194304
    +05:37 (, 0) Partition 2 bootable false LBA 4323328 size 131072
    +05:37 (, 0) Partition 3 bootable false LBA 4454400 size 27904000
    +05:37 (, 0) Finished step 4 Writing MBR
    +05:37 (, 0) Starting step 5 Writing file
    +05:37 (, 0) Using zip file at "C:/Users/Administrator/AppData/Local/Emteria/Installer/rpi3-v0.5.2/boot.zip"
    +05:52 (, 0) Finished step 5 Writing file
    +05:52 (, 0) Starting step 5 Writing file
    +05:52 (, 0) Using zip file at "C:/Users/Administrator/AppData/Local/Emteria/Installer/rpi3-v0.5.2/system.zip"
    +14:29 (, 0) Finished step 5 Writing file
    +14:29 (, 0) Starting step 5 Writing file
    +14:29 (, 0) Using zip file at "C:/Users/Administrator/AppData/Local/Emteria/Installer/rpi3-v0.5.2/oem.zip"
    +14:29 (, 0) Failed to set file pointer: 0
    +14:45 (, 0) Finished step 5 Writing file
    +14:45 (, 0) Starting step 6 Creating file system
    +14:45 (, 0) Creating ext4 filesystem from scratch, ideal size is 27904000
    +14:45 (, 0) Closest script size is 24099840
    +15:41 (, 0) Finished step 6 Creating file system
    +15:41 (, 0) Starting step 7 Validating
    +15:46 (, 0) Finished step 7 Validating
    +15:46 (, 0) Starting step 9 Finalizing
    +15:46 (, 0) Ejected drive
    +15:46 (, 0) Finished step 9 Finalizing

  • edited January 4

    Yes, those partitions should be empty after install (they will be filled after the first boot). Please try formatting one of your sdcards to something else (like fat32 - full size). Raspbian is way smaller than Android and its main partition doesn't start as late, as Android's. So there is a chance than Raspbian doesn't get to corrupted blocks or just ignores errors.

    Can you please take a picture (or record a video) of the screen and post it here? Or just send it to support (at) emteria.com.

  • I have tried this again to no avail. Is there any other way to load the partitions with data aside from using your flash tool? I can't send the video as it is over 60MB. I can try and have windows formatting the whole SDCARD to FAT32 (have to figure that one out) and maybe do a chkdsk on the drive.

  • I made the whole SDCARD a FAT32 partition, and reformatted it. Then I did a chkdsk and there were no errors. A surface test resulted in no bad sectors and there were 32356352 of them! So at this point either I stop and give up on this effort or find some other solution.

  • I just used the flasher tool of yours again and it still doesn't even get to the splash screen.

  • I think this should be closed as the new version is out and this is old now.

This discussion has been closed.