Dingoonity.org

Dingux (Dingoo Linux) => Help => Topic started by: Bouvrie on October 25, 2009, 10:46:00 pm

Title: Dingoo and Dingux troubleshooting and FAQ guide
Post by: Bouvrie on October 25, 2009, 10:46:00 pm
Here's just a thread that bundles some best practices and common issues with the Dingoo and Dingux. Hopefully it'll be a good starting/reference point for people new to the Dingoo.

I know the Wiki is supposed to cover this, but for now the forum seems more active than the Wiki. :P

HARDWARE  FACTS  AND  MODIFICATIONS

Dingoo Themes
The Dingoo can be themed to your liking. This can be done for Dingux-based menu systems (DMenu), as well as the native OS (which requires a custom firmware with the system folder exposed).

FIRMWARES:
Several firmwares are available for the Dingoo, both official and unofficial.
   Check this thread by omgomg (http://boards.dingoonity.org/dingoo-hacks/guide-flashing-custom-firmwares-to-your-dingoo/) for info on firmwares, and the flashing procedure. Or check the Wiki (http://dingoowiki.com/index.php/Dingoo:Firmware).
   Note that if you flash a foreign firmware, you'll want to put the Dingoo's Language to English after flashing.
   In the Dingoo Menu, select the rightmost option (with the A button), then Language setting is the 6th option. English should be the last option there. :)



NATIVE  OS  QUIRKS


INSTALLING  DINGUX
Dingux is Linux ported to the Dingoo. The installer is composed of 2 components: the dualboot bootloader (which allows for either booting Dingux, or the native OS) and the Linux system files (rootfs and zImage). The rootfs file is the minimal root filesystem, zImage is the actual Linux kernel.
To install Dingux, download the dual_boot_installer zip (http://code.google.com/p/dingoo-linux/downloads/list), and follow the instructions in the README file. For a running start afterwards, install the latest Dingux Local Pack (http://boards.dingoonity.org/dingux-games-and-homebrew/) with many homebrew applications included and configured.


BOOTING  DINGUX
   If you're having trouble getting Dingux up and running, here's a log of the boot proceedings and some known problems:

   
   0) THE DINGOO POWERS ON --> You get a white screen.
   
   1) THE DINGOO POWERS ON --> You press the SELECT-button DURING BOOT
   
   2) BOOTING CONTINUES --> Showing the Dingux boot screen, boot procedure is run.
                  
DINGUX  QUIRKS
Title: Re: Dingoo and Dingux troubleshooting and FAQ guide
Post by: Absent on October 25, 2009, 11:29:13 pm
Brilliant! Goes without saying how sticky this should (and soon will) be.
Title: Re: Dingoo and Dingux troubleshooting and FAQ guide
Post by: Goon8 on October 25, 2009, 11:37:48 pm
Wicked I was hoping someone would do something exactly like this!  ;D

+Karma for you my friend.

Title: Re: Dingoo and Dingux troubleshooting and FAQ guide
Post by: codiak on October 25, 2009, 11:48:12 pm
Nice FAQ! Made it sticky
Title: Re: Dingoo and Dingux troubleshooting and FAQ guide
Post by: bmg002 on October 28, 2009, 04:13:56 am
I believe there is a typo.  It says:
Observation: Dingux error message:  Kernel panic - not syncing VFS: unable to mount root fs
Symptom: Dingux can't deal with rootfs
Cause: If you're sure the bootfs/zImage you're using are correct, there might be a (filesystem) problem with your MiniSD card/adapter.
Solution: Try another SDCard, or format the SDCard to FAT32 in a way different from how you did it before.

I believe that the cause should read rootfs/zImage not bootfs... or is bootfs something different?
The Gh0ce_>0
Title: Re: Dingoo and Dingux troubleshooting and FAQ guide
Post by: Bouvrie on October 28, 2009, 10:11:12 am
I believe there is a typo.
typo fixed, bootfs-->rootfs ;)

I'll be updating the FAQ some more with a section about FAT32 formatting the SD card and making it Dingux-compatible. I might be needing additional input for this on gatting a card formatted and installed properly through non-Windows operating systems.

