Mele A1000

This forum is for supported devices using an ARMv7 Allwinner SoC.

Re: Mele A1000

Postby WarheadsSE » Sat Aug 25, 2012 4:32 pm

Would you mind forking PKGBUILDs and adding those pkgbuilds to the alarm folder?
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Mele A1000

Postby menos16 » Sat Aug 25, 2012 4:34 pm

Oh sorry, I assume that I don't need a desktop environment,
I only need some kind of tty to work with this device, and only was waitting in some text output while the system is starting through vga/hdmi video...
but that the device isn't working me is true, I don't have video output and the ssh connection is not possible, the ethernet LEDs switch off after 2-3 second after fire up the device (they don't flash, are completely death)

thanks for your answers and sorry my poor English
menos16
 
Posts: 16
Joined: Tue Mar 06, 2012 9:05 am

Re: Mele A1000

Postby ckpcw » Sat Sep 01, 2012 5:48 pm

$this->bbcode_second_pass_quote('menos16', 'O')h sorry, I assume that I don't need a desktop environment,
I only need some kind of tty to work with this device, and only was waitting in some text output while the system is starting through vga/hdmi video...
but that the device isn't working me is true, I don't have video output and the ssh connection is not possible, the ethernet LEDs switch off after 2-3 second after fire up the device (they don't flash, are completely death)

thanks for your answers and sorry my poor English


Hi menos - I was having the same problems as you (blank screen on boot, no SSH, etc).. You need to use the UART to see what is going on.

I'm using this super-cheap USB->tty dongle from ebay
UART diagram here
this works for me:
$this->bbcode_second_pass_code('', '# picocom -b 115200 /dev/ttyUSB0')

Alternately, try using the Puppy linux ddimage, linaro ALIP (minimal LXDE), or the linaru Ubuntu 12.04 desktop, since they all boot to desktop environments
ckpcw
 
Posts: 2
Joined: Sat Sep 01, 2012 5:39 pm

Re: Mele A1000

Postby ckpcw » Sat Sep 01, 2012 6:18 pm

$this->bbcode_second_pass_quote('ValdikSS', 'W')ow! My post and account got deleted. Did I do something wrong?
Here is some info and a download link (google translate)

rootfs download link: http://rghost.ru/39743296 (torrent)
There are gles drivers and xf86-video-mali. Install it with cxnsoft script http://www.cnx-software.com/2012/07/20/ ... are-packs/
Some packages are recompiled with NEON FPU and Cortex-A8 optimizations.



Hey ValdikSS - which sunxi-linux hwpack are you using with your rootfs? I am creading SD media with the cnxsoft a10-tools script as instructed.

With the 2012.07.20 hwpack, I get no video modules loading (lsmod is empty, unable to modprobe hdmi/lcd/mali/drm/etc)
With the 2012.08.30 hwpack, I am able to load all of the modules except for "lcd", which dumps the following to UART on "modprobe lcd": http://pastebin.com/nZd0v9Xk

For completeness, here is the full UART log for the 2012.08.30 hwpack (freshly made media)
http://pastebin.com/Mj1V1Hf9
Arch boot begins at line 675, then LCD module tries to load at line 695

Trying now with some intermediate hwpacks.

Thanks for your work!


EDIT
Should have held my tongue just a bit longer - problem solved with mele-a1000_hwpack_2012.08.11.7z

When starting X, something (pretty sure it's openbox) complained about not finding hsetroot/esetroot/xsetroot, but after installing hsetroot, openbox was up and running.

Thanks so much! Finally got Arch + X on the mele.
ckpcw
 
Posts: 2
Joined: Sat Sep 01, 2012 5:39 pm

Re: Mele A1000

Postby menos16 » Sun Sep 30, 2012 10:54 am

finally with this tarball i get ssh access to device.

Simply overwriting these 2 files:
$this->bbcode_second_pass_code('', '
cp kernel/uImage /tmp/boot/
cp kernel/mele-a1000.bin /tmp/boot/script.bin')

thanks!!
menos16
 
Posts: 16
Joined: Tue Mar 06, 2012 9:05 am

Re: Mele A1000

Postby chaoslawful » Tue Oct 23, 2012 5:45 pm

$this->bbcode_second_pass_quote('WarheadsSE', 'I') will add this under an Advanced tab.

Modify/edit uEnv.txt as such:
- changing rootfs location
$this->bbcode_second_pass_code('', '
extraargs=rootfstype=ext4 rootwait
root=/dev/sda2
')

I moved the module into the kernel, removing the uInitrd needs. I will get the updated kernel into the rootfs tarball shortly.

I followed the steps but boot progress stucked at this position forever:
$this->bbcode_second_pass_code('', '
[ 3.410000] Waiting for root device /dev/sda2...
[ 3.990000] [mmc]: mmc 0 detect change, present 1
[ 4.290000] [mmc]: mmc 0 power on !!
[ 4.330000] [mmc]: sdxc_request_done(L1113): smc 0 err, cmd 52, RTO !!
[ 4.340000] [mmc]: sdxc_request_done(L1113): smc 0 err, cmd 52, RTO !!
[ 4.350000] [mmc]: sdxc_request_done(L1113): smc 0 err, cmd 5, RTO !!
[ 4.370000] [mmc]: sdxc_request_done(L1113): smc 0 err, cmd 5, RTO !!
[ 4.380000] [mmc]: sdxc_request_done(L1113): smc 0 err, cmd 5, RTO !!
[ 4.390000] [mmc]: sdxc_request_done(L1113): smc 0 err, cmd 5, RTO !!
[ 4.440000] mmc0: new high speed SDHC card at address b368
[ 4.450000] mmcblk0: mmc0:b368 SD8GB 7.44 GiB
[ 4.460000] mmcblk0: p1 p2
')
Boot from SD works however.

My box is a Mele A2000, which should be almost identical to A1000. The contents of uEnv.txt are:
$this->bbcode_second_pass_code('', '
boot_mmc=fatload mmc 0 0x43000000 ${fexfile}; fatload mmc 0 0x48000000 ${kernel}; bootm 0x48000000
extraargs=rootfstype=ext4 rootwait
root=/dev/sda2
fexfile=script.bin
')
Is http://archlinuxarm.org/os/ArchLinuxARM ... est.tar.gz already have the updated kernel? My copy of the tarball has sha1sum a3ef39451e13cd1f6cdf1b609fb9e5f0597fe6ac , and the uImage has sha1sum 039079bb094676bc5e7b88b0a8151a3fb50feb71
chaoslawful
 
Posts: 3
Joined: Tue Oct 23, 2012 5:26 pm
Top

Re: Mele A1000

Postby WarheadsSE » Tue Oct 23, 2012 6:50 pm

It might be due for a rebuild anyways.

If the SATA module is built-in or not might be your issue, but the latest kernel had the SATA built in.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Mele A1000

Postby chaoslawful » Thu Nov 01, 2012 3:30 pm

$this->bbcode_second_pass_quote('WarheadsSE', 'I')t might be due for a rebuild anyways.

If the SATA module is built-in or not might be your issue, but the latest kernel had the SATA built in.


I found the same problem description here: https://github.com/linux-sunxi/linux-sunxi/issues/40
It seems like kernel boot code failed to init the clock of A10's SATA module to correct value. After rebuilding a kernel with the HEAD of linux-sunxi repo, I can boot into rootfs on SATA disk now.

IMHO a new kernel with this fix should be released along with the rootfs tarball.

Another issue: What kind of kernel source did ArchlinuxARM project use, linux-sunxi or the original one? I noticed that kernel bogomips varies alot after switching to the newly built kernel. With the kernel in ArchlinuxARM rootfs it was more than 1000, but now it's only around 60. What problem could it be?
chaoslawful
 
Posts: 3
Joined: Tue Oct 23, 2012 5:26 pm
Top

Re: Mele A1000

Postby WarheadsSE » Thu Nov 01, 2012 3:57 pm

1) Agreed, new kernel does need made, and the rootfs updated.
2) I used amery's linux-sunxi, it's just from farther back in the development. Not everything was perfected, obviously.
3) don't trust bogomips, they are not perfect.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Mele A1000

Postby OhneHerren » Sun Jan 06, 2013 4:49 am

Has anyone successfully installed ArchLinux to the NAND? What sort of process did you follow?
OhneHerren
 
Posts: 1
Joined: Tue Dec 25, 2012 2:52 am

Previous

Return to Allwinner

Who is online

Users browsing this forum: No registered users and 2 guests