Author Topic: [UPDATED][RELEASE] 64MB Dingux for A330  (Read 32323 times)

qbertaddict

  • * Former Staff
  • The Doctor
  • Posts: 1184
    • about.me
Re: [RELEASE] 64MB Dingux for A330
« Reply #30 on: May 31, 2010, 07:28:52 am »
Here is a link to my package that seems to have fixed my issue hope it fixes it for you as well I was only able to test on mine and my friends A330. I only changed the windows flashing part not the linux side. We were both having the same issue

http://www.megaupload.com/?d=IJ3CT0QG

I noticed that her usbboot.cfg was different as well so copied it over and edited the 0 1 and 2 scripts to include the nerase command. Tried selecting linux as default and native as default both worked.

Just follow her instuctions and everything should work now. Make sure to copy the zImage file over. You may have to reformat your card but thats normal when changing the zImage or rootfs.

Use this at your own risk.....Its not really a risk though since you can use the unbrick tool to fix it if anything goes wrong.

Note: You will know it was succesful when you see the penguin and dingux with a 64mb under it
« Last Edit: May 31, 2010, 10:36:46 am by qbertaddict »

NeHe

Re: [RELEASE] 64MB Dingux for A330
« Reply #31 on: May 31, 2010, 09:53:26 am »
Appreciate the replies, updated pack, etc... but I'm still completely at a loss... I've done everything from reformatting my SD in all kinds of ways to making sure the order of copying rootfs and zImage is correct to turning off uboot protection... I've attempted the same changes you made for windows in Ubuntu, ran your changes in windows, ran the original installer, and even tried making changes myself to usbboot (slower speed, slower baud, etc)... different USB cables, different ports, different machines.

The flash in windows seems to go way too fast, but it does appear to work as you can see below.  The device even appears to reset and at times shows the DINGUX splash after the flash is done... but once I reset (with reset button), I get nothing... black screen (can see light) with normal os and dingux splash screen if I hold select and boot into Dingux.  No errors, no attempt to boot.  I would think at the very least the original system would boot, and dingux would be the os that fails.  Really don't know what else to try tonight... wasted most my day trying to get this working :)


This is what I get...

When you see the prompt "USBBoot :>" please enter the following command
exactly as it appears below:

      run install

Press any key to continue . . .

 Welcome!
 USB Boot Host Software!
 USB Boot Software current version: 1.4b
 Handling user command.
 USBBoot :> run install

 ======================================================================
 Execute command: boot 0

 Checking state of No.0 device: Unboot
 Now booting No.0 device:
 Download stage one program and execute at 0x80002000: Pass
 Download stage two program and execute at 0x80c00000: Pass
 Boot success!
 Now configure No.0 device:
 Now checking whether all configure args valid:
 Current device information: CPU is Jz4740
 Crystal work at 12MHz, the CCLK up to 336MHz and PMH_CLK up to 112MHz
 Total SDRAM size is 16 MB, work in 4 bank and 16 bit mode
 Nand page size 2048, ECC offset 6, bad block ID 127, use 1 plane mode
 Configure success!
 ======================================================================
 Execute command: nerase 0 1 0 0

 Erasing No.0 device No.0 flash...... Finish!
 Operation end position : 1
 Force erase ,no bad block infomation !
 ======================================================================
 Execute command: nprog 0 a330-native-spl.bin 0 0 -n

 Programing No.0 device...
 Erasing No.0 device No.0 flash...... Finish!
 Operation end position : 1
 Force erase ,no bad block infomation !
 Total size to send in byte is :105184
 Image type : without oob
 It will cause 1 times buffer transfer.
 No.1 Programming... Finish! Checking... pass! End at 52
 ======================================================================
 Execute command: exit

 Exiting USB Boot software




If all has worked correctly, your Dingoo may now be reset and you should see
the Dingux splash screen.

qbertaddict

  • * Former Staff
  • The Doctor
  • Posts: 1184
    • about.me
Re: [RELEASE] 64MB Dingux for A330
« Reply #32 on: May 31, 2010, 10:35:54 am »
My changes were only applied to the windows side. I need more people to test...I will tell you what though the improvment is great. I am playing fba games using zipped files not cached and they all run great. Batsgun and xmen cota at full speed in a zip :)
« Last Edit: May 31, 2010, 10:38:59 am by qbertaddict »

SiENcE

  • **
  • Posts: 653
    • Crank Gaming (Dingux Apps)
Re: [RELEASE] 64MB Dingux for A330
« Reply #33 on: May 31, 2010, 01:11:26 pm »
You should remove the linux ones from your archive.