If people feel like contributing, the following information would be most helpful in further determining the caveats of Fat32 formats:
Title: Re: Dingoo and Dingux troubleshooting and FAQ guide
Post by: bmg002 on October 31, 2009, 05:16:56 pm
I have had the best luck using windows XP command prompt format command with the dingoo connected with dingoo-os through the usb cable.  I used the following command:
format x: /FS:fat32 /A:32K
I did this about a week ago and have used my a320 with dingux steadily and haven't had a corruption yet (crossing my fingers).
After formatting it I put the latest rootfs/zimage (as of October 31, 2009) on BEFORE I put anything else on.  I have an 8 GB kingston micro SDHC card that is in a micro->mini adapter.
Prior to this I had used the same as above except I used a default allocation unit size of 4K (4096) and I would get 1-2 days out of the mp3 player before I would get corruption.
I tried using the panasonic formatting tool and it created a new problem for me: cannot not guess filesystem errors and init fails.  And yes, it does say "cannot not" which sounds like a double negative and thus shouldn't be an error, but it fails to boot.
hope this is helpful to someone.
The Gh0ce_>0
Title: Re: Dingoo and Dingux troubleshooting and FAQ guide
Post by: Absent on November 02, 2009, 06:55:35 am
I have had the best luck using windows XP command prompt format command with the dingoo connected with dingoo-os through the usb cable.  I used the following command:
format x: /FS:fat32 /A:32K
hope this is helpful to someone.
The Gh0ce_>0

YESSS!!!

Yes. It was. It really was. That was the only thing that worked for me after a week of hacking after this thing. Serious Karma to you man. THANK YOU
Title: Re: Dingoo and Dingux troubleshooting and FAQ guide
Post by: Bouvrie on November 02, 2009, 11:20:15 pm
Nice work. I accidentally managed to reproduce your problem, using the Panasonic SD formatter. I've yet to establish the cause, but I suspect it's a cluster size thing.

Anyway, I updated the FAQ a bit. Further testing will have to wait as I'm compiling my own local pack for that. :P
Title: Re: Dingoo and Dingux troubleshooting and FAQ guide
Post by: mediamonkey on November 07, 2009, 04:36:06 pm
Regarding:
(Should I copy the zImage, disconnect and reboot and reconnect, then copy rootfs, D + R, and then local and data? Or just in one session, copy 1 file, then the other, then the rest of the data)


