Re: Anyone working on Mele A1000 or Allwinner A10 CPU?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/08/2012 09:57 PM, Steven A. Falco wrote:
On 08/08/2012 09:14 PM, Scott Sullivan wrote:
On 08/08/2012 02:44 PM, Steven A. Falco wrote:
On 08/07/2012 12:09 PM, Scott Sullivan wrote:
[...]
# Needs to be Modified to support Fedora .zx tar archive and /lib symbolic link. Working on a patch.

Here is a patch that fixes both the xz and symbolic link:

--- /home/sfalco/a1x-media-create.sh    2012-08-08 14:10:38.323150167 -0400
+++ ./a1x-media-create.sh    2012-08-08 14:38:29.609848573 -0400
@@ -107,6 +107,8 @@
           sudo tar xzf ../$1
       elif [ ${fileext} == "7z" ] | [ ${fileext} == "lzma" ]; then
           sudo 7z x ../$1
+    elif [ ${fileext} == "xz" ]; then
+        sudo tar xJf ../$1
       else
       echo "Unknown file extension: ${fileext}"
           popd
@@ -217,6 +219,14 @@
           cleanup
       fi
           echo "Copy hwpack rootfs files"
+    # Fedora uses a softlink for lib.  Adjust, if needed.
+    if [ -L mntSDrootfs/lib ]; then
+        # Find where it points.  For Fedora, we expect usr/lib.
+        DEST=`/bin/ls -l mntSDrootfs/lib | sed -e 's,.* ,,'`
+        if [ "$DEST" = "usr/lib" ]; then
+            mv hwpack/rootfs/lib hwpack/rootfs/usr
+        fi
+    fi
           sudo cp -a hwpack/rootfs/* mntSDrootfs >> ${logfile}
       if [ $? -ne 0 ]; then
           echo "Failed to copy rootfs hwpack files to SD Card"


Thanks Steven. My time got busy and this got pushed to my back burner, greatly appreciated.

Have you tired getting this applied to the upstream yet?


I created a fork on github, put in my changes, and made a pull
request.  My version is here:

	git://github.com/stevefalco/a10-tools.git

Please give it a try and feed me any comments.

	Steve

I snagged it and ran up a fresh SD card. It booted as expected and so far networking is working. Now to just to find some time to get the VGA working under Fedora.

--
Scott Sullivan
_______________________________________________
arm mailing list
arm@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/arm



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM (Vger)]     [Linux ARM]     [ARM Kernel]     [Fedora User Discussion]     [Older Fedora Users Discussion]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Maintainers]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [Linux Apps]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

Powered by Linux