Stephanie

  • Guest
Re: [RELEASE] 64MB Dingux for A330
« Reply #34 on: May 31, 2010, 01:46:15 pm »
Hi folks,

I'm not sure why all the problems with the windows version, but I'm not a windows user myself. I did test the process on a windows xp netbook and it worked for me....

The command "nerase 0 1 0 0" forces an erase of the first eraseblock of the nand. I didn't include this as usbboot automatically erases an eraseblock when you write to it, but on the other hand, it's like chicken soup - it can't hurt.

qbertaddict thank you for putting together that update. I'll re-review my scripts and incorporate your changes tonight.

NeHe There's nothing in the installation process to cause the device to reset by itself. If it is appearing to reset on its own after the installation, that suggests something is not quite right. If after doing this, both native and dingux fail to work then that does suggest that the flashing was unsuccessful.

Looking at the log you posted, I can see the SDRAM settings are not correct, but if usbboot did not report any errors then it means it was able to work with those settings, so that's probably a red herring. I'll have to double check the usbboot.cfg file to see if there's any other clues in there - if that file isn't just right then it's possible that the SPL is being written successfully, but being written in a format that the Dingoo's cpu can't read properly. I know when I was putting this together it took a lot of trial and error to figure out the correct settings for the A330.


Stephanie

  • Guest
Re: [RELEASE] 64MB Dingux for A330
« Reply #35 on: May 31, 2010, 02:41:11 pm »
Hi again. I've downloaded qbertaddict's file and compared it to mine and found a big dumb stupid mistake in the usbboot.cfg file that I included in my windows settings. I don't know how I did it but somewhere between my testing and then zipping and uploading, I got the wrong file in there.

I am very sorry for the inconvenience that it's caused.

I will have a fixed installer posted soon today.

Stephanie

  • Guest
Re: [UPDATED][RELEASE] 64MB Dingux for A330
« Reply #36 on: May 31, 2010, 02:48:48 pm »
And apologies for the triple-post but I wanted to get this done asap. I've fixed the files on my server, called it version 1.01 and corrected my big dumb mistake on the windows installer.

It should work ok now.

Once again, I apologize for the inconvenience.

NeHe

Re: [UPDATED][RELEASE] 64MB Dingux for A330
« Reply #37 on: May 31, 2010, 04:37:47 pm »
Guess I got a dud A330... tried with the 1.01 release... no difference.  One thing I did notice that was interesting, is if I flash in ubuntu I see an SDRAM size of 64MB... It also takes a little longer to write to the device (not instant like windows)... but still fails in the end.

I can always restore the device to the native SPL file... which I find odd.  I'm not an expert, but to me it almost seems as if the software is feeding the data and the device isn't handshaking with it... So a blast of data is sent, and the device can't tell the computer to wait up... which results in the failed flash.  The native spl works because it's only 8k... probably small enough that it's all streamed?

