My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
QuickStartWin  
Updated Jul 23, 2009 by igga...@gmail.com

IMPORTANT: this information is deprecated as of release of FAT dingux. Please stay tuned for updates

How to get linux up and running in your A320 in a few steps (from a Windows PC):

Requirements

  • USB_Boot.exe: get it from here (Ingenic FTP site).
  • hwinit.bin: this is a minimal hardware initialization program.
  • zImage: this is the linux kernel.
  • rootfs.bz2: this is a minimal root file system.

Previous reading

Go read the QuickStart guide from linux and make sure you understand what's going on there.

Prepare the root filesystem

(sorry, I don't know a proper way to do this under Windows... maybe I'll find a way to make linux in the A320 mount a FAT32 partition as the rootfs)

Let's go

Download usb_boot from the Ingenic FTP site and unpack it. Replace the included USBBoot.cfg file by the one you can find in the download section.

Copy zImage in the same folder where you unpacked the usb_boot tool.

Now place the A320 in USB boot mode (reset while holding the B button pressed), launch the USB_Boot.exe tool and execute these commands:

boot 0
load 0x80600000 zImage 0
go 0x80600000 0

You should see linux boot messages on the A320 LCD.

When the boot completes, linux will recognize a new hardware device, which is the CDC ACM serial port. You need a special driver to make this serial port work: get it here. Once installed, use hyperterminal (aaaaarg!!!) or any other serial port terminal program on the new serial port (57600 8N1, no RTS/CTS or XON/XOFF flow control).

How do I upload files?

(See the linux QuickStart)

How do I compile programs?

(To be completed)

Comment by fano...@gmail.com, May 31, 2009

- hwinit is not used so it is not needed in requirements - when windows prompts for driver, point it to usb_boot directory - if you already have different driver for this device because you used dingoo firmware recovery tool (device name is chinachip something) and usb_boot.exe hangs in 'boot' command, you need to update/replace driver to the one from usb_tool directory (via device manager while device is attached in usb boot mode)

Comment by xre...@comcast.net, Jun 4, 2009

I get past the 'boot 0' and seems like everything is ok 'Configure success!'. The "load 0x80600000 zImage 0" gives me a 'Can not open file !' I also notice now that the Dingoo is back at the menu/browser screen. Any help would be appreciated.

Comment by xre...@comcast.net, Jun 4, 2009

BTW, I used a cool free progie "Paragon Partition" to create the fat32 and Linux partitions under XP. You can copy the root file tree from the fat32 side of the memory card to the linux side using the partition program as well/ then reformat the fat32 side.

Comment by xre...@comcast.net, Jun 4, 2009

I should stop staying up past my bedtime and realize I had to rename the zImage-blahblah to 'zImage'. Got linux to boot~! Paragon Partition works like a charm for us Windows users. Now to try out Doom! -X

Comment by beckm...@flusoft.de, Jun 23, 2009

Hello, I have formated the SD under knoppix and use the windows steps. After the "go"-command one screen on the A320 with boot messages are displayed and it beginns to blink, my pc has detected an new seriell device but I can not make a connect to the A320; What can I do?


Sign in to add a comment
Powered by Google Project Hosting