A10 Boot process and an UPDATED Uboot for the A10 June 24, 2012 06:21PM |
Registered: 12 years ago Posts: 378 |
mkswap -L "A10_SWAP" /dev/sdb3
mkfs.vfat -n "A10-BOOT" /dev/sdb1 or mkfs.vfat -n "A10-BOOT" /dev/mmcblk0p1
mkfs.ext4 -L "A10_ROOT" /dev/sdb2 or mkfs.ext4 -L "A10_ROOT" /dev/mmcblk0p2.
mount /dev/sdb1 /mnt/misc
cp script.bin.tablet /mnt/misc/script.bin or cp script.bin.mele /mnt/misc/script.bin
dd if=sun4i-spl.bin of=/dev/sdb bs=1024 seek=8
dd if=u-boot.bin of=/dev/sdb bs=1024 seek=32
sync
Mele Serial Cable and U-boot console July 08, 2012 08:03AM |
Moderator Registered: 12 years ago Posts: 378 |
HELLO! BOOT0 is starting! boot0 version : 1.2.2 dram size =512 Succeed in opening nand flash. Succeed in reading Boot1 file head. The size of Boot1 is 0x00036000. The file stored in 0X00000000 of block 2 is perfect. Check is correct. Ready to disable icache. Succeed in loading Boot1. Jump to Boot1. [ 0.122] boot1 version : 1.2.6 [ 0.122] pmu type = 3 [ 0.150] axi:ahb:apb=3:2:2 [ 0.150] set dcdc2=1400, clock=1008 successed [ 0.152] key [ 0.164] no key found [ 0.164] flash init start [ 1.516] flash init finish [ 1.517] fs init ok [ 1.518] fattype FAT16 [ 1.518] fs mount ok [ 1.524] script finish [ 1.525] power finish [ 1.529] BootMain start [ 1.529] 0 [ 1.538] gpio config [ 1.538] gpio ok [ 1.538] gpio finish [ 1.540] The all optional count is 1 [ 1.544] recovery config [ 1.548] test for multi os boot with display [ 1.551] show pic finish [ 1.554] load kernel start [ 1.572] load kernel successed [ 1.572] s
U-Boot 2011.09-rc1-00008-gcb44509-dirty (Jan 11 2012 - 17:55:17) Allwinner Technology CPU: SUNXI Family Board: A10-EVB DRAM: 512 MiB NAND: 3800 MiB In: serial Out: serial Err: serial --------fastboot partitions-------- -total partitions:9- -name- -start- -size- BOOTFS : 100000 1000000 LROOTFS : 1100000 2000000 LSYSTEMFS : 3100000 10000000 LDATAFS : 13100000 60000000 MISC : 73100000 100000 LRECOVERYFS : 73200000 2000000 LCACHEFS : 75200000 8000000 env : 7d200000 200000 UDISK : 7d400000 70400000 ----------------------------------- Hit any key to stop autoboot: 0 sunxi#printenv boot_fastboot=fastboot boot_normal=run setargs_normal;fatload nand 0 50000000 linux/uimage;bootm 50000000 boot_recovery=run setargs_recovery;fatload nand 0 50000000 linux/uimage;bootm 50000000 bootcmd=run boot_normal bootdelay=1 console=ttyS0,115200 init=/init loglevel=8 mac=XXXXXXXXXXX nand_root=/dev/nandb nand_root_recovery=/dev/nandf setargs_normal=setenv bootargs console=${console} root=${nand_root} init=${init} loglevel=${loglevel} mac_addr=${mac} setargs_recovery=setenv bootargs console=${console} root=${nand_root_recovery} init=${init} loglevel=${loglevel} mac_addr=${mac} stderr=serial stdin=serial stdout=serial Environment size: 666/131068 bytes sunxi#
Re: Building and compiling Uboot for the A10 July 17, 2012 07:52AM |
Moderator Registered: 12 years ago Posts: 378 |
J. Carlos
Re: A10 Boot process and an UPDATED Uboot for the A10 July 25, 2012 11:15AM |
Re: A10 Boot process and an UPDATED Uboot for the A10 July 25, 2012 12:27PM |
Moderator Registered: 12 years ago Posts: 378 |
Re: A10 Boot process and an UPDATED Uboot for the A10 July 30, 2012 06:03AM |
Registered: 12 years ago Posts: 6 |
git clone git://github.com/hno/uboot-allwinner make sun4i CROSS_COMPILE=arm-none-linux-gnueabi-
Re: A10 Boot process and an UPDATED Uboot for the A10 July 30, 2012 07:17AM |
Admin Registered: 14 years ago Posts: 304 |
Re: A10 Boot process and an UPDATED Uboot for the A10 July 30, 2012 09:19AM |
Registered: 12 years ago Posts: 6 |
Re: A10 Boot process and an UPDATED Uboot for the A10 July 30, 2012 07:21PM |
Registered: 14 years ago Posts: 74 |
Re: A10 Boot process and an UPDATED Uboot for the A10 July 31, 2012 03:33AM |
Registered: 12 years ago Posts: 6 |
Re: A10 Boot process and an UPDATED Uboot for the A10 July 31, 2012 08:06AM |
Admin Registered: 14 years ago Posts: 304 |
dd if=sun4i-spl.bin of=/dev/sdb bs=1024 seek=8 dd if=u-boot.bin of=/dev/sdb bs=1024 seek=32
Re: A10 Boot process and an UPDATED Uboot for the A10 July 31, 2012 04:59PM |
Registered: 12 years ago Posts: 6 |
WarheadsSE
Re: A10 Boot process and an UPDATED Uboot for the A10 August 10, 2012 10:55AM |
Re: A10 Boot process and an UPDATED Uboot for the A10 August 10, 2012 04:36PM |
Registered: 12 years ago Posts: 6 |
drz
Re: A10 Boot process and an UPDATED Uboot for the A10 October 20, 2012 06:34AM |
xxxxx@XubuVM64:~$ sudo fdisk /dev/sdb -l Disk /dev/sdb: 16.0 GB, 16007561216 bytes 64 heads, 32 sectors/track, 15266 cylinders, total 31264768 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x000728ca Device Boot Start End Blocks Id System /dev/sdb1 2048 67583 32768 83 Linux /dev/sdb2 67584 8456191 4194304 83 Linux /dev/sdb3 8456192 9504767 524288 82 Linux swap / Solaris
xxxxx@XubuVM64:~$ sudo e2label /dev/sdb1 A10_BOOT xxxxx@XubuVM64:~$ sudo e2label /dev/sdb2 A10_ROOT
xxxxx@XubuVM64:~$ tree /media/A10_BOOT/ -s /media/A10_BOOT/ ├── [ 1024] conf.d │ ├── [ 13] env_reset │ ├── [ 2064] README.uboot.conf.d │ ├── [ 15] rescue_shell │ ├── [ 46600] script.bin │ ├── [ 42144] script.bin.mele │ ├── [ 46600] script.bin.tablet │ ├── [ 24574] script.fex.tablet.txt │ └── [ 112] uboot.conf ├── [ 84587] config-3.0.39+-1.a10linux.sun4i ├── [ 12288] lost+found [error opening dir] ├── [ 2138388] uImage └── [ 6651794] uInitrd 2 directories, 11 files
xxxxx@XubuVM64:~$ sudo more /media/A10_BOOT/conf.d/uboot.conf device=mele root_device=mmc mmc_root=/dev/mmcblk0p2 nand_root=/dev/nandd sata_root=/dev/sda5 usb_root=/dev/sdb2
# /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # # <file system> <mount point> <type> <options> <dump> <pass> /dev/mmcblk0p1 /boot ext3 defaults 1 1 /dev/mmcblk0p3 none swap defaults 0 0 proc /proc proc defaults 0 0
Re: A10 Boot process and an UPDATED Uboot for the A10 November 22, 2012 01:31PM |
Registered: 12 years ago Posts: 1 |
German
Re: A10 Boot process and an UPDATED Uboot for the A10 February 14, 2013 01:47PM |