1) THE DINGOO POWERS ON --> You press the SELECT-button DURING BOOT
   

    * Observation: The Dingoo freezes on boot, while displaying the Dinux-logo.
    * Symptom: The bootloader can't find the bootfiles.
    * Cause: You have either an incorrect rootfs/zImage installed OR it's the Fat32 corruption bug.
    * Solution: Install correct bootfx/zImage OR reformat the SD-Card and FIRST copy the zImage and SECOND copy rootfs to it, before copying the local folder and the rest of the data. Also resist writing to the SD card under Dingux for now.      (My Windows7 x64 format didn't work, where my Windows XP x32 format worked fine. You can also try Panasonic SD Formatter.)
Title: Re: Dingoo and Dingux troubleshooting and FAQ guide
Post by: Bouvrie on November 07, 2009, 10:08:14 pm
Regarding:
(Should I copy the zImage, disconnect and reboot and reconnect, then copy rootfs, D + R, and then local and data? Or just in one session, copy 1 file, then the other, then the rest of the data)
I think whether it's one or multiple sessions shouldn't make a difference: the emphasis here lies in copying the rootfs/zImage to the very first sectors of the FAT32 partition, before any other data. Whether one reboots inbetween copying is irrelevant, most people here didn't anyway.
Title: Re: Dingoo and Dingux troubleshooting and FAQ guide
Post by: mediamonkey on November 08, 2009, 05:05:34 am
Thanks, that looks to have worked for me.
Title: Re: Dingoo and Dingux troubleshooting and FAQ guide
Post by: Bouvrie on December 08, 2009, 07:59:00 am
Added some more bits and pieces that should reflect some threads posted in the last couple of weeks.

I do feel that this thread, combined with omgomg's flashing custom firmwares (http://boards.dingoonity.org/dingoo-hacks/guide-flashing-custom-firmwares-to-your-dingoo/) thread should cover most issues with the Dingoo. Way to go community! :)

Additionally, perhaps another post is needed, explaining the dualboot flashing in more detail. The readme that comes with it is pretty good, but for some less tech-savvy people, it might still be hard to uninstall/reinstall drivers and the works, especially on 'exotic' OS'es like Windows Vista and Windows 7, not to mention the 64-bit editions.
Title: Re: Dingoo and Dingux troubleshooting and FAQ guide
Post by: Chris23235 on January 05, 2010, 10:24:07 am
I don't know, why people reformat their cards after a corruption and put everything back on.
In most cases chkdsk can fix the corruption. Just start the it from the commandprompt with following parameters
chkdsk [n]: /F /R /X
[n] is the letter of the drive your sd card is inserted.
In every single case, my filesystem was corrupted, chkdsk was able to repair it, no need to reformat anything.
Title: Re: Dingoo and Dingux troubleshooting and FAQ guide
Post by: zear on January 05, 2010, 10:33:55 am
On under linux:
fsck.vfat /dev/[your_card] -a
Title: Re: Dingoo and Dingux troubleshooting and FAQ guide
Post by: stryydel on January 07, 2010, 05:22:57 am
Thanks for great FAQ !!!  ;D
Title: Re: Dingoo and Dingux troubleshooting and FAQ guide
Post by: kin on June 12, 2010, 12:05:14 am
Lol after googlin my issue, I got on this board:

Here's my contribute for the "freeze at Dingux splash screen" issue:

(note I have an 8gb sd, using windows XP)
- google "HP USB Disk Storage Format Tool" (it's an executable)
- format fat32

The noticable difference after formatting with the HP formatting tool is:
- the transferspeed of my SD is alot faster
- on previous attempts formatting with windows (even in CMD with 32k blocksize) i ended up with 7.7gb
   with HP tool I ended up with 7.9gb

Finishing touch:
- put zImage / rootfs / etc.... back on the sd
- hold SELECT en restart, IT WORKS!

How I got into this mess:
When I last shutdown the 0.35 pack, the next time I turned on my dingoo with SELECT,
it froze on splashscreen. This is because all the files on the SD were suddenly missing, and that's when the formatting issue pop up.
I even tried to flash the nand again and I nearly gave up on the problem.

 :-*
Title: Re: Dingoo and Dingux troubleshooting and FAQ guide
Post by: Dastardly on June 17, 2010, 10:36:15 am
Don't use SD cards from the brand 'integral' they do not work! I tried one on four XP machines at various patch levels. Formating and installing as per the troubleshooting guide and the dingoo failed to recognise the files. Although in the standard os it did see the card and the files on it. If anyone has started a list of SC cards that don't work please add this to it.
Title: Re: Dingoo and Dingux troubleshooting and FAQ guide
Post by: Bouvrie on June 17, 2010, 09:03:51 pm
Don't use SD cards from the brand 'integral' they do not work! I tried one on four XP machines at various patch levels. Formating and installing as per the troubleshooting guide and the dingoo failed to recognise the files. Although in the standard os it did see the card and the files on it. If anyone has started a list of SC cards that don't work please add this to it.
So, you tried it with another brand & it worked? :)
Title: Re: Dingoo and Dingux troubleshooting and FAQ guide
Post by: kin on June 18, 2010, 03:49:12 pm
Don't use SD cards from the brand 'integral' they do not work! I tried one on four XP machines at various patch levels. Formating and installing as per the troubleshooting guide and the dingoo failed to recognise the files. Although in the standard os it did see the card and the files on it. If anyone has started a list of SC cards that don't work please add this to it.
So, you tried it with another brand & it worked? :)

Lol the situation is so identical with my previous post on this page... how can he miss my sollution. ::)
Title: Re: Dingoo and Dingux troubleshooting and FAQ guide
Post by: Bouvrie on June 18, 2010, 10:14:24 pm
Lol the situation is so identical with my previous post on this page... how can he miss my sollution. ::)
That's the intruiging part: "I have tried everything in the trouble shooting guide apart from trying another SD card (http://boards.dingoonity.org/dingoo-help/dingoo-hovering-over-the-bin/msg17470/#msg17470)".
Title: Re: Dingoo and Dingux troubleshooting and FAQ guide
Post by: Dastardly on June 21, 2010, 10:10:25 am
No Kin, it was not the same you reformatted and I had to by a new card?I have to say this thing is amazing! Big thanks to anybody involved in boot, firmware and emulator creation.
 ;D
