hi,everybody
I have already divide partition for card following:
Device Boot Start End Blocks Id System
/dev/sdb1 2048 34815 16384 83 Linux
/dev/sdb2 34816 3909631 1937408 83 Linux
and then i have already flashed some image following:
+ kernel: I copy uImage and script.bin to partition1: dev/sdb1
I created script.bin file as site: http://linux-sunxi.org/Sunxi-tools#fex2bin after fix VGA parameter as follwing:
[disp_init]
disp_init_enable = 1
disp_mode = 0
screen0_output_type = 4
screen0_output_mode = 4
screen1_output_type = 2
screen1_output_mode = 14
fb0_framebuffer_num = 2
fb0_format = 10
fb0_pixel_sequence = 0
fb0_scaler_mode_enable = 1
fb1_framebuffer_num = 2
fb1_format = 10
fb1_pixel_sequence = 0
fb1_scaler_mode_enable = 1
other parameters same as after build
+ uboot:
$ dd if=spl/sunxi-spl.bin of=/dev/sdX bs=1024 seek=8
$ dd if=u-boot.bin of=/dev/sdX bs=1024 seek=32
+ rooft on partition 2 of card:
$ gunzip -c /home/user/olinuxino/mele_debian_armhf_minimal.cpio.gz | cpio -i
BUT: IT NO RUN
I have not enough what step?
because above steps are not successfully so i made as step as this forum: https://www.olimex.com/forum/index.php?topic=790.0
I copied A13_Micro_Debian_first_preliminary_release.img to /dev/sdb
copied a13_olimex_micro_defconfig, uImage to /dev/sdb1
gunzip mele_debian_armhf_minimal.cpio.gz to /dev/sdb2
and then plug sdcard on my board: it show on screen of monitor:
Debian GNU/Linux wheezy/sid debian ttyS0
debian login: root
password:
BUT,AFTER I INPUT PASSWORD IT RESET BOARD AUTOMATICALLY AND RUN AGAIN IT
IT HAVE ALREADY JUMPED TO DRIVER (DIBIAN) AS I WANT.
more detail attached logfile.
U-Boot SPL 2013.01-rc1-04929-g1b9f6ab-dirty (Nov 22 2012 - 17:22:15)
Board: A13-OlinuXinoM
DRAM: 256MB
SUNXI SD/MMC: 0
U-Boot 2013.01-rc1-04929-g1b9f6ab-dirty (Nov 22 2012 - 17:22:15) Allwinner Techn
ology
CPU: SUNXI Family
Board: A13-OlinuXinoM
I2C: ready
DRAM: 256 MiB
MMC: SUNXI SD/MMC: 0
In: serial
Out: serial
Err: serial
Hit any key to stop autoboot: 0
reading uEnv.txt
** Unable to read file uEnv.txt **
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
Failed to mount ext2 fil
** Unrecognized filesystem type **
reading boot.scr
236 bytes read
Jumping to boot.scr
## Executing script at 44000000
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
## Booting kernel from Legacy Image at 48000000 ...
Image Name: Linux-3.0.52+
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3971732 Bytes = 3.8 MiB
Load Address: 40008000
Entry Point: 40008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
<6>Initializing cgroup subsys cpuset
<5>Linux version 3.0.52+ (root@hehopmajieh-office) (gcc version 4.3.5 (Debian 4.
3.5-4) ) #10 PREEMPT Wed Dec 5 16:01:52 EET 2012
CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: sun5i
<6>Memory Reserved:
<6> SYS : 0x43000000 - 0x4300ffff ( 64 kB)
<6> VE : 0x44000000 - 0x48ffffff ( 80 MB)
Memory policy: ECC disabled, Da
<6>BROM Ver: 1100 1100 1625
<6>chip-id: A13 (AW1625)
<7>On node 0 totalpages: 65536
<7>free_area_init_node: node 0, pgdat c077814c, node_mem_map c082e000
<7> Normal zone: 512 pages used for memmap
<7> Normal zone: 0 pages reserved
<7> Normal zone: 65024 pages, LIFO batch:15
<7>pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
<7>pcpu-alloc: [0] 0
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024
<5>Kernel command line: console=ttyS0 root=/dev/mmcblk0p2 rootwait panic=10
<6>PID hash table entries: 1024 (order: 0, 4096 bytes)
<6>Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
<6>Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
<6>Memory: 256MB = 256MB total
<5>Memory: 169492k/169492k available, 92652k reserved, 0K highmem
<5>Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
DMA : 0xffc00000 - 0xffe00000 ( 2 MB)
vmalloc : 0xd0800000 - 0xf0000000 ( 504 MB)
lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
.init : 0xc0008000 - 0xc0031000 ( 164 kB)
.text : 0xc0031000 - 0xc072bf2c (7148 kB)
.data : 0xc072c000 - 0xc077e8b8 ( 331 kB)
.bss : 0xc077e8dc - 0xc082dc88 ( 701 kB)
<6>SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
<6>NR_IRQS:96 nr_irqs:96 96
<6>timer0: Periodic Mode
<6>Console: colour dummy device 80x30
<6>Calibrating delay loop... <c>1001.88 BogoMIPS (lpj=5009408)
<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>devtmpfs: initialized
<6>print_constraints: 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>Advanced Linux Sound Architecture Driver Version 1.0.24.
Init eGon pin module V2.0
<6>cfg80211: Calling CRDA to update world regulatory domain
<6>Switching to clocksource a
<5>FS-Cache: Loaded
<6>CacheFiles: Loaded
[usb_manager]: CONFIG_USB_SW_SUN5I_USB0_OTG
[sw_hcd0]: usb host driver initialize........
[sw_hcd0]: [sw_hcd_host0]: open_usb_clock
[hcd0]: open, 0x60(0xc141), 0xcc(0x143)
[sw_hcd0]: host_init_state = 0
[sw_hcd0]: platform is usb host
[sw_hcd0]: sw_hcd_init_controller: sw_hcd_host0: USB Host mode controller at f1c
13000 using PIO, IRQ 38
<6>sw_hcd_host0 sw_hcd_host0: sw_hcd host driver
<6>sw_hcd_host0 sw_hcd_host0: new USB bus registered, assigned bus number 1
<6>hub 1-0:1.0: USB hub found
<6>hub 1-0:1.0: 1 port detected
wrn: hcd is not enable, need not start hcd
[sw_hcd0]: sw_usb_host0_disable start
-------sw_hcd0_soft_disconnect---------
[sw_hcd_host0]: Set USB Power OFF
wrn: hcd is not enable, need not stop hcd
[sw_hcd0]: sw_usb_host0_disable end
[sw_udc]: udc_init: version 20080411
<6>NET: Registered protocol family 2
<6>IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
<6>TCP established hash table entries: 8192 (order: 4, 65536 bytes)
<6>TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
<6>TCP: Hash tables configured (established 8192 bind 8192)
<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.279:1): initialized
<6>ashmem: 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.16)
<6>msgmni has been set to 331
<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>sunxi disp driver loaded (/dev/disp api 1.0)
<6>Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[uart]: failed to get uart2's used information
[uart]: failed to get uart3's used information
[uart]: used uart info.: 0x02
<6>sunxi-uart.1: ttyS0 at MMIO 0x1c28400 (irq = 2) is a U6_16550A
Debian GNU/Linux wheezy/sid debian ttyS0
debian login:
You have to copy modules to /dev/sdb2. Also you have to download linux firmware binaries and copy them to /lib/firmware