1. Add some code for new ls2k work well.
2. Enable coherent mode when it a new ls2k.
3. Make ls2k core1 wait smp in cache and in ram to support spi io modei, otherwise cause cmd (load -rf ...) error.
Change-Id: I169af27b17fb5d55b590f20c9a9d4a019d27cc81
1.Nandflash can be erased, read, written.
2.Could save kernel into nandflash.
3.Could load kernel form nandflash.
Target:2G5+1A+DDR2
Change-Id: Ic102439551c7cd90bba574aab477d8a502ff458c
Now ls3c2h platform support added, SPI flash/AHCI sata/Gmac/LPC/DC
are all OK, however there are still some work to do:
1.The command "ifaddr eth0" can't work, but "ifaddr syn0" works;
2.It hasn't been test with Dimms on con5 and con7;
3.CPU Frequency aren't calculated by RTC, it's fixed by program.
4.It cost ls3c a long time to wait Vide Ram intilized by ls2h, the
time should be shrunken largely.
Target: Bonito3c2h
1, This version currently supports the processor core, UART, I2C bus, DDR2 controller,
GMAC controller, NAND controller, interrupt controller, the LPC controller, SPI controller,
HDA controller, the RTC, Watchdog, the HT interface.
2, This version does not support media processors, GPU, Display Controller, SATA controller,
USB 2.0 controller, ACPI power management, PCIE interface.
3, If you want to fall back to the previous version, please use the following command:
"git clone http://10.2.5.28/gitweb/pmon-loongson3a+2h", then git reset to the place you want to reach.
add loopdev support.
ramfs,mtdfs is char device.
loopdev is a block device.
losetup make chardev to be visited as a block device.
you can set env loop to let loopdevopen auto run losetup,such as on bootup.
loopdev now support unzip.
git-svn-id: file:///svn/pmon-all/pmon-all@364 214b0138-1524-0410-9122-e5cb4b5bc56c