I'm very happy of my A13 , the Android 4.0 work fine but i would test Linux for A13 , that's will be cool for developer. I buy also a Raspberry PI so i can doing some benchmark.
What Linux distribution will be supported ? With what X11 ?
Best
Roberto
I thing redfox74 you have a point! I have also got those two products and i am really waiting for a linux distro. Android looks really good, ind i spent a lot of nights playng with aps, but linux is linux...
We should also consider that it is a totaly new product and fill ourselves with patience!
I am going to put Debian or Gentoo on mine. Does anyone know how to install/access the bootloader?
there is Linux support at www.linux-sunxi.org
note: use HNO github uboot and amery Linux v3.0 both have install instructions on the Github wiki
we work on document where we will describe the step by step instructions how to build and boot
note: Allwinner officially supports only Android SDK, so the Linux Kernel and Uboot is completely done by the community independant from Allwinner.
A1X developers use #arm-netbook IRC channel to chat you can join there is you have problems.
The Linux is working fine, just the 3d video and GPU code is not open source (ARM restricts Allwinner as all other SoC vendors) so the offorts now are to reverse engineer these and enable in the community made Linux image
Ok, I got uBoot running off the SD card but I can't get the kernel to boot. I'll keep trying.
check this https://github.com/hehopmajieh/olinuxino-a13/ (https://github.com/hehopmajieh/olinuxino-a13/)
Quote from: PeeJay on September 16, 2012, 04:05:31 PM
Ok, I got uBoot running off the SD card but I can't get the kernel to boot. I'll keep trying.
Do you change uBoot settings, especially kernel image location ?
Can you upload kernel error message ?
Figured out why the kernel didn't boot - Under system type I had to change the low level uart port to 1.
Now I get this:
Starting kernel ...
<6>Booting Linux on physical CPU 0
<6>Initializing cgroup subsys cpuset
<5>Linux version 3.4.5+ (peejay@ubuntu) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #5 PREEMPT Tue Sep 18 21:00:24 EST 2012
CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: sun5i
DRAM: 512<6>Total Detected Memory: 512MB with 1 banks
<4>Ignoring unrecognised tag 0x00000000
<6>Memory Reserved(in bytes):
<6> LCD: 0x5a000000, 0x02000000
<6> SYS: 0x43000000, 0x00010000
<6> G2D: 0x58000000, 0x01000000
<6> VE : 0x44000000, 0x05000000
Memory policy: ECC disabled, Data cache writeback
<7>On node 0 totalpages: 114688
<7>free_area_init_node: node 0, pgdat c067f78c, node_mem_map c082d000
<7> Normal zone: 896 pages used for memmap
<7> Normal zone: 0 pages reserved
<7> Normal zone: 113792 pages, LIFO batch:31
<7>pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768<c>
<7>pcpu-alloc: <c>
- <c>0 <c>
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 113792
<5>Kernel command line: console=ttyS0,115200 root=/dev/mmcblk0p2 loglevel=8 panic=10
<6>PID hash table entries: 2048 (order: 1, 8192 bytes)
<6>Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
<6>Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
<6>Memory: 448MB = 448MB total
<5>Memory: 331596k/331596k available, 127156k reserved, 0K highmem
<5>Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
vmalloc : 0xdc800000 - 0xff000000 ( 552 MB)
lowmem : 0xc0000000 - 0xdc000000 ( 448 MB)
pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
.text : 0xc0008000 - 0xc0610000 (6176 kB)
.init : 0xc0610000 - 0xc063d000 ( 180 kB)
.data : 0xc063e000 - 0xc0685130 ( 285 kB)
.bss : 0xc0685154 - 0xc082c920 (1694 kB)
<6>SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
<6>NR_IRQS:96
<6>timer0: Periodic Mode
<6>sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 4294967286ms
<6>Console: colour dummy device 80x30
<6>Calibrating delay loop... <c>255.59 BogoMIPS (lpj=1277952)
<6>pid_max: default: 32768 minimum: 301
<6>Mount-cache hash table entries: 512
<6>Initializing cgroup subsys cpuacct
<6>Initializing cgroup subsys devices
<6>Initializing cgroup subsys freezer
<6>Initializing cgroup subsys blkio
<6>CPU: Testing write buffer coherency: ok
<6>hw perfevents: enabled with ARMv7 Cortex-A8 PMU driver, 5 counters available
<6>Setting up static identity map for 0x40489258 - 0x404892b0
<6>devtmpfs: initialized
<6>dummy:
<6>NET: Registered protocol family 16
<6>hw-breakpoint: debug architecture 0x4 unsupported.
SOFTWINNER DMA Driver, (c) 2003-2004,2006 Simtec Electronics
<6>Initialize DMAC OK
<6>bio: create slab <bio-0> at 0
<5>SCSI subsystem initialized
<6>usbcore: registered new interface driver usbfs
<6>usbcore: registered new interface driver hub
<6>usbcore: registered new device driver usb
<6>cfg80211: Calling CRDA to update world regulatory domain
<6>Init eGon pin module V2.0
<6>Switching to clocksource aw 64bits couter
<5>FS-Cache: Loaded
<6>CacheFiles: Loaded
[usb_manager]: CONFIG_USB_SW_SUN5I_USB0_OTG
[sw_hcd0]: usb host driver initialize........
[sw_udc]: udc_init: version 20080411
[sw_udc]: usb_vbase = 0xf1c13000
[sw_udc]: sram_vbase = 0xf1c00000
[sw_udc]: open_usb_clock
[udc0]: open, 0x60(0xc147), 0xcc(0x143)
udc->driver is null, udc is need not stop
<6>NET: Registered protocol family 2
<6>IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
<6>TCP established hash table entries: 16384 (order: 5, 131072 bytes)
<6>TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
<6>TCP: Hash tables configured (established 16384 bind 16384)
<6>TCP: reno registered
<6>UDP hash table entries: 256 (order: 0, 4096 bytes)
<6>UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
<6>NET: Registered protocol family 1
<6>RPC: Registered named UNIX socket transport module.
<6>RPC: Registered udp transport module.
<6>RPC: Registered tcp transport module.
<6>RPC: Registered tcp NFSv4.1 backchannel transport module.
[pm]aw_pm_init!
<6>audit: initializing netlink socket (disabled)
<5>type=2000 audit(0.299:1): initialized
<5>VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
<6>NTFS driver 2.1.30 [Flags: R/W].
<6>fuse init (API version 7.18)
<6>msgmni has been set to 647
<6>alg: No test for stdrng (krng)
<6>Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
<6>io scheduler noop registered
<6>io scheduler deadline registered
<6>io scheduler cfq registered (default)
<6>Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
<6>serial8250.0: ttyS0 at MMIO 0x0 (irq = 1) is a XScale
<6>console [ttyS0] enabled
<6>[uart]: used uart info.: 0x05
<6>sunxi-uart.0: ttyS1 at MMIO 0x1c28000 (irq = 1) is a XScale
<6>[uart]: serial probe 0, membase (null) irq 1 mapbase 0x01c28000
<6>sunxi-uart.2: ttyS2 at MMIO 0x1c28800 (irq = 3) is a U6_16550A
<6>[uart]: serial probe 2, membase (null) irq 3 mapbase 0x01c28800
<6>brd: module loaded
<6>loop: module loaded
<6>'Low Performance USB Block' driver is deprecated. Please switch to usb-storage
<6>usbcore: registered new interface driver ub
[spi]: sw spi init !!
[spi]: Found 0 spi devices in config files
[spi]: boards num modalias max_spd_hz bus_num cs mode
<4>spi: cannot find any using configuration for all 4 spi controllers, return directly!
<6>ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
<6>ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
------sw-ehci1 config------
hci_name = sw-ehci1
irq_no = 39
usbc_no = 1
usb_vbase = 0xf1c14000
sram_vbase = 0xf1c00000
clock_vbase = 0xf1c20000
sdram_vbase = 0xf1c01000
used = 1
host_init_state = 1
gpio_name = usb_drv_vbus_gpio
port = 8
port_num = 6
mul_sel = 1
pull = 0
drv_level = -1
data = 0
--------------------------
------sw-ohci1 config------
hci_name = sw-ohci1
irq_no = 64
usbc_no = 1
usb_vbase = 0xf1c14000
sram_vbase = 0xf1c00000
clock_vbase = 0xf1c20000
sdram_vbase = 0xf1c01000
used = 1
host_init_state = 1
gpio_name = usb_drv_vbus_gpio
port = 8
port_num = 6
mul_sel = 1
pull = 0
drv_level = -1
data = 0
--------------------------
[sw-ehci1]: probe, pdev->name: sw-ehci, pdev->id: 1, sw_ehci: 0xc0724350
[hcd1]: open, 0x60(0xc147), 0xcc(0x143)
[sw-ehci1]: sw_set_vbus cnt 0
[sw-ehci1]: Set USB Power ON
<6>sw-ehci sw-ehci.1: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
<6>sw-ehci sw-ehci.1: new USB bus registered, assigned bus number 1
<6>sw-ehci sw-ehci.1: irq 39, io mem 0xf1c14000
<6>sw-ehci sw-ehci.1: USB 0.0 started, EHCI 1.00
ehci_irq: port change detect
<6>hub 1-0:1.0: USB hub found
<6>hub 1-0:1.0: 1 port detected
[sw-ohci1]: probe, pdev->name: sw-ohci, pdev->id: 1, sw_ohci: 0xc0724460
[hcd1]: open, 0x60(0xc147), 0xcc(0x143)
[sw-ohci1]: sw_set_vbus cnt 1
<6>sw-ohci sw-ohci.1: SW USB2.0 'Open' Host Controller (OHCI) Driver
<6>sw-ohci sw-ohci.1: new USB bus registered, assigned bus number 2
<6>sw-ohci sw-ohci.1: irq 64, io mem 0xf1c14400
<6>hub 2-0:1.0: USB hub found
<6>hub 2-0:1.0: 1 port detected
<6>Initializing USB Mass Storage driver...
<6>usbcore: registered new interface driver usb-storage
<6>USB Mass Storage support registered.
<6>usbcore: registered new interface driver ums-alauda
<6>usbcore: registered new interface driver ums-cypress
<6>usbcore: registered new interface driver ums-datafab
<6>usbcore: registered new interface driver ums_eneub6250
<6>usbcore: registered new interface driver ums-freecom
<6>usbcore: registered new interface driver ums-isd200
<6>usbcore: registered new interface driver ums-jumpshot
<6>usbcore: registered new interface driver ums-karma
<6>usbcore: registered new interface driver ums-onetouch
<6>usbcore: registered new interface driver ums-realtek
<6>usbcore: registered new interface driver ums-sddr09
<6>usbcore: registered new interface driver ums-sddr55
<6>usbcore: registered new interface driver ums-usbat
<6>usbcore: registered new interface driver cypress_cy7c63
<6>mousedev: PS/2 mouse device common for all mice
[kpad]: sw keypad init
sw keypad fetch keypad uning configuration failed
<4>keypad: cannot find using configuration, return without doing anything!
<6>input: sun4i-keyboard as /devices/virtual/input/input0
===========================hv_keypad_init=====================
========HV Inital ===================
<3>tkey_fetch_sysconfig_para: tkey_unused.
hv_keypad_init: after fetch_sysconfig_para: normal_i2c: 0x0. normal_i2c[1]: 0x0
zt_ts_init.
aw_fetch_sysconfig_para.
<3>ilitek_ts: ctp_unused.
sun4i-ts.c: sun4i_ts_init: start ...
rtp_used == 1.
sun4i-ts: tp_screen_size is 5 inch.
sun4i-ts: tp_regidity_level is 5.
sun4i-ts: tp_press_threshold_enable is 0.
sun4i-ts: rtp_sensitive_level is 15.
sun4i-ts: rtp_exchange_x_y_flag is 0.
sun4i-ts.c: sun4i_ts_probe: start...
begin get platform resourec
<6>input: sun4i-ts as /devices/platform/sun4i-ts/input/input1
tp init
sun4i-ts.c: sun4i_ts_probe: end
========RTC Inital ===================
rtc: script_parser_fetch err.
<5>=========rtc script_parser_fetch_err============
pcf8563_init,line:730,err
<6>i2c /dev entries driver
!!! base_Addr = 0xf1c2ac00
config i2c gpio with gpio_config api
twi0, apb clock = 24000000
<6>axp_mfd 0-0034: AXP (CHIP ID: 0x21) detected
<4>i2c i2c-0: Invalid probe address 0x00
<6>I2C: i2c-0: AW16XX I2C adapter
**********start************
0x40
0xf8
0x28
0x0
0x0
<6>usb 1-1: new high-speed USB device number 2 using sw-ehci
**********end************
!!! base_Addr = 0xf1c2b000
twi1, apb clock = 24000000
<4>i2c i2c-1: Invalid probe address 0x00
<6>I2C: i2c-1: AW16XX I2C adapter
**********start************
0x40
0xf8
0x58
0x0
0x0
**********end************
!!! base_Addr = 0xf1c2b400
twi2, apb clock = 24000000
<4>i2c i2c-2: Invalid probe address 0x00
<6>I2C: i2c-2: AW16XX I2C adapter
**********start************
0x40
0xf8
0x58
0x0
0x0
**********end************
<6>axp20_ldo1: 1300 mV
<6>axp20_ldo2: 1800 <--> 3300 mV at 3000 mV
<6>axp20_ldo3: 700 <--> 3500 mV at 2800 mV
<6>axp20_ldo4: 1250 <--> 3300 mV at 2800 mV
<6>axp20_buck2: 700 <--> 2275 mV at 1400 mV
<6>axp20_buck3: 700 <--> 3500 mV at 1250 mV
<6>axp20_ldoio0: 1800 <--> 3300 mV at 2800 mV
<6>input: axp20-supplyer as /devices/platform/sun5i-i2c.0/i2c-0/0-0034/axp20-supplyer.28/input/input2
[AXP]axp driver uning configuration failed(1579)
[AXP]pmu_suspendpwroff_vol = 3500
<4>axp20_ldo2: Failed to create debugfs directory
<6>md: linear personality registered for level -1
<6>md: multipath personality registered for level -4
<6>md: faulty personality registered for level -5
<6>device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-devel@redhat.com
<6>device-mapper: multipath: version 1.3.0 loaded
<6>device-mapper: multipath round-robin: version 1.0.0 loaded
<6>device-mapper: multipath queue-length: version 0.1.0 loaded
<6>device-mapper: multipath service-time: version 0.2.0 loaded
<6>hub 1-1:1.0: USB hub found
[mmc_pm]: no sdio card used in configuration
<6>hub 1-1:1.0: 4 ports detected
[mmc]: sunximmc_init
[mmc]: sunxi mmc controller using config : 0x3
[mmc]: sunxi-mmc.0: pdev->name: sunxi-mmc, pdev->id: 0
[mmc]: mmc 0 power off !!
[mmc]: mmc0 Probe: base:0xf1c0f000 irq:32 dma:0 pdes:0xd99c8000, ret 0.
[mmc]: sunxi-mmc.1: pdev->name: sunxi-mmc, pdev->id: 1
[mmc]: mmc 1 power off !!
[mmc]: mmc1 Probe: base:0xf1c10000 irq:33 dma:0 pdes:0xd99d0000, ret 0.
<6>usbcore: registered new interface driver usbhid
<6>usbhid: USB HID core driver
<6>ashmem: initialized
<6>logger: created 256K log 'log_main'
<6>logger: created 256K log 'log_events'
<6>logger: created 256K log 'log_radio'
<6>logger: created 256K log 'log_system'
<6>pktgen: Packet Generator for packet performance testing. Version: 2.74
<6>IPv4 over IPv4 tunneling driver
<6>TCP: cubic registered
<6>Initializing XFRM netlink socket
<6>NET: Registered protocol family 17
<6>NET: Registered protocol family 15
<6>8021q: 802.1Q VLAN Support v1.8
<6>VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
<5>Registering SWP/SWPB emulation handler
<6>registered taskstats version 1
<4>axp20_buck3: incomplete constraints, leaving on
<4>axp20_buck2: incomplete constraints, leaving on
<4>axp20_ldo4: incomplete constraints, leaving on
<4>axp20_ldo3: incomplete constraints, leaving on
<4>axp20_ldo2: incomplete constraints, leaving on
<4>axp20_ldo1: incomplete constraints, leaving on
<6>===========================ft5x_ts_init=====================
<6>ctp_fetch_sysconfig_para.
<3>ctp_fetch_sysconfig_para: ctp_unused.
<6>ft5x_ts_init: err.
===========================goodix_ts_init=====================
ctp_fetch_sysconfig_para.
<3>ctp_fetch_sysconfig_para: ctp_unused.
goodix_ts_init: err.
<3>>>> no handle, treat it handle over
<3>>>> no handle, treat it handle over
<3>>>> no handle, treat it handle over
<3>>>> no handle, treat it handle over
<3>>>> no handle, treat it handle over
<3>>>> no handle, treat it handle over
<3>>>> no handle, treat it handle over
<3>>>> no handle, treat it handle over
<3>>>> no handle, treat it handle over
<3>>>> no handle, treat it handle over
<3>>>> no handle, treat it handle over
Quote from: PeeJay on September 18, 2012, 02:06:08 PM
<3>>>> no handle, treat it handle over
That was caused by the serial port driver. I disabled it and now I can boot - but I'm using a usb-serial converter for the console. How do I get the VGA port to work?
try loading fbcon module. First enable framebuffer terminal support in kernel,
~Best
Yes, I did that. The screen just stays in power save mode. It works fine with the preloaded android though.
Quote from: PeeJay on September 20, 2012, 01:48:39 PM
Yes, I did that. The screen just stays in power save mode. It works fine with the preloaded android though.
Strange, I use 3.4.5 branch and FB Console works fine, try
cat /dev/urandom > /dev/fb0
Quote from: HeHoPMaJIeH on September 20, 2012, 03:00:17 PM
Strange, I use 3.4.5 branch and FB Console works fine, try
cat /dev/urandom > /dev/fb0
Nothing. I tried with 3.4.5 and 3.0
Could you post your kernel (uImage) so I can test it?
no problem :)
Hi, HeHoPMaJIeH.
Do you run linux from an sd card or from nand?
Is it possible run linux from nand, overwriting the android?
Quote from: PeeJay on September 21, 2012, 11:56:09 AM
Quote from: HeHoPMaJIeH on September 20, 2012, 03:00:17 PM
Strange, I use 3.4.5 branch and FB Console works fine, try
cat /dev/urandom > /dev/fb0
Nothing. I tried with 3.4.5 and 3.0
Could you post your kernel (uImage) so I can test it?
Sorry for late reply :
http://31.13.212.1/3.0.42.zip (http://31.13.212.1/3.0.42.zip) this is my kernel image, config and modules
Quote from: viniciusfre on September 21, 2012, 02:56:08 PM
Hi, HeHoPMaJIeH.
Do you run linux from an sd card or from nand?
Is it possible run linux from nand, overwriting the android?
Yes it is, you can use nandpart tool from sunxi-tools repo to partition your nand.
P.S You must uses NAND enabled u-boot version or Allwinner's SDK version :)
Quote from: HeHoPMaJIeH on September 23, 2012, 06:32:16 PM
Sorry for late reply :
http://31.13.212.1/3.0.42.zip (http://31.13.212.1/3.0.42.zip) this is my kernel image, config and modules
Still didn't work! Is it possible that the version on uboot I'm using is the problem? The one that comes pre-installed has a splash screen, but mine doesn't. I'm using the sunxi branch from https://github.com/hno/uboot-allwinner
Quote from: PeeJay on September 24, 2012, 01:43:03 PM
Quote from: HeHoPMaJIeH on September 23, 2012, 06:32:16 PM
Sorry for late reply :
http://31.13.212.1/3.0.42.zip (http://31.13.212.1/3.0.42.zip) this is my kernel image, config and modules
Still didn't work! Is it possible that the version on uboot I'm using is the problem? The one that comes pre-installed has a splash screen, but mine doesn't. I'm using the sunxi branch from https://github.com/hno/uboot-allwinner
Try this http://31.13.212.1/debian_2g.tar.bz2 (http://31.13.212.1/debian_2g.tar.bz2) , debian 2G image, copy it to uSD with DD :
dd if=debian_2g.img of=/dev/sdX, where X is you uSD card.
user: root
pass: password
I think I might have figured it out - it's the script.bin file that uboot uses. I tried a different one and now I get occasional flickering on the screen so that's a start. Where does that file actually come from? I can't find one specifically for the A13.
Quote from: PeeJay on September 24, 2012, 03:27:12 PM
I think I might have figured it out - it's the script.bin file that uboot uses. I tried a different one and now I get occasional flickering on the screen so that's a start. Where does that file actually come from? I can't find one specifically for the A13.
Try this :
http://31.13.212.1/script.bin (http://31.13.212.1/script.bin)
p.s don't forget to remove script0.bin :)
That was it, worked first go!! Thanks a lot! ;D ;D
Quote from: PeeJay on September 25, 2012, 11:08:58 AM
That was it, worked first go!! Thanks a lot! ;D ;D
No Problem ;)
Quote from: PeeJay on September 25, 2012, 11:08:58 AM
That was it, worked first go!! Thanks a lot! ;D ;D
Can you tell me the resolution that you getting from monitor using this config ?
I think it's 800x480, That's what it is set to in the kernel source.
What is the file system used in the debian_2g.img?
Quote from: viniciusfre on September 21, 2012, 02:56:08 PM
Hi, HeHoPMaJIeH.
Do you run linux from an sd card or from nand?
Is it possible run linux from nand, overwriting the android?
hi,
it's possible to run linux from nand. You can download this image :
http://31.13.212.1/sun5i_linux_a13-evb.img (http://31.13.212.1/sun5i_linux_a13-evb.img) and upload it to device with livesuit.
Keep in mind this is testing image :)
user : root
pass : password
Please send some feedback :)
Quote
Try this http://31.13.212.1/debian_2g.tar.bz2 (http://31.13.212.1/debian_2g.tar.bz2) , debian 2G image, copy it to uSD with DD :
dd if=debian_2g.img of=/dev/sdX, where X is you uSD card.
user: root
pass: password
I am runing linux in sdcard for the time being. But i am trying this image too(sun5i_linux_a13).
I tried to mount debian_2g.img, but I could not. I tried ext3,ext4, ... i got: "bad file system". What is the correct file system this image?
Quote from: HeHoPMaJIeH on September 27, 2012, 09:44:10 AM
Quote from: viniciusfre on September 21, 2012, 02:56:08 PM
Hi, HeHoPMaJIeH.
Do you run linux from an sd card or from nand?
Is it possible run linux from nand, overwriting the android?
hi,
it's possible to run linux from nand. You can download this image :
http://31.13.212.1/sun5i_linux_a13-evb.img (http://31.13.212.1/sun5i_linux_a13-evb.img) and upload it to device with livesuit.
Keep in mind this is testing image :)
user : root
pass : password
Please send some feedback :)
A couple of questions:
1) Does this still require an update to uBoot? If so, is there a pre-built image that's available, as the link on the hno github for pre-builts does not seem to be working.
2) Is there any way to update the uBoot without a UART cable? If I'm reading the instructions on your wiki correctly, it seems as though the answer is no, but I wanted to make sure.
Thanks
Quote from: viniciusfre on September 27, 2012, 07:43:48 PM
Quote
Try this http://31.13.212.1/debian_2g.tar.bz2 (http://31.13.212.1/debian_2g.tar.bz2) , debian 2G image, copy it to uSD with DD :
dd if=debian_2g.img of=/dev/sdX, where X is you uSD card.
user: root
pass: password
I am runing linux in sdcard for the time being. But i am trying this image too(sun5i_linux_a13).
I tried to mount debian_2g.img, but I could not. I tried ext3,ext4, ... i got: "bad file system". What is the correct file system this image?
This is a RAW image, you can burn it to 2G uSD or you can build your own using instructions provided by hno and amery :)
If you want to resize image mount it in loop device, and use uSD creating instructions
Quote from: jwischka on September 27, 2012, 11:31:05 PM
Quote from: HeHoPMaJIeH on September 27, 2012, 09:44:10 AM
Quote from: viniciusfre on September 21, 2012, 02:56:08 PM
Hi, HeHoPMaJIeH.
Do you run linux from an sd card or from nand?
Is it possible run linux from nand, overwriting the android?
hi,
it's possible to run linux from nand. You can download this image :
http://31.13.212.1/sun5i_linux_a13-evb.img (http://31.13.212.1/sun5i_linux_a13-evb.img) and upload it to device with livesuit.
Keep in mind this is testing image :)
user : root
pass : password
Please send some feedback :)
A couple of questions:
1) Does this still require an update to uBoot? If so, is there a pre-built image that's available, as the link on the hno github for pre-builts does not seem to be working.
2) Is there any way to update the uBoot without a UART cable? If I'm reading the instructions on your wiki correctly, it seems as though the answer is no, but I wanted to make sure.
Thanks
1. No, it's not necessary
2. Yes you can, using fastboot mode
Quote from: HeHoPMaJIeH on September 28, 2012, 12:40:00 AM
Quote from: jwischka on September 27, 2012, 11:31:05 PM
Quote from: HeHoPMaJIeH on September 27, 2012, 09:44:10 AM
Quote from: viniciusfre on September 21, 2012, 02:56:08 PM
Hi, HeHoPMaJIeH.
Do you run linux from an sd card or from nand?
Is it possible run linux from nand, overwriting the android?
hi,
it's possible to run linux from nand. You can download this image :
http://31.13.212.1/sun5i_linux_a13-evb.img (http://31.13.212.1/sun5i_linux_a13-evb.img) and upload it to device with livesuit.
Keep in mind this is testing image :)
user : root
pass : password
Please send some feedback :)
A couple of questions:
1) Does this still require an update to uBoot? If so, is there a pre-built image that's available, as the link on the hno github for pre-builts does not seem to be working.
2) Is there any way to update the uBoot without a UART cable? If I'm reading the instructions on your wiki correctly, it seems as though the answer is no, but I wanted to make sure.
Thanks
1. No, it's not necessary
2. Yes you can, using fastboot mode
I flashed this image directly to the nand with Livesuit, but it is not booting. The initial Android screen comes up when the board is powered on, and then the screen goes blank. Can you give me any direction as to how to proceed? Do I need to flash a new uBoot, and if so, what is the best way to do that now that I no longer have access to adb?
Thanks!
can you paste log messages from debug uart ?
Quote from: HeHoPMaJIeH on September 29, 2012, 06:28:00 PM
can you paste log messages from debug uart ?
I'll try to dig out a cable and get it hooked up here in a bit. Was hoping to avoid UART if at all possible.
Quote from: jwischka on September 29, 2012, 08:27:35 PM
Quote from: HeHoPMaJIeH on September 29, 2012, 06:28:00 PM
can you paste log messages from debug uart ?
I'll try to dig out a cable and get it hooked up here in a bit. Was hoping to avoid UART if at all possible.
I'm actually not seeing anything on the UART - which I suspect means i'm doing something wrong. I've opened the COM port in putty, have the proper speeds set, and (think) I have the proper pins hooked up, but I'm not seeing anything at all come across. It could also be that my pin connections aren't that secure (using wires from my UART cable to the board). I'm assuming I should see *something*?
I tried to use that disk image today and I had trouble with it as well. uBoot loaded, but there was a crc error with the config file so it used defaults (which was ok anyway). I had to change the partition type to 0x07 for the fat one to get uboot to read the script.bin. The kernel booted, but couldn't detect the filesystem type on mmcblk0p2 so it would just reboot. Running fsck.ext4 fixed that. (It was ext4 right?)
Now it's working, but I've got the most hideous font I've ever seen on the screen!! :o Not sure if it's the kernel or debian, but mine didn't do that. I did select the builtin fonts when compiling the kernel though.
Oh, and can you include wpasupplicant in your image!
Quote from: PeeJay on September 30, 2012, 03:04:35 PM
I tried to use that disk image today and I had trouble with it as well. uBoot loaded, but there was a crc error with the config file so it used defaults (which was ok anyway). I had to change the partition type to 0x07 for the fat one to get uboot to read the script.bin. The kernel booted, but couldn't detect the filesystem type on mmcblk0p2 so it would just reboot. Running fsck.ext4 fixed that. (It was ext4 right?)
Now it's working, but I've got the most hideous font I've ever seen on the screen!! :o Not sure if it's the kernel or debian, but mine didn't do that. I did select the builtin fonts when compiling the kernel though.
Did you do anything (initially) other than flashing the image to nand in livesuit?
Thanks
Quote from: jwischka on September 30, 2012, 03:48:16 PMDid you do anything (initially) other than flashing the image to nand in livesuit?
I didn't use nand, I put it on a sd card.
Quote from: PeeJay on October 01, 2012, 04:18:26 AM
Quote from: jwischka on September 30, 2012, 03:48:16 PMDid you do anything (initially) other than flashing the image to nand in livesuit?
I didn't use nand, I put it on a sd card.
Did you update uBoot before you did it?
Thanks
Quote from: PeeJay on September 30, 2012, 03:04:35 PMNow it's working, but I've got the most hideous font I've ever seen on the screen!! :o Not sure if it's the kernel or debian, but mine didn't do that. I did select the builtin fonts when compiling the kernel though.
The script.bin file you have included on the disk image seems to be the problem - it uses a much lower screen resolution than the other one you posted at http://31.13.212.1/script.bin.
Quote from: PeeJay on September 30, 2012, 03:04:35 PM
I tried to use that disk image today and I had trouble with it as well. uBoot loaded, but there was a crc error with the config file so it used defaults (which was ok anyway). I had to change the partition type to 0x07 for the fat one to get uboot to read the script.bin. The kernel booted, but couldn't detect the filesystem type on mmcblk0p2 so it would just reboot. Running fsck.ext4 fixed that. (It was ext4 right?)
Now it's working, but I've got the most hideous font I've ever seen on the screen!! :o Not sure if it's the kernel or debian, but mine didn't do that. I did select the builtin fonts when compiling the kernel though.
It's normal to use default settings :) i forgot to include env definitions :)
Quote from: jwischka on October 01, 2012, 04:19:48 AMDid you update uBoot before you did it?
No, it's included in the image.
Quote from: HeHoPMaJIeH on September 28, 2012, 12:37:12 AM
Quote from: viniciusfre on September 27, 2012, 07:43:48 PM
Quote
Try this http://31.13.212.1/debian_2g.tar.bz2 (http://31.13.212.1/debian_2g.tar.bz2) , debian 2G image, copy it to uSD with DD :
dd if=debian_2g.img of=/dev/sdX, where X is you uSD card.
user: root
pass: password
I am runing linux in sdcard for the time being. But i am trying this image too(sun5i_linux_a13).
I tried to mount debian_2g.img, but I could not. I tried ext3,ext4, ... i got: "bad file system". What is the correct file system this image?
This is a RAW image, you can burn it to 2G uSD or you can build your own using instructions provided by hno and amery :)
If you want to resize image mount it in loop device, and use uSD creating instructions
Hi, thanks for sharing debian image. It worked like a charm. I'm using a13 tablet and surprisingly LCD also worked, but no touch and back light. I installed lxde on it and stuck at login prompt.
I disabled multi touch based on this link (https://www.miniand.com/forums/forums/development/topics/how-do-i-get-the-lcd-display-and-touch-screen-working-on-an-a10-tablet) but no luck, any suggestions? I also want to know is there any way I can extract uboot and sunxi-spl.bin from sdcard for backup.
Thanks again.
Quote from: Srikant on October 16, 2012, 05:21:08 PM
Quote from: HeHoPMaJIeH on September 28, 2012, 12:37:12 AM
Quote from: viniciusfre on September 27, 2012, 07:43:48 PM
Quote
Try this http://31.13.212.1/debian_2g.tar.bz2 (http://31.13.212.1/debian_2g.tar.bz2) , debian 2G image, copy it to uSD with DD :
dd if=debian_2g.img of=/dev/sdX, where X is you uSD card.
user: root
pass: password
I am runing linux in sdcard for the time being. But i am trying this image too(sun5i_linux_a13).
I tried to mount debian_2g.img, but I could not. I tried ext3,ext4, ... i got: "bad file system". What is the correct file system this image?
This is a RAW image, you can burn it to 2G uSD or you can build your own using instructions provided by hno and amery :)
If you want to resize image mount it in loop device, and use uSD creating instructions
Hi, thanks for sharing debian image. It worked like a charm. I'm using a13 tablet and surprisingly LCD also worked, but no touch and back light. I installed lxde on it and stuck at login prompt.
I disabled multi touch based on this link (https://www.miniand.com/forums/forums/development/topics/how-do-i-get-the-lcd-display-and-touch-screen-working-on-an-a10-tablet) but no luck, any suggestions? I also want to know is there any way I can extract uboot and sunxi-spl.bin from sdcard for backup.
Thanks again.
Please tell me what LCD / Touch you are using. SPL and u-boot can be compiled bu source,you don't need to extract it :). Look at olimex.wordpress.com for instructions.
Quote from: PeeJay on September 19, 2012, 12:42:06 PM
Quote from: PeeJay on September 18, 2012, 02:06:08 PM
<3>>>> no handle, treat it handle over
That was caused by the serial port driver. I disabled it and now I can boot - but I'm using a usb-serial converter for the console. How do I get the VGA port to work?
How did you remove it ? I have the same problem but "lsmod" does not list any serial driver.
Did you use "modprobe -r" or did you put an other kernel on the SD card ?
To compile 3.4.19 kernel and solve the problem:
Quote<3>>>> no handle, treat it handle over
I had to apply this patch (https://github.com/linux-sunxi/linux-sunxi/commit/18639db64ff6585d4be91f9645674957feb01452)
related to serial driver ( found on this post (https://groups.google.com/forum/#!topic/linux-sunxi/oRf3Hgpx38g) )