Title: Re: Dingoo and Dingux troubleshooting and FAQ guide
Post by: madhatter on June 30, 2010, 11:06:12 pm
when i try to copy zImage and rootfs to the miniSD card it doesnt work. it will just start copying say that it copied them, but nothing happened. does anyone have any ideas on how to work with this?
this is the error i get
Error while copying "zImage".
There was an error copying the file into /media/CF53-2690.
Error splicing file: Input/output error

the same thing shows up for rootfs
Title: Re: Dingoo and Dingux troubleshooting and FAQ guide
Post by: madhatter on July 06, 2010, 10:48:17 pm
i have this error
    * Observation:  Dingux error message:  cannot run '/usr/local/sbin/main': No such file or directory
    * Symptom: Main menu (shell) missing.
    * Cause: Dingux loads the local/sbin/main executable on start. If there is no file, nothing will execute.
    * Solution: Put a shell-script or application there, ideally a menu like Dmenu or DinguXMB. Or, if you want them both, check here.

but i cant figure out what to do once i know that this is whats wrong. i want to use gmenu2x and i really just have no idea about how to go about fixing this install error. help please
Title: Re: Dingoo and Dingux troubleshooting and FAQ guide
Post by: eule on July 06, 2010, 11:22:12 pm
Download a menu like gmenu2x and change the local/sbin/main to run it, described in the readme of the menu.
Gmenu: http://boards.dingoonity.org/dingux-releases/gmenu2x-for-dingux-! (http://boards.dingoonity.org/dingux-releases/gmenu2x-for-dingux-!)
Title: Re: Dingoo and Dingux troubleshooting and FAQ guide
Post by: madhatter on July 06, 2010, 11:35:34 pm
i have done as described and made folders local/gmenu2x and local/sbin with "main" from localpack 0.35 inside of sbin, but when booting install it still says that //usr/local/sbin/main doesn't exist or can't access. do i need to put /usr/ infront of local or is there some other thing that i'm missing? should i copy all of the contents of localpack 0.35 onto my sd and than try installing?

**edit**
copied everything from localpack0.35 and it worked
Title: Re: Dingoo and Dingux troubleshooting and FAQ guide
Post by: kryo on July 11, 2010, 12:35:12 pm
when I type

"usbtool-win 1 zImage_dual_boot_installer_ILI9331 0x80600000"

in command prompt, I get

"[ERR] Could not allocate memory."

whats going on?
Title: Re: Dingoo and Dingux troubleshooting and FAQ guide
Post by: madhatter on July 11, 2010, 01:25:47 pm
when I type

"usbtool-win 1 zImage_dual_boot_installer_ILI9331 0x80600000"

in command prompt, I get

"[ERR] Could not allocate memory."

whats going on?

make sure you're in Administrator, and check to see if your card is formatted FAT32
Title: Re: Dingoo and Dingux troubleshooting and FAQ guide
Post by: zear on July 11, 2010, 06:48:04 pm
when I type

"usbtool-win 1 zImage_dual_boot_installer_ILI9331 0x80600000"

in command prompt, I get

"[ERR] Could not allocate memory."

whats going on?

make sure you're in Administrator, and check to see if your card is formatted FAT32
It has nothing to do with the card as he's trying to flash the bootloader.
Also the error comes from within the usbtool. Be sure to check you typed the right command, not missed any digits, etc. Also check if your Dingoo is in usbboot mode.
Title: Re: Dingoo and Dingux troubleshooting and FAQ guide
Post by: Domian on September 09, 2010, 08:35:17 am
Lol after googlin my issue, I got on this board:

Here's my contribute for the "freeze at Dingux splash screen" issue:

