Show Posts
|
|
Pages: 1 [2]
|
|
17
|
Linux Stuff / Kernel / Re: D2Plug 2.6.32.55 new kernel available
|
on: February 10, 2012, 01:25:04 PM
|
I installed on a SD on my D2Plug Boots OK, but getting at boot time: [ 54.249500] hdmitx: version magic '2.6.32.9-dove-5.4.2 mod_unload ARMv7 ' should be '2.6.32.55-dove-5.4.2 mod_unload ARMv7 ' insmod: error inserting '/lib/modules/hdmitx.ko': -1 Invalid module formatTried: root@D2Plug:/lib/modules# modprobe --force-vermagic hdmitxFATAL: Error inserting hdmitx (/lib/modules/2.6.32.55-dove-5.4.2/hdmitx.ko): Invalid module format U-boot: bootsd=usb start; fatload usb 1 0x2000000 /uimage.d2plug;setenv bootargs ${console} ${mtdparts} root=/dev/sdb2 panic=10 rootwait rw usb0Mode=${usb0Mode} usb1Mode=${usb1Mode} video=dovefb:lcd0:${lcd0_params},lcd1:${lcd1_params} clcd.lcd0_enable=${lcd0_enable} clcd.lcd1_enable=${lcd1_enable}; bootm 0x2000000; fdisk:Disk /dev/sdb: 7969 MB, 7969177600 bytes 4 heads, 16 sectors/track, 243200 cylinders Units = cylinders of 64 * 512 = 32768 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x0002d828 Device Boot Start End Blocks Id System /dev/sdb1 1 3201 102424 b W95 FAT32 /dev/sdb2 3202 243200 7679968 83 Linux root@D2Plug:/lib/modules# ls -ltotal 1836 drwxr-xr-x 2 root root 4096 2010-04-27 06:17 2.6.31-607-imx51 drwxr-xr-x 4 root root 4096 2010-04-27 06:17 2.6.32-204-dove drwxr-xr-x 3 root root 4096 2012-02-09 23:59 2.6.32.55-dove-5.4.2 drwxr-xr-x 3 root root 4096 2011-08-23 11:26 2.6.32.9-dove-5.4.2 drwxr-xr-x 2 root root 4096 2010-04-27 06:18 2.6.33-500-omap -rw-r--r-- 1 root root 928840 2011-08-23 13:08 hdmitx.ko Got Modules from http://archlinuxarm.org/mirror/with-linux/2.6/2.6.32/2.6.32.55/d2plug-2.6.32.55-Modules.tar.gzI guess I need to track down the source for hdmitx 
|
|
|
|
|
19
|
Hardware and U-Boot firmware / Hardware / Re: Bricked my Sheevaplug, Unbricked & upgraded at once -- HOWTO
|
on: December 05, 2011, 04:19:40 PM
|
ADDED step so OPENOCD will work with WINDOWS 7 and not get: Open On-Chip Debugger 0.2.0 (2009-07-27-16:41) Release $URL: http://svn.berlios.de/svnroot/repos/openocd/tags/openocd-0.2.0/src/openocd.c $ For bug reports, read http://svn.berlios.de/svnroot/repos/openocd/trunk/BUGS 2000 kHz jtag_nsrst_delay: 200 jtag_ntrst_delay: 200 dcc downloads are enabled 2 [main] openocd 3404 _cygtls::handle_exceptions: Exception: STATUS_ACCESS_VIOLATION 1560 [main] openocd 3404 open_stackdumpfile: Dumping stack trace to openocd.exe.stackdump **** openocd FAILED **** Is the mini USB cable connected? **** Try powering down, then replugging the Sheevaplug 1. Go to http://www.plugcomputer.org/plugwiki/index.php/SheevaPlug_Installer In the Alpha 6 section, click on "get tarball here" should send you to http://www.plugcomputer.org/index.php/us/resources/downloads?func=fileinfo&id=53 Get the SheevaPlug Installer
2. Go to http://www.plugcomputer.org/plugforum/index.php?topic=1134.30 Get u-boot-rd88f6281Sheevaplug_400db_nand.bin-pingtoo-patch.01, it's a link about half way down the page: http://plugcomputer.org/plugforum/index.php?action=dlattach;topic=1134.0;attach=201
3. Go to http://www.plugcomputer.org/plugwiki/index.php/Serial_terminal_program Click on link: SheevaPlug_Host_SWsupportPackageWindowsHost1.2.zip
4. Go to http://sourceforge.net/projects/libusb-win32/files/ Click on link: libusb-win32-bin-1.2.5.0.zip
5. Go to http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html Get PuTTY installer if you don't already use PuTTY
6. Go to http://www.plugcomputer.org/plugwiki/index.php/Install_Prebuilt_Kernels_From_sheeva.with-linux.com Click on link: sheeva.with-linux.com, which takes you to: http://sheeva.with-linux.com/sheeva/ Click on link 3.1.14 Click on link: sheeva-3.1.14-Modules.tar.gz Click on link: sheeva-3.1.14-uImage Right click on sheeva-3.1.14-System.map and do "save link as"
7. Unzip libusb-win32-bin-1.2.5.0.zip, save to Sheevaplug directory. Unzip SheevaPlug_Host_SWsupportPackageWindowsHost1.2.zip, drill down to CDM 2.04.16_SHEEVA, save to Sheevaplug directory. Untar sheevaplug-installer-v1.0.tar.gz, drill down into sheevaplug-installer, save sheevaplug-installer-v1.0 to Sheevaplug directory
8. Open sheevaplug-installer directory, open another explore window where all files were downloaded Move sheeva-3.1.14-Modules.tar.gz, sheeva-3.1.14-uImage, sheeva-3.1.14-System.maps & u-boot-rd88f6281Sheevaplug_400db_nand.bin-pingtoo-patch.01 to the Installer directory
9. Delete modules.tar.gz, rename sheeva-3.1.14-Modules.tar.gz to modules.tar.gz
10. Delete uImage, rename sheeva-3.1.14-uImage to uImage
11. Right click on u-boot-rd88f6281Sheevaplug_400db_nand.bin-pingtoo-patch.01 and right click and Cut Go to uboot directory, right click and Paste delete uboot.bin, rename u-boot-rd88f6281Sheevaplug_400db_nand.bin-pingtoo-patch.01 to uboot.bin.
12. Install PuTTY
13. Edit the 3 text files in the uboot-env directory, change the ethaddr entry in each to the MAC address from the sticker on the bottom of the SheevaPlug
14. Insert USB Stick, copy the files in the installer directory: modules.tar.gz, initrd, rootfs.tar.gz, uImage & sheeva-3.1.14-System.map to the USB Stick, Eject the USB Stick and put into the SheevaPlug.
15. Install the FTDI drivers: This step took longer to figure out, then all the other steps, so that I could use the CMD to upgrade the uboot and connect to the Serial port, I mean it was like a day or two  Open "Device Manager". Plug USB Serial cable from SheevaPlug to the computer. Hardware will be found. Open the libusb-win32-bin-1.2.5.0\bin\ directory. Run INF-Wizard. Choose the device with "interface 0" in the description. Install driver. Right click on "SheevaPlug JTAGKey FT2332D B" in the Device Manager. Update driver, Point it to the CDM 2.04.16_SHEEVA directory. Right click on "USB Serial Port" in Device Manager, Update driver, Point it to the CDM 2.04.16_SHEEVA directory.
16. Right click on "COM & LPT" in the Device Manager, Note the number of the new Com port.
17. Open Putty, Click on Serial at the bottom of Left pane. Change number of COM to new Com port number change Speed to 115200, Flow control to None. Click on Session, select Serial Option. change Serial line to new Com port, Put a name in the Saved Sessions, click Save, click open.
ADDITION FOR WINDOWS 7 Go to sheevaplug-installer directory, cd to \uboot\openocd\ Download http://nil.rpc1.org/files/sheeva/OpenOCD-Win64.zip drill down into the zip file to \0.3.0-dev\bin\ replace OPENOCD in the installer directory with the 64BIT version from this zip archive
18. Open a CMD window and CD to the sheevaplug-installer\ directory. Enter "runme nand", you should see the new uboot being installed. after it's installed you should see the SheevaPlug being upgraded in the PuTTY window.
19. Login into the SheevaPlug, root password is the default "nosoup4u" mount the USB Stick, Enter: mkdir /boot; cp sheeva-3.1.14-System.map /boot/ depmod -eF /boot/sheeva-3.1.14-System.map 3.1.14
20. Your SheevaPlug should be back from the Dead
|
|
|
|
|
21
|
Hardware and U-Boot firmware / Hardware / Re: sheevaplug - serial USB console port dead as a dodo?
|
on: November 21, 2010, 02:51:31 PM
|
Try this from my UnBricking post Bricked my Sheevaplug, Unbricked & upgraded at once -- HOWTO15. Install the FTDI drivers: Open "Device Manager". Plug USB Serial cable from SheevaPlug to the computer. Hardware will be found. Open the libusb-win32-bin-1.2.2.0\bin\ directory. Run INF-Wizard. Choose the device with "interface 0" in the description. Install driver. Right click on "SheevaPlug JTAGKey FT2332D B" in the Device Manager. Update driver, Point it to the CDM 2.04.16_SHEEVA directory. Right click on "USB Serial Port" in Device Manager, Update driver, Point it to the CDM 2.04.16_SHEEVA directory. Hope this helps, BigBear59
|
|
|
|
|
23
|
Hardware and U-Boot firmware / Hardware / Re: Bricked my Sheevaplug, Unbricked & upgraded at once -- HOWTO
|
on: November 18, 2010, 07:21:38 PM
|
Remember all the advise on the Internet is free and some of it is worth less than that.  Like I said getting the Serial port and the openocd to connect at the same time was a bear. I would get it working but after trying a million things it took me forever to figure out which one of the million fixed it. From some post I read on slowing things down, So I messed around with: # # Marvel SheevaPlug Development Kit # # http://www.marvell.com/products/embedded_processors/developer/kirkwood/sheevaplug.jsp# interface ft2232 ft2232_layout sheevaplug ft2232_vid_pid 0x9e88 0x9e8f ft2232_device_desc "SheevaPlug JTAGKey FT2232D B" jtag_khz 2000in \sheevaplug-installer-v1.0\uboot\openocd\config\interface\sheevaplug.cfg"jtag_khz represent the speed openocd communicate with your microcontroller" from http://forum.sparkfun.com/viewtopic.php?p=57181&sid=782151095866e5215fed113b29de30eeand ###################################### # Target: Marvell Feroceon CPU core ###################################### if { [info exists CHIPNAME] } { set _CHIPNAME $CHIPNAME } else { set _CHIPNAME feroceon } if { [info exists ENDIAN] } { set _ENDIAN $ENDIAN } else { set _ENDIAN little } if { [info exists CPUTAPID ] } { set _CPUTAPID $CPUTAPID } else { set _CPUTAPID 0x20a023d3 } jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID set _TARGETNAME [format "%s.cpu" $_CHIPNAME] target create $_TARGETNAME feroceon -endian $_ENDIAN -chain-position $_TARGETNAME reset_config trst_and_srst jtag_nsrst_delay 1000jtag_ntrst_delay 1000in sheevaplug-installer-v1.0\uboot\openocd\config\target\feroceon.cfg10.1 jtag_nsrst_delay <ms>
How long (in milliseconds) OpenOCD should wait after deasserting nSRST before starting new JTAG operations. from http://www.amontec.com/openocd/doc/Reset-Configuration.htmlGood Luck, BigBear59
|
|
|
|
|
25
|
Hardware and U-Boot firmware / Hardware / Bricked my Sheevaplug, Unbricked & upgraded at once -- HOWTO
|
on: November 16, 2010, 05:02:30 AM
|
After adding a bunch of junk to my new SheevaPlug, I decided to restore it back to factory default. Easier said then done!!!  Following instructions on the Internet , I managed to Brick it. Got the uboot with the garbage screen. So bringing it back from the brick, I used a VMware virtual Windows XP machine and VMware Workstation to make a video of how I got it back. After I figured it out I decided, with some trial and error, to upgrade it to Kernel 2.6.36 & Ubuntu 9.0.4 at the same time. The video is on YouTube: http://www.youtube.com/watch?v=MlgQAOExZS4and here are the Instructions:
1. Go to http://www.plugcomputer.org/plugwiki/index.php/SheevaPlug_Installer In the Alpha 6 section, click on "get tarball here" should send you to http://www.plugcomputer.org/index.php/us/resources/downloads?func=fileinfo&id=53 Get the SheevaPlug Installer
2. Go to http://www.plugcomputer.org/plugforum/index.php?topic=1134.30 Get u-boot-rd88f6281Sheevaplug_400db_nand.bin-pingtoo-patch.01, it's a link about half way down the page: http://plugcomputer.org/plugforum/index.php?action=dlattach;topic=1134.0;attach=201
3. Go to http://www.plugcomputer.org/plugwiki/index.php/Serial_terminal_program Click on link: SheevaPlug_Host_SWsupportPackageWindowsHost1.2.zip
4. Go to http://sourceforge.net/projects/libusb-win32/files/ Click on link: libusb-win32-bin-1.2.2.0.zip
5. Go to http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html Get PuTTY installer if you don't already use PuTTY
6. Go to http://www.plugcomputer.org/plugwiki/index.php/Install_Prebuilt_Kernels_From_sheeva.with-linux.com Click on link: sheeva.with-linux.com, which takes you to: http://sheeva.with-linux.com/sheeva/ Click on link 2.6.36 Click on link: sheeva-2.6.36-Modules.tar.gz Click on link: sheeva-2.6.36-uImage Right click on sheeva-2.6.36-System.map and do "save link as"
7. Unzip libusb-win32-bin-1.2.2.0.zip, save to Sheevaplug directory. Unzip SheevaPlug_Host_SWsupportPackageWindowsHost1.2.zip, drill down to CDM 2.04.16_SHEEVA, save to Sheevaplug directory. Untar sheevaplug-installer-v1.0.tar.gz, drill down into sheevaplug-installer, save sheevaplug-installer-v1.0 to Sheevaplug directory
8. Open sheevaplug-installer directory, open another explore window where all files were downloaded Move sheeva-2.6.36-Modules.tar.gz, sheeva-2.6.36-uImage, sheeva-2.6.36-System.maps & u-boot-rd88f6281Sheevaplug_400db_nand.bin-pingtoo-patch.01 to the Installer directory
9. Delete modules.tar.gz, rename sheeva-2.6.36-Modules.tar.gz to modules.tar.gz
10. Delete uImage, rename sheeva-2.6.36-uImage to uImage
11. Right click on u-boot-rd88f6281Sheevaplug_400db_nand.bin-pingtoo-patch.01 and Cut Go to uboot directory, right click and Paste delete uboot.bin, rename u-boot-rd88f6281Sheevaplug_400db_nand.bin-pingtoo-patch.01 to uboot.bin.
12. Install PuTTY
13. Edit the 3 text files in the uboot-env directory, change the ethaddr entry in each to the MAC address from the sticker on the bottom of the SheevaPlug
14. Insert USB Stick, copy the files in the installer directory: modules.tar.gz, initrd, rootfs.tar.gz, uImage, modules,tar.gz & sheeva-2.6.36-System.map to the USB Stick, Eject the USB Stick and put into the SheevaPlug.
15. Install the FTDI drivers: This step took longer to figure out, then all the other steps, so that I could use the CMD to upgrade the uboot and connect to the Serial port, I mean it was like a day or two  Open "Device Manager". Plug USB Serial cable from SheevaPlug to the computer. Hardware will be found. Open the libusb-win32-bin-1.2.2.0\bin\ directory. Run INF-Wizard. Choose the device with "interface 0" in the description. Install driver. Right click on "SheevaPlug JTAGKey FT2332D B" in the Device Manager. Update driver, Point it to the CDM 2.04.16_SHEEVA directory. Right click on "USB Serial Port" in Device Manager, Update driver, Point it to the CDM 2.04.16_SHEEVA directory.
16. Right click on "COM & LPT" in the Device Manager, Note the number of the new Com port.
17. Open Putty, Click on Serial at the bottom of Left pane. Change number of COM to new Com port number change Speed to 115200, Flow control to None. Click on Session, select Serial Option. change Serial line to new Com port, Put a name in the Saved Sessions, click Save, click open.
18. Open a CMD window and CD to the sheevaplug-installer\installer\ directory. Enter "runme nand", you should see the new uboot being installed. after it's installed you should see the SheevaPlug being upgraded in the PuTTY window.
19. Login into the SheevaPlug, root password is the default "nosoup4u" mount the USB Stick, Enter: mkdir /boot; cp sheeva-2.6.36-System.map /boot/,; depmod -eF /boot/sheeva-2.6.36-System.map 2.6.36
20. Your SheevaPlug should be back from the Dead My next project is to make a Linux VM, Yeah!! no licensing problemsand/or a Live CD with everything installed and ready to go. Should just need to load the USB Stick and unbrick. Hope this helps, BigBear59
|
|
|
|
|