Mood went from optimistic to frustrated :)  Appreciate the feedback Stephanie... awesome work either way... just not working for me for some unknown reason :(

Any other thoughts guys?

* about the resetting... the device isn't really resetting, but after a flash, the screen goes from black to either black with light on or dingux logo with light on... still have to reset, but of course no go after the reset.

** Testing today was done on work machine, with original cable and yet another usb cable... so I don't think it's machine related (tested on 3 machines now) or cable related.
« Last Edit: May 31, 2010, 04:40:21 pm by NeHe »

Stephanie

  • Guest
Re: [UPDATED][RELEASE] 64MB Dingux for A330
« Reply #38 on: May 31, 2010, 04:47:19 pm »
I'm sure it's not a dud A330 but i'm at a loss at the moment to figure out why it's not working.

Your additional information re. the reset makes sense, if the device is never powered off then between resets the slcd buffer isn't really cleared. The flashing on and off is the backlight so the screen would just show whatever was being displayed when it was previously reset.

The RAM you see displayed during the flashing process is based on the settings in the CFG file. The linux cfg and the windows cfg should both have the same settings (in v1.01) but I couldn't use the same file as they have syntax differences.

The amount of data being sent is quite small, so it shouldn't take a lot of time in any case - only about 105kB, which should take a few seconds to write. The whole process is 5 or 10 seconds; the hw init sends over two files, then the nerase clears block 0 then the write also clears block 0 then writes out the 105kB to it. In the case of the original SPL it's only 8kB.

If writing the original spl is working but the two dualboot ones is failing, then that at least gives me something to go on, to further try diagnosing it. It's too bad that putting a serial port in is such a huge hassle... there's debugging info in the serial port that would indicate where the failure is happening.

Anyhow, when I get home from work tonight I'll see if I can find any more info on why it's failing.



NeHe

Re: [UPDATED][RELEASE] 64MB Dingux for A330
« Reply #39 on: May 31, 2010, 04:57:27 pm »
Thx for the quick response... not sure what else to tell you, I'm not sure my soldering skills are on par with yours or i'd try the serial port install from your site (grin).  Does anyone know if the existing a330 firmware is floating around anywhere on the net?  and if there is a flashing app known to work on the a330?  Could always try reflashing the machine to see if that also fails...?

Stephanie

  • Guest
Re: [UPDATED][RELEASE] 64MB Dingux for A330
« Reply #40 on: May 31, 2010, 05:17:09 pm »
There is an A330.hxf file available at dingoo.hk, you can find a link in the 'native firmware / general' area, in a thread about the a330 firmware working on the a320.

The 'hk fix' flashing tool is known to work on the a330.

Are you unable to even flash the original-spl back to your dingoo? That one should at least get you up and running again with native...


djetr007

  • Guest
Re: [UPDATED][RELEASE] 64MB Dingux for A330
« Reply #41 on: June 07, 2010, 10:45:44 pm »
Hi,

I got my A330 today and am trying to install this version of Dingux.  I am having a few problems:

First, Windows XP doesn't automatically update the China Chip drivers on the a330 to the ingenics drivers in this download package.  When I try to manually update the drivers it says Cannot Continue Hardware Update and doesn't show the drivers as existing in the windows>drivers folder.  I then tried to uninstall the china chip drivers but they reinstall themselves automatically when I plug my a330 back in.

Second, I executed the windows install in this download and after choosing priority and typing 'run install' it says can not connect device, etc  and doesn't install the dual boot loader.  I believe this is due to the updated drivers not being installed on my a330 but I am unable to figure out how to install them.

I would greatly appreciate help as I too am a fellow Dingoo lover :)

Thanks.

Stephanie

  • Guest
Re: [UPDATED][RELEASE] 64MB Dingux for A330
« Reply #42 on: June 08, 2010, 02:46:02 am »
Hi,

I got my A330 today and am trying to install this version of Dingux.  I am having a few problems:

First, Windows XP doesn't automatically update the China Chip drivers on the a330 to the ingenics drivers in this download package.  When I try to manually update the drivers it says Cannot Continue Hardware Update and doesn't show the drivers as existing in the windows>drivers folder.  I then tried to uninstall the china chip drivers but they reinstall themselves automatically when I plug my a330 back in.

Second, I executed the windows install in this download and after choosing priority and typing 'run install' it says can not connect device, etc  and doesn't install the dual boot loader.  I believe this is due to the updated drivers not being installed on my a330 but I am unable to figure out how to install them.

I would greatly appreciate help as I too am a fellow Dingoo lover :)

Thanks.

I don't know much about diagnosing windows problems as I don't use it myself but the only thing I can think of is that you aren't holding the "B" button when you turn on the dingoo - that puts it into 'usb mode'.

When you plug the dingoo into windows normally, then it shows up as a chinachip device, so if the chinachip drivers are coming up that means the dingoo is not in 'usb mode'. So unplug the dingoo, hold the B button down and turn it on (or reset it). this will turn it on but the screen stays black. Then you plug it in, and then windows should let you install the ingenic usb drivers.


djetr007

  • Guest
Re: [UPDATED][RELEASE] 64MB Dingux for A330
« Reply #43 on: June 08, 2010, 07:01:06 am »
i am holding B and plugging in in USB mode.  the screen stays black and windows makes the sound of recognizing that something was plugged in but it does not show any device in My Computer or have any "new hardware found" pop up.  my dingoo is only recognized by the computer in regular plug in, but then i can't uninstall and update the drivers.  i really want this to work as i just bought my a330 :(     

classicparty

  • Guest
Re: [UPDATED][RELEASE] 64MB Dingux for A330
« Reply #44 on: June 08, 2010, 07:31:44 am »
i am holding B and plugging in in USB mode.  the screen stays black and windows makes the sound of recognizing that something was plugged in but it does not show any device in My Computer or have any "new hardware found" pop up.  my dingoo is only recognized by the computer in regular plug in, but then i can't uninstall and update the drivers.  i really want this to work as i just bought my a330 :(     

Have you installed the driver before? If that's the case, try go to the control panel and choose and add the driver manually after the windows gave you the signal of recognizing something newly plugged in. It should be shown in the list if you've already installed it once before.

 

Post a new topic
Post a new topic