(note I have an 8gb sd, using windows XP)
- google "HP USB Disk Storage Format Tool" (it's an executable)
- format fat32

The noticable difference after formatting with the HP formatting tool is:
- the transferspeed of my SD is alot faster
- on previous attempts formatting with windows (even in CMD with 32k blocksize) i ended up with 7.7gb
   with HP tool I ended up with 7.9gb

Finishing touch:
- put zImage / rootfs / etc.... back on the sd
- hold SELECT en restart, IT WORKS!
Thanks, the format with this tool helped me with my dingux splash screen stuck :)
Title: Re: Dingoo and Dingux troubleshooting and FAQ guide
Post by: borus on September 09, 2010, 10:30:01 am
I believe the following method may be added to the troubleshooting:

Safe zImage/rootfs replacement (solves freeze at dingux logo) (http://boards.dingoonity.org/dingux-general/safe-zimagerootf-replacement-%28solves-freeze-at-dingux-logo%29/)
Title: Re: Dingoo and Dingux troubleshooting and FAQ guide
Post by: Domian on September 09, 2010, 10:47:46 am
I believe the following method may be added to the troubleshooting:

Safe zImage/rootfs replacement (solves freeze at dingux logo) (http://boards.dingoonity.org/dingux-general/safe-zimagerootf-replacement-%28solves-freeze-at-dingux-logo%29/)
that, btw, didn't solve my problem. It only worked with the formatting.

But if the problem appears after using the card for a while, the forced together defrag may help.
Title: Re: Dingoo and Dingux troubleshooting and FAQ guide
Post by: 60659 on December 04, 2010, 04:37:34 pm
[ A-320, white, 9331 ]
I have 'Segmention fault' version.
I've tried CHKSDK - there was nothing to repair.
I've tried reformatting - no changes.
What else left to do?
Title: Re: Dingoo and Dingux troubleshooting and FAQ guide
Post by: Bouvrie on December 05, 2010, 01:20:04 am
I'm thinking reformatting, as CHKDSK usually doesn't help much anyway, but is not so drastic as formatting.

Try another utility to format your card, and if that doesn't help try deleting and creating a partition on the card.
Title: Re: Dingoo and Dingux troubleshooting and FAQ guide
Post by: Shyfer on March 24, 2011, 07:48:29 pm
My dingoo keept freezing at the boot with the dingux logo, solved by formatting the card with HP USB Disk Storage Format Tool, NOTHIING else could fix it. I THINK that this only formats rebuilding the partition table and setting the bootable flag, not sure.
Title: Re: Dingoo and Dingux troubleshooting and FAQ guide
Post by: pavelsh on June 06, 2011, 06:42:49 pm
what means "Kernel panic - not syncing: Fatal exception in interrupt"? It appears if I select too big clock for link in Gmenu2x. It starts about 410-420 MHz.
Title: Re: Dingoo and Dingux troubleshooting and FAQ guide
Post by: SilverhawkBR on June 07, 2011, 01:26:33 am
Well, some dingoos can overclock more and others less.

For example, i reach 445Mhz unstable, for example, but some people barely reaches the 385Mhz with stability.

Just lower your clock until its fine.
Title: Re: Dingoo and Dingux troubleshooting and FAQ guide
Post by: pavelsh on June 07, 2011, 11:41:55 am
But I can perfectly set 430 MHz in app, like picodrive.
Title: Re: Dingoo and Dingux troubleshooting and FAQ guide
Post by: SilverhawkBR on June 07, 2011, 11:17:50 pm
Yes you can. Tough it will crash, you just have to find your very own max overclock value in this case. Most dingoos can overclock to 430Mhz, but some cant, so you just have to keep it a little lower.
Title: Re: Dingoo and Dingux troubleshooting and FAQ guide
Post by: smida3 on September 28, 2011, 08:54:46 am
Thanks for the FAQ
Title: Re: Dingoo and Dingux troubleshooting and FAQ guide
Post by: Hipno702 on September 30, 2011, 02:57:10 am
i'm trying to install the dual-boot right now. I've installed the rockbox driver in flash mode but when i type in the commands usbtool-win 1 hwinit_ILI9338.bin 0x80000000
   usbtool-win 1 zImage_dual_boot_installer_ILI9338 0x80600000 i keep getting
[ERR] memory could not be allocated. what am i doing wrong? cmd is in the same directory as the dual boot and dingux folders but everything i try doesn't work. can anyone help?