dCore Import Debian Packages to Mountable SCE extensions > Allwinner A10

Olimex Lime A10 MicroCore work

(1/3) > >>

eziodef:
I have created sdCard for Olimex Lime A10 512MB ram with README-1st.txt instructions.
I have tested All hardware options (HDMI video and 512 MB ram) 
-MK802
-Cubieboard_512
but I have always the same error (rs232 debug).

> enter sun4i Audio codec!!!

> [    2.960000] enter sun4i Audio codec!!!
> <6>sun4i audio support initialized

> [    2.960000] sun4i audio support initialized
> script parser fetch err.

> [    2.970000] script parser fetch err.
> audio codec_wakeup request gpio fail!

> [    2.980000] audio codec_wakeup request gpio fail!
> <1>Unable to handle kernel paging request at virtual address ffffffff

> [    2.990000] Unable to handle kernel paging request at virtual address ffffffff
> <1>pgd = c0004000

> [    3.000000] pgd = c0004000
> <1>[ffffffff] *pgd=5fffe821[    3.000000] [ffffffff] *pgd=5fffe821, *pte=00000000, *pte=00000000, *ppte=00000000, *ppte=00000000

For fix the problem, I have used the original sdCard from the Olimex, with debian, and:
1. overwrite  the boot.scr(debian) with the boot.scr(TinyCore)
2. correct uEnv.txt
        console=ttyS0,115200
        panic=10
        loglevel=3
        extraargs=disp.screen0_output_mode=1280x720p50 sunxi_g2d_mem_reserve=0       sunxi_fb_mem_reserve=16 nozswap nortc

3. copied uCore in boot partition
When I switch on the Olimex Lime uCore(dCore) work fine:

Booting dCore 5.14<6>mmcblk0: mmc0:0007 SD08G 7.42 GiB
.04.01
Running Linux Kernel 3.4.67+.
Checking boot options...Done.
Starting udev daemo
<6> mmcblk0: p1 p2 p3
n for hotplug support...Done.
Skipping compressed swap in ram as requested from the boot command line.
Scanning hard disk partitions to create /etc/fstab
Setting Language to C Done.
Skipping rtc as requested from the boot command line.
<6>Adding 3668988k swap on /dev/mmcblk0p3.  Priority:-1 extents:1 across:366898S
Possible swap partition(s) enabled.
Loading extensions...
<4>EXT2-fs (mmcblk0p2): warning: mounting unchecked fs, rud
<4>EXT2-fs (mmcblk0p2): warning: mounting unchecked fs, running e2fsck is recomd
Done.
Setting keymap to us Done.
Restoring backup files from /mnt/mmcblk0p2/tce/mydata.tgz Done.
Setting hostname to box Done.
<6>sunxi_emac sunxi_emac.0: eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1
Jan  1 00:46:24 login[391]: root login on 'tty1'

But the problem is when I want instal X desktop.
1. tce-setdrive OK mmcbkl0p2
2. importsce -b Xprogs  OK
   importsce -b flwm_topside  OK
   importsce -b wbar  OK
   importsce -b xorg-fbdev  OK

3. Edit uEnv.txt add desktop=flwm_topside to the end of the extraargs line.
4. reboot, but X not starts.

If I type loadsce Xprogs
mount: mounting /dev/loop0 on /tmp/tcloop/Xprogs failed: No such device

Help me, how can fix this?

tinypoodle:
Have you checked if your kernel supports loop devices?

eziodef:
Thanks for your reply

I'm not sure that the kernel supports the loop device.
In /proc/config.gz I have found
CONFIG_BLK_DEV_LOOP=y
CONFIG_BLK_DEV_LOOP_MIN_COUNT=8
CONFIG_BLK_DEV_CRYPTOLOOP=y

I attach the unzipped config.gz

eziodef:
Hi,
these are other information to allow the solution of the problem.
 
$ importsce -b Xprogs

importsce seems to work correctly and no error is reported

$ cd /mnt/mmcblk0p2/tce/import/debs
$ ls
Xprogs.tar.gz               Xtc.tar.gz               fltk-1.1.10.tar.gz
Xprogs.tar.gz.md5.txt  Xtc.tar.gz.md5.txt  fltk-1.1.10.tar.gz.md5.txt

$ cd /mnt/mmcblk0p2/tce/sce
$ ls
Xprogs.sce

$ cd /mnt/tcloop
$ ls

the directory is empty.

$ loadsce Xprogs
mount: mounting /dev/loop0 on /tmp/tcloop/Xprogs failed: No such device

$ cd /mnt/tcloop
$ ls
Xprogs/

$ cd /mnt/tcloop/Xprogs
$ ls

the directory is empty.

$ cd /dev
$ ls *loop*
loop-control  loop0  loop1  loop2  loop3  loop4 loop5  loop6 loop7

roberts:
I suspect that SQUASHFS is missing from kernel.
If so, look for module and try loading it before any loadsce.

Navigation

[0] Message Index

[#] Next page

Go to full version