├── .gitattributes ├── README.md ├── awusb ├── Makefile ├── README └── awusb.c ├── bins ├── FileAddSum ├── mkbootimg ├── script ├── u_boot_env_gen ├── update_23 └── update_mbr ├── dragon ├── AwPluginVector.dll ├── ImageBuilder.dll ├── IniParasPlg.dll └── dragon ├── fsbuild ├── AwPluginVector.dll ├── IniParasPlg.dll ├── fsbuild └── fstool.dll └── livesuit ├── a10 ├── eFex │ ├── card │ │ ├── cardscript.fex │ │ ├── cardtool.fex │ │ ├── dlinfo.fex │ │ └── mbr.fex │ ├── split_xxxx.fex │ └── usb │ │ ├── HW_scan.axf │ │ ├── aultls32.fex │ │ ├── aultools.fex │ │ ├── card_HW_scan.axf │ │ ├── card_update_boot0.axf │ │ ├── card_update_boot1.axf │ │ ├── fed_card.axf │ │ ├── fed_nand.axf │ │ ├── fes.fex │ │ ├── fes_1-1.fex │ │ ├── fes_1-2.fex │ │ ├── fes_2.fex │ │ ├── fet_restore.axf │ │ ├── magic_cr_end.fex │ │ ├── magic_cr_start.fex │ │ ├── magic_de_end.fex │ │ ├── magic_de_start.fex │ │ ├── split_c43a2a92-a8ed-4f92-abdb-ca0d5d29666d.bin │ │ ├── tools.fex │ │ ├── update_boot0.axf │ │ └── update_boot1.axf ├── eGon │ └── storage_media │ │ ├── nand │ │ ├── boot0.bin │ │ └── boot1.bin │ │ ├── sdcard │ │ ├── boot0.bin │ │ └── boot1.bin │ │ └── spinor │ │ └── boot0.bin └── wboot │ ├── bootfs.ini │ ├── bootfs │ ├── .gitignore │ ├── boot.axf │ ├── boot.ini │ ├── drv_de.drv │ ├── font24.sft │ ├── font32.sft │ ├── linux │ │ ├── linux.bmp │ │ ├── linux.ini │ │ └── u-boot.bin │ ├── os_show │ │ ├── bat0.bmp │ │ ├── bat1.bmp │ │ ├── bat10.bmp │ │ ├── bat2.bmp │ │ ├── bat3.bmp │ │ ├── bat4.bmp │ │ ├── bat5.bmp │ │ ├── bat6.bmp │ │ ├── bat7.bmp │ │ ├── bat8.bmp │ │ ├── bat9.bmp │ │ ├── battery.bmp │ │ ├── bempty.bmp │ │ ├── empty.bmp │ │ ├── full.bmp │ │ ├── head.bmp │ │ ├── linux1.bmp │ │ ├── linux2.bmp │ │ ├── low_pwr.bmp │ │ ├── melis1.bmp │ │ ├── melis2.bmp │ │ ├── startup.bmp │ │ ├── tail.bmp │ │ ├── wince1.bmp │ │ └── wince2.bmp │ ├── sprite.axf │ └── sprite │ │ └── sprite.ini │ └── diskfs.fex ├── a13 ├── eFex │ ├── card │ │ ├── cardscript.fex │ │ ├── cardtool.fex │ │ ├── dlinfo.fex │ │ └── mbr.fex │ ├── split_xxxx.fex │ └── usb │ │ ├── HW_scan.axf │ │ ├── aultls32.fex │ │ ├── aultools.fex │ │ ├── card_HW_scan.axf │ │ ├── card_update_boot0.axf │ │ ├── card_update_boot1.axf │ │ ├── fed_card.axf │ │ ├── fed_nand.axf │ │ ├── fes.fex │ │ ├── fes_1-1.fex │ │ ├── fes_1-2.fex │ │ ├── fes_2.fex │ │ ├── fet_restore.axf │ │ ├── magic_cr_end.fex │ │ ├── magic_cr_start.fex │ │ ├── magic_de_end.fex │ │ ├── magic_de_start.fex │ │ ├── split_c43a2a92-a8ed-4f92-abdb-ca0d5d29666d.bin │ │ ├── tools.fex │ │ ├── update_boot0.axf │ │ └── update_boot1.axf ├── eGon │ └── storage_media │ │ ├── nand │ │ ├── boot0.bin │ │ └── boot1.bin │ │ ├── sdcard │ │ ├── boot0.bin │ │ └── boot1.bin │ │ └── spinor │ │ └── boot0.bin └── wboot │ ├── bootfs.ini │ ├── bootfs │ ├── boot.axf │ ├── boot.ini │ ├── drv_de.drv │ ├── font24.sft │ ├── font32.sft │ ├── linux │ │ ├── linux.bmp │ │ ├── linux.ini │ │ └── u-boot.bin │ ├── os_show │ │ ├── bat0.bmp │ │ ├── bat1.bmp │ │ ├── bat10.bmp │ │ ├── bat2.bmp │ │ ├── bat3.bmp │ │ ├── bat4.bmp │ │ ├── bat5.bmp │ │ ├── bat6.bmp │ │ ├── bat7.bmp │ │ ├── bat8.bmp │ │ ├── bat9.bmp │ │ ├── battery.bmp │ │ ├── bempty.bmp │ │ ├── empty.bmp │ │ ├── full.bmp │ │ ├── head.bmp │ │ ├── linux1.bmp │ │ ├── linux2.bmp │ │ ├── low_pwr.bmp │ │ ├── melis1.bmp │ │ ├── melis2.bmp │ │ ├── startup.bmp │ │ ├── tail.bmp │ │ ├── wince1.bmp │ │ └── wince2.bmp │ ├── sprite.axf │ └── sprite │ │ └── sprite.ini │ └── diskfs.fex └── default ├── env_android.cfg ├── env_linux.cfg ├── image_android.cfg ├── image_linux.cfg ├── sys_config_android.fex └── sys_config_linux.fex /.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | *.ini text eol=crlf 3 | *.cfg text eol=lf 4 | *.fex binary 5 | livesuit/default/*.fex text eol=crlf 6 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | allwinner-tools 2 | =============== 3 | 4 | awusb 5 | ===== 6 | Allwinner's USB driver used by proprietary LiveSuit for Linux. 7 | -------------------------------------------------------------------------------- /awusb/Makefile: -------------------------------------------------------------------------------- 1 | obj-m := awusb.o 2 | KDIR := /lib/modules/$(shell uname -r)/build 3 | PWD := $(shell pwd) 4 | 5 | default: 6 | $(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules 7 | clean: 8 | $(MAKE) -C $(KDIR) SUBDIRS=$(PWD) clean 9 | rm -rf Module.markers module.order module.sysvers 10 | 11 | -------------------------------------------------------------------------------- /awusb/README: -------------------------------------------------------------------------------- 1 | USB driver for A10 based devices. This driver is used only for FEL mode by LiveSuit for linux. 2 | -------------------------------------------------------------------------------- /awusb/awusb.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Driver for AW USB which is for downloading firmware 3 | * 4 | * Cesc 5 | * 6 | * This program is free software; you can redistribute it and/or 7 | * modify it under the terms of the GNU General Public License as 8 | * published by the Free Software Foundation; either version 2 of the 9 | * License, or (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, but 12 | * WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | * General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, write to the Free Software 18 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 19 | * 20 | * 21 | * Changelog: 22 | * 23 | */ 24 | 25 | #include 26 | #include 27 | #include 28 | #include 29 | #include 30 | #include 31 | #include 32 | #include 33 | #include 34 | #include 35 | #include 36 | #include 37 | #include 38 | 39 | /* by Cesc */ 40 | #include 41 | #include 42 | 43 | 44 | /* 45 | * Version Information 46 | */ 47 | #define DRIVER_VERSION "v1.0" 48 | #define DRIVER_AUTHOR "Cesc" 49 | #define DRIVER_DESC "AW USB driver" 50 | 51 | #define AW_MINOR 64 52 | 53 | /* stall/wait timeout for AWUSB */ 54 | #define NAK_TIMEOUT (HZ) 55 | 56 | #define IBUF_SIZE 0x1000 57 | 58 | /* Size of the AW buffer */ 59 | #define OBUF_SIZE 0x10000 60 | 61 | /* Max size of data from ioctl */ 62 | #define IOCTL_SIZE 0x10000 /* 16k */ 63 | 64 | struct aw_usb_data { 65 | struct usb_device *aw_dev; /* init: probe_aw */ 66 | unsigned int ifnum; /* Interface number of the USB device */ 67 | int isopen; /* nz if open */ 68 | int present; /* Device is present on the bus */ 69 | char *obuf, *ibuf; /* transfer buffers */ 70 | char bulk_in_ep, bulk_out_ep; /* Endpoint assignments */ 71 | wait_queue_head_t wait_q; /* for timeouts */ 72 | struct mutex lock; /* general race avoidance */ 73 | }; 74 | 75 | /* by Cesc */ 76 | struct usb_param { 77 | unsigned test_num; 78 | unsigned p1; /* parameter 1 */ 79 | unsigned p2; 80 | unsigned p3; 81 | }; 82 | 83 | struct aw_command { 84 | int value; 85 | int length; 86 | void __user *buffer; 87 | }; 88 | 89 | #define AWUSB_IOC_MAGIC 's' 90 | 91 | #define AWUSB_IOCRESET _IO(AWUSB_IOC_MAGIC, 0) 92 | #define AWUSB_IOCSET _IOW(AWUSB_IOC_MAGIC, 1, struct usb_param) 93 | #define AWUSB_IOCGET _IOR(AWUSB_IOC_MAGIC, 2, struct usb_param) 94 | #define AWUSB_IOCSEND _IOW(AWUSB_IOC_MAGIC, 3, struct aw_command) 95 | #define AWUSB_IOCRECV _IOR(AWUSB_IOC_MAGIC, 4, struct aw_command) 96 | #define AWUSB_IOCSEND_RECV _IOWR(AWUSB_IOC_MAGIC, 5, struct aw_command) 97 | /* AWUSB_IOCSEND_RECV, how to implement it? */ 98 | 99 | 100 | 101 | static struct aw_usb_data aw_instance; 102 | 103 | static int open_aw(struct inode *inode, struct file *file) 104 | { 105 | struct aw_usb_data *aw = &aw_instance; 106 | 107 | /* mutex_lock(&(aw->lock)); */ 108 | 109 | if (aw->isopen || !aw->present) { 110 | mutex_unlock(&(aw->lock)); 111 | return -EBUSY; 112 | } 113 | aw->isopen = 1; 114 | 115 | init_waitqueue_head(&aw->wait_q); 116 | 117 | /* mutex_unlock(&(aw->lock)); */ 118 | 119 | dev_info(&aw->aw_dev->dev, "aw opened.\n"); 120 | 121 | return 0; 122 | } 123 | 124 | static int close_aw(struct inode *inode, struct file *file) 125 | { 126 | struct aw_usb_data *aw = &aw_instance; 127 | 128 | aw->isopen = 0; 129 | 130 | dev_info(&aw->aw_dev->dev, "aw closed.\n"); 131 | return 0; 132 | } 133 | 134 | static long ioctl_aw(struct file *file, unsigned int cmd, unsigned long arg) 135 | { 136 | struct aw_usb_data *aw = &aw_instance; 137 | int retval = 0; 138 | struct usb_param param_tmp; 139 | 140 | struct aw_command aw_cmd; 141 | void __user *data; 142 | unsigned char *buffer; 143 | int value = 0; 144 | int buffer_len = 0; 145 | 146 | int result = 0; 147 | int actual_len = 0; 148 | 149 | mutex_lock(&(aw->lock)); 150 | if (aw->present == 0 || aw->aw_dev == NULL) { 151 | retval = -ENODEV; 152 | goto err_out; 153 | } 154 | 155 | pr_debug("ioctl_aw--enter\n"); 156 | 157 | pr_debug("cmd = %d\n", cmd); 158 | 159 | param_tmp.test_num = 0; 160 | param_tmp.p1 = 0; 161 | param_tmp.p2 = 0; 162 | param_tmp.p3 = 0; 163 | 164 | switch (cmd) { 165 | case AWUSB_IOCRESET: 166 | pr_debug("ioctl_aw--AWUSB_IOCRESET\n"); 167 | break; 168 | 169 | case AWUSB_IOCSET: 170 | pr_debug("ioctl_aw--AWUSB_IOCSET\n"); 171 | 172 | if (copy_from_user( 173 | ¶m_tmp, (void __user *)arg, sizeof(param_tmp))) { 174 | retval = -EFAULT; 175 | } 176 | 177 | pr_debug("param_tmp.test_num = %d\n", param_tmp.test_num); 178 | pr_debug("param_tmp.p1 = %d\n", param_tmp.p1); 179 | pr_debug("param_tmp.p2 = %d\n", param_tmp.p2); 180 | pr_debug("param_tmp.p3 = %d\n", param_tmp.p3); 181 | break; 182 | 183 | case AWUSB_IOCGET: 184 | pr_debug("ioctl_aw--AWUSB_IOCGET\n"); 185 | 186 | param_tmp.test_num = 3; 187 | param_tmp.p1 = 4; 188 | param_tmp.p2 = 5; 189 | param_tmp.p3 = 6; 190 | 191 | if (copy_to_user( 192 | (void __user *)arg, ¶m_tmp, sizeof(param_tmp))) { 193 | retval = -EFAULT; 194 | } 195 | break; 196 | 197 | case AWUSB_IOCSEND: 198 | pr_debug("ioctl_aw--AWUSB_IOCSEND\n"); 199 | 200 | data = (void __user *)arg; 201 | if (data == NULL) 202 | break; 203 | 204 | if (copy_from_user(&aw_cmd, data, sizeof(struct aw_command))) { 205 | retval = -EFAULT; 206 | goto err_out; 207 | } 208 | 209 | buffer_len = aw_cmd.length; 210 | value = aw_cmd.value; 211 | pr_debug("buffer_len=%d\n", buffer_len); 212 | pr_debug("value=%d\n", value); 213 | if (buffer_len > IOCTL_SIZE) { 214 | retval = -EINVAL; 215 | goto err_out; 216 | } 217 | buffer = kmalloc(buffer_len, GFP_KERNEL); 218 | if (!(buffer)) { 219 | dev_err(&aw->aw_dev->dev, 220 | "AWUSB_IOCSEND: Not enough memory for the send buffer"); 221 | retval = -ENOMEM; 222 | goto err_out; 223 | } 224 | 225 | /* stage 1, get data from app */ 226 | if (copy_from_user(buffer, aw_cmd.buffer, aw_cmd.length)) { 227 | retval = -EFAULT; 228 | kfree(buffer); 229 | goto err_out; 230 | } 231 | 232 | #if 0 233 | int ii = 0; 234 | 235 | for (ii = 0; ii < buffer_len; ii++) 236 | pr_debug( 237 | "*(buffer + %d) = %d\n", ii, *(buffer + ii)); 238 | pr_debug("*buffer=%d, *(buffer+1)=%d\n", *buffer, *(buffer+1)); 239 | #endif 240 | 241 | /* stage 2, send data to usb device */ 242 | result = usb_bulk_msg(aw->aw_dev, 243 | usb_sndbulkpipe(aw->aw_dev, 1), 244 | buffer, buffer_len, &actual_len, 5000); 245 | if (result) { 246 | kfree(buffer); 247 | 248 | dev_err(&aw->aw_dev->dev, 249 | "Write Whoops - %08x", result); 250 | retval = -EIO; 251 | goto err_out; 252 | } 253 | 254 | kfree(buffer); 255 | 256 | pr_debug("ioctl_aw--AWUSB_IOCSEND-exit\n"); 257 | break; 258 | 259 | case AWUSB_IOCRECV: 260 | pr_debug("ioctl_aw--AWUSB_IOCRECV\n"); 261 | 262 | data = (void __user *)arg; 263 | if (data == NULL) 264 | break; 265 | if (copy_from_user(&aw_cmd, data, sizeof(struct aw_command))) { 266 | retval = -EFAULT; 267 | goto err_out; 268 | } 269 | if (aw_cmd.length < 0) { 270 | retval = -EINVAL; 271 | goto err_out; 272 | } 273 | buffer_len = aw_cmd.length; 274 | value = aw_cmd.value; 275 | pr_debug("buffer_len=%d\n", buffer_len); 276 | pr_debug("value=%d\n", value); 277 | buffer = kmalloc(buffer_len, GFP_KERNEL); 278 | if (!(buffer)) { 279 | dev_err(&aw->aw_dev->dev, 280 | "AWUSB_IOCSEND: Not enough memory for the receive buffer"); 281 | retval = -ENOMEM; 282 | goto err_out; 283 | } 284 | memset(buffer, 0x33, buffer_len); 285 | 286 | /* stage 1, get data from usb device */ 287 | result = usb_bulk_msg(aw->aw_dev, 288 | usb_rcvbulkpipe(aw->aw_dev, 2), 289 | buffer, buffer_len, &actual_len, 0);/*8000); */ 290 | 291 | if (result) { 292 | kfree(buffer); 293 | 294 | dev_err(&aw->aw_dev->dev, "Read Whoops - %x", result); 295 | retval = -EIO; 296 | goto err_out; 297 | } 298 | 299 | /* stage 2, copy data to app in user space */ 300 | if (copy_to_user(aw_cmd.buffer, buffer, aw_cmd.length)) { 301 | kfree(buffer); 302 | retval = -EFAULT; 303 | goto err_out; 304 | } 305 | 306 | kfree(buffer); 307 | 308 | break; 309 | 310 | case AWUSB_IOCSEND_RECV: 311 | pr_debug("ioctl_aw--AWUSB_IOCSEND_RECV\n"); 312 | 313 | break; 314 | 315 | default: 316 | retval = -ENOTTY; 317 | break; 318 | } 319 | 320 | pr_debug("ioctl_aw--exit\n"); 321 | 322 | err_out: 323 | mutex_unlock(&(aw->lock)); 324 | return retval; 325 | } 326 | 327 | static ssize_t 328 | write_aw( 329 | struct file *file, const char __user *buffer, 330 | size_t count, loff_t *ppos) 331 | { 332 | DEFINE_WAIT(wait); 333 | struct aw_usb_data *aw = &aw_instance; 334 | 335 | unsigned long copy_size; 336 | unsigned long bytes_written = 0; 337 | unsigned int partial; 338 | 339 | int result = 0; 340 | int maxretry; 341 | int errn = 0; 342 | int intr; 343 | 344 | intr = mutex_lock_interruptible(&(aw->lock)); 345 | if (intr) 346 | return -EINTR; 347 | /* Sanity check to make sure aw is connected, powered, etc */ 348 | if (aw->present == 0 || aw->aw_dev == NULL) { 349 | mutex_unlock(&(aw->lock)); 350 | return -ENODEV; 351 | } 352 | 353 | do { 354 | unsigned long thistime; 355 | char *obuf = aw->obuf; 356 | 357 | copy_size = (count >= OBUF_SIZE) ? OBUF_SIZE : count; 358 | thistime = copy_size; 359 | if (copy_from_user(aw->obuf, buffer, copy_size)) { 360 | errn = -EFAULT; 361 | goto error; 362 | } 363 | maxretry = 5; 364 | while (thistime) { 365 | if (!aw->aw_dev) { 366 | errn = -ENODEV; 367 | goto error; 368 | } 369 | if (signal_pending(current)) { 370 | mutex_unlock(&(aw->lock)); 371 | return bytes_written ? bytes_written : -EINTR; 372 | } 373 | 374 | result = usb_bulk_msg(aw->aw_dev, 375 | usb_sndbulkpipe(aw->aw_dev, 2), 376 | obuf, thistime, &partial, 5000); 377 | 378 | pr_debug( 379 | "write stats: result:%d thistime:%lu partial:%u", 380 | result, thistime, partial); 381 | 382 | if (result == -ETIMEDOUT) { 383 | /* NAK - so hold for a while */ 384 | if (!maxretry--) { 385 | errn = -ETIME; 386 | goto error; 387 | } 388 | prepare_to_wait( 389 | &aw->wait_q, &wait, TASK_INTERRUPTIBLE); 390 | schedule_timeout(NAK_TIMEOUT); 391 | finish_wait(&aw->wait_q, &wait); 392 | continue; 393 | } else if (!result && partial) { 394 | obuf += partial; 395 | thistime -= partial; 396 | } else { 397 | break; 398 | } 399 | }; 400 | if (result) { 401 | dev_err(&aw->aw_dev->dev, "Write Whoops - %x", result); 402 | errn = -EIO; 403 | goto error; 404 | } 405 | bytes_written += copy_size; 406 | count -= copy_size; 407 | buffer += copy_size; 408 | } while (count > 0); 409 | 410 | mutex_unlock(&(aw->lock)); 411 | 412 | return bytes_written ? bytes_written : -EIO; 413 | 414 | error: 415 | mutex_unlock(&(aw->lock)); 416 | return errn; 417 | } 418 | 419 | static ssize_t 420 | read_aw(struct file *file, char __user *buffer, size_t count, loff_t *ppos) 421 | { 422 | DEFINE_WAIT(wait); 423 | struct aw_usb_data *aw = &aw_instance; 424 | ssize_t read_count; 425 | unsigned int partial; 426 | int this_read; 427 | int result; 428 | int maxretry = 10; 429 | char *ibuf; 430 | int intr; 431 | 432 | intr = mutex_lock_interruptible(&(aw->lock)); 433 | if (intr) 434 | return -EINTR; 435 | /* Sanity check to make sure aw is connected, powered, etc */ 436 | if (aw->present == 0 || aw->aw_dev == NULL) { 437 | mutex_unlock(&(aw->lock)); 438 | return -ENODEV; 439 | } 440 | 441 | ibuf = aw->ibuf; 442 | 443 | read_count = 0; 444 | 445 | 446 | while (count > 0) { 447 | if (signal_pending(current)) { 448 | mutex_unlock(&(aw->lock)); 449 | return read_count ? read_count : -EINTR; 450 | } 451 | if (!aw->aw_dev) { 452 | mutex_unlock(&(aw->lock)); 453 | return -ENODEV; 454 | } 455 | this_read = (count >= IBUF_SIZE) ? IBUF_SIZE : count; 456 | 457 | result = usb_bulk_msg(aw->aw_dev, 458 | usb_rcvbulkpipe(aw->aw_dev, 1), 459 | ibuf, this_read, &partial, 460 | 8000); 461 | 462 | pr_debug( 463 | "read stats: result:%d this_read:%u partial:%u", 464 | result, this_read, partial); 465 | 466 | if (partial) { 467 | count = partial; 468 | this_read = partial; 469 | } else if (result == -ETIMEDOUT || result == 15) { 470 | /* FIXME: 15 ??? */ 471 | if (!maxretry--) { 472 | mutex_unlock(&(aw->lock)); 473 | dev_err(&aw->aw_dev->dev, "read_aw: maxretry timeout"); 474 | return -ETIME; 475 | } 476 | prepare_to_wait(&aw->wait_q, &wait, TASK_INTERRUPTIBLE); 477 | schedule_timeout(NAK_TIMEOUT); 478 | finish_wait(&aw->wait_q, &wait); 479 | continue; 480 | } else if (result != -EREMOTEIO) { 481 | mutex_unlock(&(aw->lock)); 482 | dev_err(&aw->aw_dev->dev, 483 | "Read Whoops - result:%u partial:%u this_read:%u", 484 | result, partial, this_read); 485 | return -EIO; 486 | } else { 487 | mutex_unlock(&(aw->lock)); 488 | return 0; 489 | } 490 | 491 | if (this_read) { 492 | if (copy_to_user(buffer, ibuf, this_read)) { 493 | mutex_unlock(&(aw->lock)); 494 | return -EFAULT; 495 | } 496 | count -= this_read; 497 | read_count += this_read; 498 | buffer += this_read; 499 | } 500 | } 501 | mutex_unlock(&(aw->lock)); 502 | return read_count; 503 | } 504 | 505 | static const struct file_operations usb_aw_fops = { 506 | .owner = THIS_MODULE, 507 | .read = read_aw, 508 | .write = write_aw, 509 | .unlocked_ioctl = ioctl_aw, 510 | .open = open_aw, 511 | .release = close_aw, 512 | }; 513 | 514 | static struct usb_class_driver usb_aw_class = { 515 | .name = "aw_efex%d", 516 | .fops = &usb_aw_fops, 517 | .minor_base = AW_MINOR, 518 | }; 519 | 520 | static int probe_aw(struct usb_interface *intf, 521 | const struct usb_device_id *id) 522 | { 523 | struct usb_device *dev = interface_to_usbdev(intf); 524 | struct aw_usb_data *aw = &aw_instance; 525 | int retval; 526 | 527 | dev_info(&intf->dev, "USB aw found at address %d\n", dev->devnum); 528 | 529 | retval = usb_register_dev(intf, &usb_aw_class); 530 | if (retval) { 531 | dev_err(&aw->aw_dev->dev, 532 | "Not able to get a minor for this device."); 533 | return -ENOMEM; 534 | } 535 | 536 | aw->aw_dev = dev; 537 | 538 | aw->obuf = kmalloc(OBUF_SIZE, GFP_KERNEL); 539 | if (!(aw->obuf)) { 540 | dev_err(&aw->aw_dev->dev, 541 | "probe_aw: Not enough memory for the output buffer"); 542 | usb_deregister_dev(intf, &usb_aw_class); 543 | return -ENOMEM; 544 | } 545 | dev_dbg(&aw->aw_dev->dev, "probe_aw: obuf address:%p", aw->obuf); 546 | 547 | aw->ibuf = kmalloc(IBUF_SIZE, GFP_KERNEL); 548 | if (!(aw->ibuf)) { 549 | dev_err(&aw->aw_dev->dev, 550 | "probe_aw: Not enough memory for the input buffer"); 551 | usb_deregister_dev(intf, &usb_aw_class); 552 | kfree(aw->obuf); 553 | return -ENOMEM; 554 | } 555 | dev_dbg(&aw->aw_dev->dev, "probe_aw: ibuf address:%p", aw->ibuf); 556 | 557 | mutex_init(&(aw->lock)); 558 | 559 | usb_set_intfdata(intf, aw); 560 | aw->present = 1; 561 | 562 | return 0; 563 | } 564 | 565 | static void disconnect_aw(struct usb_interface *intf) 566 | { 567 | struct aw_usb_data *aw = usb_get_intfdata(intf); 568 | 569 | usb_set_intfdata(intf, NULL); 570 | if (aw) { 571 | usb_deregister_dev(intf, &usb_aw_class); 572 | 573 | mutex_lock(&(aw->lock)); 574 | if (aw->isopen) { 575 | aw->isopen = 0; 576 | /* Better let it finish, 577 | * the release will do whats needed 578 | */ 579 | aw->aw_dev = NULL; 580 | mutex_unlock(&(aw->lock)); 581 | return; 582 | } 583 | kfree(aw->ibuf); 584 | kfree(aw->obuf); 585 | 586 | dev_info(&intf->dev, "USB aw disconnected.\n"); 587 | 588 | aw->present = 0; 589 | mutex_unlock(&(aw->lock)); 590 | } 591 | } 592 | 593 | static struct usb_device_id aw_table[] = { 594 | {USB_DEVICE(0x1f3a, 0xefe8)}, /* aw usb device */ 595 | { } /* Terminating entry */ 596 | }; 597 | 598 | MODULE_DEVICE_TABLE(usb, aw_table); 599 | 600 | static struct usb_driver aw_driver = { 601 | .name = "aw", 602 | .probe = probe_aw, 603 | .disconnect = disconnect_aw, 604 | .id_table = aw_table, 605 | }; 606 | 607 | static int __init usb_aw_init(void) 608 | { 609 | int retval; 610 | retval = usb_register(&aw_driver); 611 | if (retval) 612 | goto out; 613 | 614 | pr_info(KBUILD_MODNAME ": " DRIVER_VERSION ":" DRIVER_DESC "\n"); 615 | 616 | out: 617 | return retval; 618 | } 619 | 620 | 621 | static void __exit usb_aw_cleanup(void) 622 | { 623 | struct aw_usb_data *aw = &aw_instance; 624 | 625 | aw->present = 0; 626 | usb_deregister(&aw_driver); 627 | 628 | 629 | } 630 | 631 | module_init(usb_aw_init); 632 | module_exit(usb_aw_cleanup); 633 | 634 | MODULE_AUTHOR(DRIVER_AUTHOR); 635 | MODULE_DESCRIPTION(DRIVER_DESC); 636 | MODULE_LICENSE("GPL"); 637 | -------------------------------------------------------------------------------- /bins/FileAddSum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/bins/FileAddSum -------------------------------------------------------------------------------- /bins/mkbootimg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/bins/mkbootimg -------------------------------------------------------------------------------- /bins/script: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/bins/script -------------------------------------------------------------------------------- /bins/u_boot_env_gen: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/bins/u_boot_env_gen -------------------------------------------------------------------------------- /bins/update_23: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/bins/update_23 -------------------------------------------------------------------------------- /bins/update_mbr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/bins/update_mbr -------------------------------------------------------------------------------- /dragon/AwPluginVector.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/dragon/AwPluginVector.dll -------------------------------------------------------------------------------- /dragon/ImageBuilder.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/dragon/ImageBuilder.dll -------------------------------------------------------------------------------- /dragon/IniParasPlg.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/dragon/IniParasPlg.dll -------------------------------------------------------------------------------- /dragon/dragon: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/dragon/dragon -------------------------------------------------------------------------------- /fsbuild/AwPluginVector.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/fsbuild/AwPluginVector.dll -------------------------------------------------------------------------------- /fsbuild/IniParasPlg.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/fsbuild/IniParasPlg.dll -------------------------------------------------------------------------------- /fsbuild/fsbuild: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/fsbuild/fsbuild -------------------------------------------------------------------------------- /fsbuild/fstool.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/fsbuild/fstool.dll -------------------------------------------------------------------------------- /livesuit/a10/eFex/card/cardscript.fex: -------------------------------------------------------------------------------- 1 | ;------------------------------------------------------------------------------------------------------------- 2 | ; 3 | ; card_script.cfg 4 | ; 5 | ; 2009-11-20 11:11:23 6 | ; 7 | ;------------------------------------------------------------------------------------------------------------- 8 | 9 | ;------------------------------------------------------------------------------- 10 | ; 处理步骤 11 | ;------------------------------------------------------------------------------- 12 | [process] 13 | version=300 14 | mode=product 15 | ;null 非法 0 16 | ;product 卡量产 1 17 | ;bromrun 卡启动 2 18 | ;update 卡升级 3 19 | ;test 卡测试 4 20 | 21 | ;null表示跳过 22 | 23 | ;start 起始扇区号码 24 | ;sectors 扇区个数,0表示自动根据文件size进行自动处理 25 | 26 | ;------------------------------------------------------------------------------- 27 | ; 28 | ;------------------------------------------------------------------------------- 29 | [boot_0_0] 30 | main=12345678 31 | sub=1234567890boot_0 32 | start=16 33 | sectors=0 34 | type=1 35 | ;0 raw 36 | ;1 1层 37 | ;2 2层 38 | ;x 其他 39 | param0=0 40 | param1=0 41 | param2=0 42 | param3=0 43 | param4=0 44 | param5=0 45 | param6=0 46 | param7=0 47 | commen=pheonix card_00 48 | commchs=烧写第一部分 49 | 50 | ;------------------------------------------------------------------------------- 51 | ; 52 | ;------------------------------------------------------------------------------- 53 | [boot_1_0] 54 | main=12345678 55 | sub=1234567890boot_1 56 | start=38192 57 | sectors=0 58 | type=1 59 | ;0 raw 60 | ;1 1层 61 | ;2 2层 62 | ;x 其他 63 | param0=0 64 | param1=0 65 | param2=0 66 | param3=0 67 | param4=0 68 | param5=0 69 | param6=0 70 | param7=0 71 | commen=pheonix card_10 72 | commchs=烧写第五部分 73 | 74 | [boot_1_1] 75 | main=12345678 76 | sub=1234567890boot_1 77 | start=38704 78 | sectors=0 79 | type=1 80 | ;0 raw 81 | ;1 1层 82 | ;2 2层 83 | ;x 其他 84 | param0=0 85 | param1=0 86 | param2=0 87 | param3=0 88 | param4=0 89 | param5=0 90 | param6=0 91 | param7=0 92 | commen=pheonix card_11 93 | commchs=烧写第六部分 94 | 95 | 96 | 97 | [card_boot] 98 | start = 40960 99 | 100 | 101 | ;------------------------------------------------------------------------------------------------------------- 102 | ; 结束 103 | ;------------------------------------------------------------------------------------------------------------- 104 | -------------------------------------------------------------------------------- /livesuit/a10/eFex/card/cardtool.fex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a10/eFex/card/cardtool.fex -------------------------------------------------------------------------------- /livesuit/a10/eFex/card/dlinfo.fex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a10/eFex/card/dlinfo.fex -------------------------------------------------------------------------------- /livesuit/a10/eFex/card/mbr.fex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a10/eFex/card/mbr.fex -------------------------------------------------------------------------------- /livesuit/a10/eFex/split_xxxx.fex: -------------------------------------------------------------------------------- 1 | a1sp9maKde37ee6c-6dc4-4d74-86f0-db32116efb53e0e40ccf-7a66-406b-88c3-415b4a62a8f7777622ab-6bd0-464f-9da5-4cc203e855ea8ce5671f-e8b5-442e-9300-2ee6836c538aabf5f481-c961-4895-8245-631f74851d0c2bbb4229-55a8-4929-a165-3f406f0ee441ab5d09a9-c4dc-44bb-a175-cfb7c978a062329ea51e-1ddc-44ff-ac09-9ef7b64e0c52a712e47d-13f7-4490-9fea-bdcd587b8a4a5ed4d4e6-0ba3-45c5-a778-3232a42d4d960a9b7466-d7b3-4087-b8ff-c51763b852a50cd78bb6-a6d5-43a8-8661-fb91abd346433e8a86ee-711e-49c1-ad54-b59dd01fe513e22b0d8b-647f-4417-a115-9806c5d64eec -------------------------------------------------------------------------------- /livesuit/a10/eFex/usb/HW_scan.axf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a10/eFex/usb/HW_scan.axf -------------------------------------------------------------------------------- /livesuit/a10/eFex/usb/aultls32.fex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a10/eFex/usb/aultls32.fex -------------------------------------------------------------------------------- /livesuit/a10/eFex/usb/aultools.fex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a10/eFex/usb/aultools.fex -------------------------------------------------------------------------------- /livesuit/a10/eFex/usb/card_HW_scan.axf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a10/eFex/usb/card_HW_scan.axf -------------------------------------------------------------------------------- /livesuit/a10/eFex/usb/card_update_boot0.axf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a10/eFex/usb/card_update_boot0.axf -------------------------------------------------------------------------------- /livesuit/a10/eFex/usb/card_update_boot1.axf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a10/eFex/usb/card_update_boot1.axf -------------------------------------------------------------------------------- /livesuit/a10/eFex/usb/fed_card.axf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a10/eFex/usb/fed_card.axf -------------------------------------------------------------------------------- /livesuit/a10/eFex/usb/fed_nand.axf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a10/eFex/usb/fed_nand.axf -------------------------------------------------------------------------------- /livesuit/a10/eFex/usb/fes.fex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a10/eFex/usb/fes.fex -------------------------------------------------------------------------------- /livesuit/a10/eFex/usb/fes_1-1.fex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a10/eFex/usb/fes_1-1.fex -------------------------------------------------------------------------------- /livesuit/a10/eFex/usb/fes_1-2.fex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a10/eFex/usb/fes_1-2.fex -------------------------------------------------------------------------------- /livesuit/a10/eFex/usb/fes_2.fex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a10/eFex/usb/fes_2.fex -------------------------------------------------------------------------------- /livesuit/a10/eFex/usb/fet_restore.axf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a10/eFex/usb/fet_restore.axf -------------------------------------------------------------------------------- /livesuit/a10/eFex/usb/magic_cr_end.fex: -------------------------------------------------------------------------------- 1 | 7946A691FA1E4f3a9DDCD0C5828AEFD8BEBD1D2BF61B4b3eB54659D9B68E7A8E2C5940B77A624a3fA773C1D55256EA0D2A31F0F8D44543b38638364DD102BD97 -------------------------------------------------------------------------------- /livesuit/a10/eFex/usb/magic_cr_start.fex: -------------------------------------------------------------------------------- 1 | 52332CE123644369A4B275509311AD04048DF9BD33974692B70C2CAFBAD9856D57CD78E7130645df871241D1AE7424904BA9FF978D41460c8E953E6D0CD9C1C7 -------------------------------------------------------------------------------- /livesuit/a10/eFex/usb/magic_de_end.fex: -------------------------------------------------------------------------------- 1 | B7B71401B56C417c9AB59231F7B9E8B9EDB98F0099184ff5910B0AC556373851ACBFAB9F7FF049caBF0829D2CE3A6F421787E0A426EA48c6BF912FA2785F10D0 -------------------------------------------------------------------------------- /livesuit/a10/eFex/usb/magic_de_start.fex: -------------------------------------------------------------------------------- 1 | 7D1EA8F5D171421cA90F9B559F68B003D65B145CB9AA47dfB8210A48F8D14641753CCEC0B13C4778BC0479570E993355F276F25ACBDE4de0890E7F52E0AE44CC -------------------------------------------------------------------------------- /livesuit/a10/eFex/usb/split_c43a2a92-a8ed-4f92-abdb-ca0d5d29666d.bin: -------------------------------------------------------------------------------- 1 | a1sp9maKde37ee6c-6dc4-4d74-86f0-db32116efb53e0e40ccf-7a66-406b-88c3-415b4a62a8f7777622ab-6bd0-464f-9da5-4cc203e855ea8ce5671f-e8b5-442e-9300-2ee6836c538aabf5f481-c961-4895-8245-631f74851d0c2bbb4229-55a8-4929-a165-3f406f0ee441ab5d09a9-c4dc-44bb-a175-cfb7c978a062329ea51e-1ddc-44ff-ac09-9ef7b64e0c52a712e47d-13f7-4490-9fea-bdcd587b8a4a5ed4d4e6-0ba3-45c5-a778-3232a42d4d960a9b7466-d7b3-4087-b8ff-c51763b852a50cd78bb6-a6d5-43a8-8661-fb91abd346433e8a86ee-711e-49c1-ad54-b59dd01fe513e22b0d8b-647f-4417-a115-9806c5d64eec -------------------------------------------------------------------------------- /livesuit/a10/eFex/usb/tools.fex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a10/eFex/usb/tools.fex -------------------------------------------------------------------------------- /livesuit/a10/eFex/usb/update_boot0.axf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a10/eFex/usb/update_boot0.axf -------------------------------------------------------------------------------- /livesuit/a10/eFex/usb/update_boot1.axf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a10/eFex/usb/update_boot1.axf -------------------------------------------------------------------------------- /livesuit/a10/eGon/storage_media/nand/boot0.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a10/eGon/storage_media/nand/boot0.bin -------------------------------------------------------------------------------- /livesuit/a10/eGon/storage_media/nand/boot1.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a10/eGon/storage_media/nand/boot1.bin -------------------------------------------------------------------------------- /livesuit/a10/eGon/storage_media/sdcard/boot0.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a10/eGon/storage_media/sdcard/boot0.bin -------------------------------------------------------------------------------- /livesuit/a10/eGon/storage_media/sdcard/boot1.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a10/eGon/storage_media/sdcard/boot1.bin -------------------------------------------------------------------------------- /livesuit/a10/eGon/storage_media/spinor/boot0.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a10/eGon/storage_media/spinor/boot0.bin -------------------------------------------------------------------------------- /livesuit/a10/wboot/bootfs.ini: -------------------------------------------------------------------------------- 1 | 2 | [system] 3 | ver=100 4 | date=2009-7-03 5 | ID=937ae0d0-50e3-43c2-9b84-bfef0cd21a41 6 | 7 | [fsinfo] 8 | disccnt=1 9 | disc0=c 10 | ;------------------------------------------------------------------------------------------------------------- 11 | ; 12 | ;------------------------------------------------------------------------------------------------------------- 13 | [c] 14 | ;文件系统盘符 15 | disc=c 16 | 17 | ;文件系统镜像名称 18 | fsname=./bootfs.fex 19 | 20 | ;文件系统类型 21 | format=fat16 22 | 23 | ;文件系统size(k) 24 | size=65536 25 | 26 | ;文件系统属性 27 | attr=0 28 | 29 | ;root location and counter define 30 | rootcnt=1 31 | root0=./bootfs 32 | 33 | -------------------------------------------------------------------------------- /livesuit/a10/wboot/bootfs/.gitignore: -------------------------------------------------------------------------------- 1 | vendor 2 | 3 | -------------------------------------------------------------------------------- /livesuit/a10/wboot/bootfs/boot.axf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a10/wboot/bootfs/boot.axf -------------------------------------------------------------------------------- /livesuit/a10/wboot/bootfs/boot.ini: -------------------------------------------------------------------------------- 1 | [system] 2 | start_os_name = linux 3 | timeout = -1 4 | display_device= 0 5 | display_mode = 0 6 | 7 | erase_flash = 1 8 | [linux] 9 | 10 | -------------------------------------------------------------------------------- /livesuit/a10/wboot/bootfs/drv_de.drv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a10/wboot/bootfs/drv_de.drv -------------------------------------------------------------------------------- /livesuit/a10/wboot/bootfs/font24.sft: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a10/wboot/bootfs/font24.sft -------------------------------------------------------------------------------- /livesuit/a10/wboot/bootfs/font32.sft: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a10/wboot/bootfs/font32.sft -------------------------------------------------------------------------------- /livesuit/a10/wboot/bootfs/linux/linux.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a10/wboot/bootfs/linux/linux.bmp -------------------------------------------------------------------------------- /livesuit/a10/wboot/bootfs/linux/linux.ini: -------------------------------------------------------------------------------- 1 | [segment] 2 | img_name = c:\linux\u-boot.bin 3 | img_size = 0x80000 4 | img_base = 0x4A000000 5 | 6 | [script_info] 7 | script_base = 0x43000000 8 | script_size = 0x10000 9 | 10 | [logo_info] 11 | logo_name = c:\linux\linux.bmp 12 | logo_show = 1 13 | -------------------------------------------------------------------------------- /livesuit/a10/wboot/bootfs/linux/u-boot.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a10/wboot/bootfs/linux/u-boot.bin -------------------------------------------------------------------------------- /livesuit/a10/wboot/bootfs/os_show/bat0.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a10/wboot/bootfs/os_show/bat0.bmp -------------------------------------------------------------------------------- /livesuit/a10/wboot/bootfs/os_show/bat1.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a10/wboot/bootfs/os_show/bat1.bmp -------------------------------------------------------------------------------- /livesuit/a10/wboot/bootfs/os_show/bat10.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a10/wboot/bootfs/os_show/bat10.bmp -------------------------------------------------------------------------------- /livesuit/a10/wboot/bootfs/os_show/bat2.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a10/wboot/bootfs/os_show/bat2.bmp -------------------------------------------------------------------------------- /livesuit/a10/wboot/bootfs/os_show/bat3.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a10/wboot/bootfs/os_show/bat3.bmp -------------------------------------------------------------------------------- /livesuit/a10/wboot/bootfs/os_show/bat4.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a10/wboot/bootfs/os_show/bat4.bmp -------------------------------------------------------------------------------- /livesuit/a10/wboot/bootfs/os_show/bat5.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a10/wboot/bootfs/os_show/bat5.bmp -------------------------------------------------------------------------------- /livesuit/a10/wboot/bootfs/os_show/bat6.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a10/wboot/bootfs/os_show/bat6.bmp -------------------------------------------------------------------------------- /livesuit/a10/wboot/bootfs/os_show/bat7.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a10/wboot/bootfs/os_show/bat7.bmp -------------------------------------------------------------------------------- /livesuit/a10/wboot/bootfs/os_show/bat8.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a10/wboot/bootfs/os_show/bat8.bmp -------------------------------------------------------------------------------- /livesuit/a10/wboot/bootfs/os_show/bat9.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a10/wboot/bootfs/os_show/bat9.bmp -------------------------------------------------------------------------------- /livesuit/a10/wboot/bootfs/os_show/battery.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a10/wboot/bootfs/os_show/battery.bmp -------------------------------------------------------------------------------- /livesuit/a10/wboot/bootfs/os_show/bempty.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a10/wboot/bootfs/os_show/bempty.bmp -------------------------------------------------------------------------------- /livesuit/a10/wboot/bootfs/os_show/empty.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a10/wboot/bootfs/os_show/empty.bmp -------------------------------------------------------------------------------- /livesuit/a10/wboot/bootfs/os_show/full.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a10/wboot/bootfs/os_show/full.bmp -------------------------------------------------------------------------------- /livesuit/a10/wboot/bootfs/os_show/head.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a10/wboot/bootfs/os_show/head.bmp -------------------------------------------------------------------------------- /livesuit/a10/wboot/bootfs/os_show/linux1.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a10/wboot/bootfs/os_show/linux1.bmp -------------------------------------------------------------------------------- /livesuit/a10/wboot/bootfs/os_show/linux2.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a10/wboot/bootfs/os_show/linux2.bmp -------------------------------------------------------------------------------- /livesuit/a10/wboot/bootfs/os_show/low_pwr.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a10/wboot/bootfs/os_show/low_pwr.bmp -------------------------------------------------------------------------------- /livesuit/a10/wboot/bootfs/os_show/melis1.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a10/wboot/bootfs/os_show/melis1.bmp -------------------------------------------------------------------------------- /livesuit/a10/wboot/bootfs/os_show/melis2.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a10/wboot/bootfs/os_show/melis2.bmp -------------------------------------------------------------------------------- /livesuit/a10/wboot/bootfs/os_show/startup.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a10/wboot/bootfs/os_show/startup.bmp -------------------------------------------------------------------------------- /livesuit/a10/wboot/bootfs/os_show/tail.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a10/wboot/bootfs/os_show/tail.bmp -------------------------------------------------------------------------------- /livesuit/a10/wboot/bootfs/os_show/wince1.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a10/wboot/bootfs/os_show/wince1.bmp -------------------------------------------------------------------------------- /livesuit/a10/wboot/bootfs/os_show/wince2.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a10/wboot/bootfs/os_show/wince2.bmp -------------------------------------------------------------------------------- /livesuit/a10/wboot/bootfs/sprite.axf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a10/wboot/bootfs/sprite.axf -------------------------------------------------------------------------------- /livesuit/a10/wboot/bootfs/sprite/sprite.ini: -------------------------------------------------------------------------------- 1 | [system] 2 | display_device= -1 3 | display_mode = 0 4 | erase_flash = 1 5 | 6 | 7 | -------------------------------------------------------------------------------- /livesuit/a10/wboot/diskfs.fex: -------------------------------------------------------------------------------- 1 | datafs 2 | -------------------------------------------------------------------------------- /livesuit/a13/eFex/card/cardscript.fex: -------------------------------------------------------------------------------- 1 | ;------------------------------------------------------------------------------------------------------------- 2 | ; 3 | ; card_script.cfg 4 | ; 5 | ; 2009-11-20 11:11:23 6 | ; 7 | ;------------------------------------------------------------------------------------------------------------- 8 | 9 | ;------------------------------------------------------------------------------- 10 | ; 处理步骤 11 | ;------------------------------------------------------------------------------- 12 | [process] 13 | version=300 14 | mode=product 15 | ;null 非法 0 16 | ;product 卡量产 1 17 | ;bromrun 卡启动 2 18 | ;update 卡升级 3 19 | ;test 卡测试 4 20 | 21 | ;null表示跳过 22 | 23 | ;start 起始扇区号码 24 | ;sectors 扇区个数,0表示自动根据文件size进行自动处理 25 | 26 | ;------------------------------------------------------------------------------- 27 | ; 28 | ;------------------------------------------------------------------------------- 29 | [boot_0_0] 30 | main=12345678 31 | sub=1234567890boot_0 32 | start=16 33 | sectors=0 34 | type=1 35 | ;0 raw 36 | ;1 1层 37 | ;2 2层 38 | ;x 其他 39 | param0=0 40 | param1=0 41 | param2=0 42 | param3=0 43 | param4=0 44 | param5=0 45 | param6=0 46 | param7=0 47 | commen=pheonix card_00 48 | commchs=烧写第一部分 49 | 50 | ;------------------------------------------------------------------------------- 51 | ; 52 | ;------------------------------------------------------------------------------- 53 | [boot_1_0] 54 | main=12345678 55 | sub=1234567890boot_1 56 | start=38192 57 | sectors=0 58 | type=1 59 | ;0 raw 60 | ;1 1层 61 | ;2 2层 62 | ;x 其他 63 | param0=0 64 | param1=0 65 | param2=0 66 | param3=0 67 | param4=0 68 | param5=0 69 | param6=0 70 | param7=0 71 | commen=pheonix card_10 72 | commchs=烧写第五部分 73 | 74 | [boot_1_1] 75 | main=12345678 76 | sub=1234567890boot_1 77 | start=38704 78 | sectors=0 79 | type=1 80 | ;0 raw 81 | ;1 1层 82 | ;2 2层 83 | ;x 其他 84 | param0=0 85 | param1=0 86 | param2=0 87 | param3=0 88 | param4=0 89 | param5=0 90 | param6=0 91 | param7=0 92 | commen=pheonix card_11 93 | commchs=烧写第六部分 94 | 95 | 96 | 97 | [card_boot] 98 | start = 40960 99 | 100 | 101 | ;------------------------------------------------------------------------------------------------------------- 102 | ; 结束 103 | ;------------------------------------------------------------------------------------------------------------- 104 | -------------------------------------------------------------------------------- /livesuit/a13/eFex/card/cardtool.fex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a13/eFex/card/cardtool.fex -------------------------------------------------------------------------------- /livesuit/a13/eFex/card/dlinfo.fex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a13/eFex/card/dlinfo.fex -------------------------------------------------------------------------------- /livesuit/a13/eFex/card/mbr.fex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a13/eFex/card/mbr.fex -------------------------------------------------------------------------------- /livesuit/a13/eFex/split_xxxx.fex: -------------------------------------------------------------------------------- 1 | a1sp9maKde37ee6c-6dc4-4d74-86f0-db32116efb53e0e40ccf-7a66-406b-88c3-415b4a62a8f7777622ab-6bd0-464f-9da5-4cc203e855ea8ce5671f-e8b5-442e-9300-2ee6836c538aabf5f481-c961-4895-8245-631f74851d0c2bbb4229-55a8-4929-a165-3f406f0ee441ab5d09a9-c4dc-44bb-a175-cfb7c978a062329ea51e-1ddc-44ff-ac09-9ef7b64e0c52a712e47d-13f7-4490-9fea-bdcd587b8a4a5ed4d4e6-0ba3-45c5-a778-3232a42d4d960a9b7466-d7b3-4087-b8ff-c51763b852a50cd78bb6-a6d5-43a8-8661-fb91abd346433e8a86ee-711e-49c1-ad54-b59dd01fe513e22b0d8b-647f-4417-a115-9806c5d64eec -------------------------------------------------------------------------------- /livesuit/a13/eFex/usb/HW_scan.axf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a13/eFex/usb/HW_scan.axf -------------------------------------------------------------------------------- /livesuit/a13/eFex/usb/aultls32.fex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a13/eFex/usb/aultls32.fex -------------------------------------------------------------------------------- /livesuit/a13/eFex/usb/aultools.fex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a13/eFex/usb/aultools.fex -------------------------------------------------------------------------------- /livesuit/a13/eFex/usb/card_HW_scan.axf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a13/eFex/usb/card_HW_scan.axf -------------------------------------------------------------------------------- /livesuit/a13/eFex/usb/card_update_boot0.axf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a13/eFex/usb/card_update_boot0.axf -------------------------------------------------------------------------------- /livesuit/a13/eFex/usb/card_update_boot1.axf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a13/eFex/usb/card_update_boot1.axf -------------------------------------------------------------------------------- /livesuit/a13/eFex/usb/fed_card.axf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a13/eFex/usb/fed_card.axf -------------------------------------------------------------------------------- /livesuit/a13/eFex/usb/fed_nand.axf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a13/eFex/usb/fed_nand.axf -------------------------------------------------------------------------------- /livesuit/a13/eFex/usb/fes.fex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a13/eFex/usb/fes.fex -------------------------------------------------------------------------------- /livesuit/a13/eFex/usb/fes_1-1.fex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a13/eFex/usb/fes_1-1.fex -------------------------------------------------------------------------------- /livesuit/a13/eFex/usb/fes_1-2.fex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a13/eFex/usb/fes_1-2.fex -------------------------------------------------------------------------------- /livesuit/a13/eFex/usb/fes_2.fex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a13/eFex/usb/fes_2.fex -------------------------------------------------------------------------------- /livesuit/a13/eFex/usb/fet_restore.axf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a13/eFex/usb/fet_restore.axf -------------------------------------------------------------------------------- /livesuit/a13/eFex/usb/magic_cr_end.fex: -------------------------------------------------------------------------------- 1 | 7946A691FA1E4f3a9DDCD0C5828AEFD8BEBD1D2BF61B4b3eB54659D9B68E7A8E2C5940B77A624a3fA773C1D55256EA0D2A31F0F8D44543b38638364DD102BD97 -------------------------------------------------------------------------------- /livesuit/a13/eFex/usb/magic_cr_start.fex: -------------------------------------------------------------------------------- 1 | 52332CE123644369A4B275509311AD04048DF9BD33974692B70C2CAFBAD9856D57CD78E7130645df871241D1AE7424904BA9FF978D41460c8E953E6D0CD9C1C7 -------------------------------------------------------------------------------- /livesuit/a13/eFex/usb/magic_de_end.fex: -------------------------------------------------------------------------------- 1 | B7B71401B56C417c9AB59231F7B9E8B9EDB98F0099184ff5910B0AC556373851ACBFAB9F7FF049caBF0829D2CE3A6F421787E0A426EA48c6BF912FA2785F10D0 -------------------------------------------------------------------------------- /livesuit/a13/eFex/usb/magic_de_start.fex: -------------------------------------------------------------------------------- 1 | 7D1EA8F5D171421cA90F9B559F68B003D65B145CB9AA47dfB8210A48F8D14641753CCEC0B13C4778BC0479570E993355F276F25ACBDE4de0890E7F52E0AE44CC -------------------------------------------------------------------------------- /livesuit/a13/eFex/usb/split_c43a2a92-a8ed-4f92-abdb-ca0d5d29666d.bin: -------------------------------------------------------------------------------- 1 | a1sp9maKde37ee6c-6dc4-4d74-86f0-db32116efb53e0e40ccf-7a66-406b-88c3-415b4a62a8f7777622ab-6bd0-464f-9da5-4cc203e855ea8ce5671f-e8b5-442e-9300-2ee6836c538aabf5f481-c961-4895-8245-631f74851d0c2bbb4229-55a8-4929-a165-3f406f0ee441ab5d09a9-c4dc-44bb-a175-cfb7c978a062329ea51e-1ddc-44ff-ac09-9ef7b64e0c52a712e47d-13f7-4490-9fea-bdcd587b8a4a5ed4d4e6-0ba3-45c5-a778-3232a42d4d960a9b7466-d7b3-4087-b8ff-c51763b852a50cd78bb6-a6d5-43a8-8661-fb91abd346433e8a86ee-711e-49c1-ad54-b59dd01fe513e22b0d8b-647f-4417-a115-9806c5d64eec -------------------------------------------------------------------------------- /livesuit/a13/eFex/usb/tools.fex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a13/eFex/usb/tools.fex -------------------------------------------------------------------------------- /livesuit/a13/eFex/usb/update_boot0.axf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a13/eFex/usb/update_boot0.axf -------------------------------------------------------------------------------- /livesuit/a13/eFex/usb/update_boot1.axf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a13/eFex/usb/update_boot1.axf -------------------------------------------------------------------------------- /livesuit/a13/eGon/storage_media/nand/boot0.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a13/eGon/storage_media/nand/boot0.bin -------------------------------------------------------------------------------- /livesuit/a13/eGon/storage_media/nand/boot1.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a13/eGon/storage_media/nand/boot1.bin -------------------------------------------------------------------------------- /livesuit/a13/eGon/storage_media/sdcard/boot0.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a13/eGon/storage_media/sdcard/boot0.bin -------------------------------------------------------------------------------- /livesuit/a13/eGon/storage_media/sdcard/boot1.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a13/eGon/storage_media/sdcard/boot1.bin -------------------------------------------------------------------------------- /livesuit/a13/eGon/storage_media/spinor/boot0.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a13/eGon/storage_media/spinor/boot0.bin -------------------------------------------------------------------------------- /livesuit/a13/wboot/bootfs.ini: -------------------------------------------------------------------------------- 1 | 2 | [system] 3 | ver=100 4 | date=2009-7-03 5 | ID=937ae0d0-50e3-43c2-9b84-bfef0cd21a41 6 | 7 | [fsinfo] 8 | disccnt=1 9 | disc0=c 10 | ;------------------------------------------------------------------------------------------------------------- 11 | ; 12 | ;------------------------------------------------------------------------------------------------------------- 13 | [c] 14 | ;文件系统盘符 15 | disc=c 16 | 17 | ;文件系统镜像名称 18 | fsname=./bootfs.fex 19 | 20 | ;文件系统类型 21 | format=fat16 22 | 23 | ;文件系统size(k) 24 | size=65536 25 | 26 | ;文件系统属性 27 | attr=0 28 | 29 | ;root location and counter define 30 | rootcnt=1 31 | root0=./bootfs 32 | 33 | -------------------------------------------------------------------------------- /livesuit/a13/wboot/bootfs/boot.axf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a13/wboot/bootfs/boot.axf -------------------------------------------------------------------------------- /livesuit/a13/wboot/bootfs/boot.ini: -------------------------------------------------------------------------------- 1 | [system] 2 | start_os_name = linux 3 | timeout = -1 4 | display_device= 0 5 | display_mode = 0 6 | 7 | 8 | [linux] 9 | 10 | -------------------------------------------------------------------------------- /livesuit/a13/wboot/bootfs/drv_de.drv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a13/wboot/bootfs/drv_de.drv -------------------------------------------------------------------------------- /livesuit/a13/wboot/bootfs/font24.sft: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a13/wboot/bootfs/font24.sft -------------------------------------------------------------------------------- /livesuit/a13/wboot/bootfs/font32.sft: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a13/wboot/bootfs/font32.sft -------------------------------------------------------------------------------- /livesuit/a13/wboot/bootfs/linux/linux.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a13/wboot/bootfs/linux/linux.bmp -------------------------------------------------------------------------------- /livesuit/a13/wboot/bootfs/linux/linux.ini: -------------------------------------------------------------------------------- 1 | [segment] 2 | img_name = c:\linux\u-boot.bin 3 | img_size = 0x80000 4 | img_base = 0x4A000000 5 | 6 | [script_info] 7 | script_base = 0x43000000 8 | script_size = 0x10000 9 | 10 | [logo_info] 11 | logo_name = c:\linux\linux.bmp 12 | logo_show = 1 13 | -------------------------------------------------------------------------------- /livesuit/a13/wboot/bootfs/linux/u-boot.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a13/wboot/bootfs/linux/u-boot.bin -------------------------------------------------------------------------------- /livesuit/a13/wboot/bootfs/os_show/bat0.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a13/wboot/bootfs/os_show/bat0.bmp -------------------------------------------------------------------------------- /livesuit/a13/wboot/bootfs/os_show/bat1.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a13/wboot/bootfs/os_show/bat1.bmp -------------------------------------------------------------------------------- /livesuit/a13/wboot/bootfs/os_show/bat10.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a13/wboot/bootfs/os_show/bat10.bmp -------------------------------------------------------------------------------- /livesuit/a13/wboot/bootfs/os_show/bat2.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a13/wboot/bootfs/os_show/bat2.bmp -------------------------------------------------------------------------------- /livesuit/a13/wboot/bootfs/os_show/bat3.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a13/wboot/bootfs/os_show/bat3.bmp -------------------------------------------------------------------------------- /livesuit/a13/wboot/bootfs/os_show/bat4.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a13/wboot/bootfs/os_show/bat4.bmp -------------------------------------------------------------------------------- /livesuit/a13/wboot/bootfs/os_show/bat5.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a13/wboot/bootfs/os_show/bat5.bmp -------------------------------------------------------------------------------- /livesuit/a13/wboot/bootfs/os_show/bat6.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a13/wboot/bootfs/os_show/bat6.bmp -------------------------------------------------------------------------------- /livesuit/a13/wboot/bootfs/os_show/bat7.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a13/wboot/bootfs/os_show/bat7.bmp -------------------------------------------------------------------------------- /livesuit/a13/wboot/bootfs/os_show/bat8.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a13/wboot/bootfs/os_show/bat8.bmp -------------------------------------------------------------------------------- /livesuit/a13/wboot/bootfs/os_show/bat9.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a13/wboot/bootfs/os_show/bat9.bmp -------------------------------------------------------------------------------- /livesuit/a13/wboot/bootfs/os_show/battery.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a13/wboot/bootfs/os_show/battery.bmp -------------------------------------------------------------------------------- /livesuit/a13/wboot/bootfs/os_show/bempty.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a13/wboot/bootfs/os_show/bempty.bmp -------------------------------------------------------------------------------- /livesuit/a13/wboot/bootfs/os_show/empty.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a13/wboot/bootfs/os_show/empty.bmp -------------------------------------------------------------------------------- /livesuit/a13/wboot/bootfs/os_show/full.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a13/wboot/bootfs/os_show/full.bmp -------------------------------------------------------------------------------- /livesuit/a13/wboot/bootfs/os_show/head.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a13/wboot/bootfs/os_show/head.bmp -------------------------------------------------------------------------------- /livesuit/a13/wboot/bootfs/os_show/linux1.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a13/wboot/bootfs/os_show/linux1.bmp -------------------------------------------------------------------------------- /livesuit/a13/wboot/bootfs/os_show/linux2.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a13/wboot/bootfs/os_show/linux2.bmp -------------------------------------------------------------------------------- /livesuit/a13/wboot/bootfs/os_show/low_pwr.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a13/wboot/bootfs/os_show/low_pwr.bmp -------------------------------------------------------------------------------- /livesuit/a13/wboot/bootfs/os_show/melis1.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a13/wboot/bootfs/os_show/melis1.bmp -------------------------------------------------------------------------------- /livesuit/a13/wboot/bootfs/os_show/melis2.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a13/wboot/bootfs/os_show/melis2.bmp -------------------------------------------------------------------------------- /livesuit/a13/wboot/bootfs/os_show/startup.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a13/wboot/bootfs/os_show/startup.bmp -------------------------------------------------------------------------------- /livesuit/a13/wboot/bootfs/os_show/tail.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a13/wboot/bootfs/os_show/tail.bmp -------------------------------------------------------------------------------- /livesuit/a13/wboot/bootfs/os_show/wince1.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a13/wboot/bootfs/os_show/wince1.bmp -------------------------------------------------------------------------------- /livesuit/a13/wboot/bootfs/os_show/wince2.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a13/wboot/bootfs/os_show/wince2.bmp -------------------------------------------------------------------------------- /livesuit/a13/wboot/bootfs/sprite.axf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-sunxi/allwinner-tools/43734ccc6e567f96c7943dfa2287868aab0e5633/livesuit/a13/wboot/bootfs/sprite.axf -------------------------------------------------------------------------------- /livesuit/a13/wboot/bootfs/sprite/sprite.ini: -------------------------------------------------------------------------------- 1 | [system] 2 | display_device= -1 3 | display_mode = 0 4 | erase_flash = 1 5 | 6 | 7 | -------------------------------------------------------------------------------- /livesuit/a13/wboot/diskfs.fex: -------------------------------------------------------------------------------- 1 | datafs 2 | -------------------------------------------------------------------------------- /livesuit/default/env_android.cfg: -------------------------------------------------------------------------------- 1 | bootdelay=1 2 | #default bootcmd, will change at runtime according to key press 3 | bootcmd=run setargs boot_normal 4 | #kernel command arguments 5 | console=ttyS0,115200 6 | nand_root=/dev/nandc 7 | mmc_root=/dev/mmcblk0p4 8 | init=/init 9 | loglevel=8 10 | #set kernel cmdline if boot.img or recovery.img has no cmdline we will use this 11 | setargs=setenv bootargs console=${console} root=${nand_root} init=${init} loglevel=${loglevel} 12 | #nand command syntax: nand read address partition_name 13 | #0x40007800 = 0x40008000(kernel entry) - 0x800(boot.img header 2k) 14 | boot_normal=nand read 40007800 boot;boota 40007800 15 | boot_recovery=nand read 40007800 recovery;boota 40007800 16 | boot_fastboot=fastboot 17 | #recovery key 18 | recovery_key_value_max=0x13 19 | recovery_key_value_min=0x10 20 | #fastboot key 21 | fastboot_key_value_max=0x8 22 | fastboot_key_value_min=0x2 23 | -------------------------------------------------------------------------------- /livesuit/default/env_linux.cfg: -------------------------------------------------------------------------------- 1 | bootdelay=1 2 | #default bootcmd, will change at runtime according to key press 3 | bootcmd=run setargs_linux boot_linux 4 | #kernel command arguments 5 | console=ttyS0,115200 6 | nand_root=/dev/nandc 7 | mmc_root=/dev/mmcblk0p7 8 | init=/init 9 | loglevel=8 10 | extraargs=rootwait 11 | #set kernel cmdline if boot.img or recovery.img has no cmdline we will use this 12 | setargs=setenv bootargs console=${console} root=${nand_root} init=${init} loglevel=${loglevel} 13 | setargs_linux=setenv bootargs console=${console} console=tty1 root=${nand_root} loglevel=${loglevel} ${panicarg} ${extraargs} 14 | #nand command syntax: nand read address partition_name 15 | #0x40007800 = 0x40008000(kernel entry) - 0x800(boot.img header 2k) 16 | boot_normal=nand read 40007800 boot;boota 40007800 17 | boot_recovery=nand read 40007800 recovery;boota 40007800 18 | boot_linux=fatload nand 0:0 0x48000000 /uImage;bootm 0x48000000 19 | boot_fastboot=fastboot 20 | #recovery key 21 | recovery_key_value_max=0x13 22 | recovery_key_value_min=0x10 23 | #fastboot key 24 | fastboot_key_value_max=0x8 25 | fastboot_key_value_min=0x2 26 | -------------------------------------------------------------------------------- /livesuit/default/image_android.cfg: -------------------------------------------------------------------------------- 1 | ;/**************************************************************************/ 2 | ;2010-06-09 3 | ;Sam 4 | ;image>配置文件内容 5 | ;/**************************************************************************/ 6 | 7 | ;主要类型 8字节字符串 8 | [MAIN_TYPE] 9 | ITEM_COMMON = "COMMON " 10 | ITEM_INFO = "INFO " 11 | ITEM_BOOTROM = "BOOTROM " 12 | ITEM_FES = "FES " 13 | ITEM_FET = "FET " 14 | ITEM_FED = "FED " 15 | ITEM_FEX = "FEX " 16 | ITEM_BOOT = "BOOT " 17 | ITEM_ROOTFSFAT12 = "RFSFAT12" 18 | ITEM_ROOTFSFAT16 = "RFSFAT16" 19 | ITEM_ROOTFSFAT32 = "FFSFAT32" 20 | ITEM_USERFSFAT12 = "UFSFAT12" 21 | ITEM_USERFSFAT16 = "UFSFAT16" 22 | ITEM_USERFSFAT32 = "UFSFAT32" 23 | ITEM_PHOENIX_SCRIPT = "PXSCRIPT" 24 | ITEM_PHOENIX_TOOLS = "PXTOOLS " 25 | ITEM_AUDIO_DSP = "AUDIODSP" 26 | ITEM_VIDEO_DSP = "VIDEODSP" 27 | ITEM_FONT = "FONT " 28 | ITEM_FLASH_DRV = "FLASHDRV" 29 | ITEM_OS_CORE = "OS_CORE " 30 | ITEM_DRIVER = "DRIVER " 31 | ITEM_PIC = "PICTURE " 32 | ITEM_AUDIO = "AUDIO " 33 | ITEM_VIDEO = "VIDEO " 34 | ITEM_APPLICATION = "APP " 35 | 36 | ;子类型格式,供参考,可以另外定义,最大长度必须为16字节 37 | [SUB_TYPE] 38 | SUBTYPEdemo1 = "071228HWSXXXX100" 39 | ;-->071228 2007-12-28 40 | ;-->HWS hardware scan 41 | ;-->XXXX 用户定义 42 | ;-->100 version 1.00 43 | 44 | ;路径定义 45 | [DIR_DEF] 46 | INPUT_DIR="../" 47 | EFEX_DIR="../" 48 | 49 | ;文件列表 50 | [FILELIST] 51 | ;----------------------------------------------------maintype与subtype不可改变----------------------------------------------; 52 | ;-------------------------------公共部分---------------------------------------; 53 | 54 | ;-->固定不变的 55 | {filename = INPUT_DIR .. "sys_config.fex", maintype = ITEM_COMMON, subtype = "SYS_CONFIG000000",}, 56 | {filename = INPUT_DIR .. "sys_config1.fex", maintype = ITEM_COMMON, subtype = "SYS_CONFIG100000",}, 57 | {filename = INPUT_DIR .. "split_xxxx.fex", maintype = ITEM_COMMON, subtype = "SPLIT_0000000000",}, 58 | ;-->bootloader, enviroment, kernel, system, recovery 59 | {filename = INPUT_DIR .. "bootloader.fex", maintype = ITEM_ROOTFSFAT16, subtype = "BOOTLOADER_00000",}, 60 | {filename = INPUT_DIR .. "env.fex", maintype = ITEM_ROOTFSFAT16, subtype = "ENVIROMENT_00000",}, 61 | {filename = INPUT_DIR .. "boot.fex", maintype = ITEM_ROOTFSFAT16, subtype = "BOOT_00000000000",}, 62 | {filename = INPUT_DIR .. "system.fex", maintype = ITEM_ROOTFSFAT16, subtype = "SYSTEM_000000000",}, 63 | {filename = INPUT_DIR .. "recovery.fex", maintype = ITEM_ROOTFSFAT16, subtype = "RECOVERY_0000000",}, 64 | {filename = INPUT_DIR .. "diskfs.fex", maintype = ITEM_ROOTFSFAT16, subtype = "DISKFS_000000000",}, 65 | ;-->分区验证文件 66 | {filename = INPUT_DIR .. "vbootloader.fex", maintype = ITEM_ROOTFSFAT16, subtype = "VBOOTLOADER_0000",}, 67 | {filename = INPUT_DIR .. "venv.fex", maintype = ITEM_ROOTFSFAT16, subtype = "VENVIROMENT_0000",}, 68 | {filename = INPUT_DIR .. "vboot.fex", maintype = ITEM_ROOTFSFAT16, subtype = "VBOOT_0000000000",}, 69 | {filename = INPUT_DIR .. "vsystem.fex", maintype = ITEM_ROOTFSFAT16, subtype = "VSYSTEMFS_000000",}, 70 | {filename = INPUT_DIR .. "vrecovery.fex", maintype = ITEM_ROOTFSFAT16, subtype = "VRECOVERYFS_0000",}, 71 | 72 | ;-->boot文件 73 | {filename = INPUT_DIR .. "boot0.bin", maintype = ITEM_BOOT, subtype = "BOOT0_0000000000",}, 74 | {filename = INPUT_DIR .. "boot1.bin", maintype = ITEM_BOOT, subtype = "BOOT1_0000000000",}, 75 | 76 | 77 | ;-------------------------------usb下载部分-------------------------------------; 78 | ;-->tools文件 79 | {filename = EFEX_DIR .. "usb/tools.fex", maintype = ITEM_PHOENIX_TOOLS, subtype = "xxxxxxxxxxxxxxxx",}, 80 | 81 | ;-->fes文件 82 | {filename = EFEX_DIR .. "usb/fes_1-1.fex", maintype = ITEM_FES, subtype = "FES_1-1000000000",}, 83 | {filename = EFEX_DIR .. "usb/fes_1-2.fex", maintype = ITEM_FES, subtype = "FES_1-2000000000",}, 84 | {filename = EFEX_DIR .. "usb/fes_2.fex", maintype = ITEM_FES, subtype = "FES_200000000000",}, 85 | {filename = EFEX_DIR .. "usb/fes.fex", maintype = ITEM_FES, subtype = "FES_000000000000",}, 86 | 87 | ;-->fet文件 88 | {filename = EFEX_DIR .. "usb/HW_scan.axf", maintype = ITEM_FET, subtype = "HW_SCAN_00000000",}, 89 | ;{filename = EFEX_DIR .. "usb/HW_init.axf", maintype = ITEM_FET, subtype = "HW_INIT_00000000",}, 90 | ;{filename = EFEX_DIR .. "usb/FW_scan.axf", maintype = ITEM_FET, subtype = "FW_SCAN_00000000",}, 91 | {filename = EFEX_DIR .. "usb/update_boot0.axf", maintype = ITEM_FET, subtype = "UPDATE_BOOT0_000",}, 92 | {filename = EFEX_DIR .. "usb/update_boot1.axf", maintype = ITEM_FET, subtype = "UPDATE_BOOT1_000",}, 93 | {filename = EFEX_DIR .. "usb/fet_restore.axf", maintype = ITEM_FET, subtype = "FET_RESTORE_0000",}, 94 | 95 | {filename = EFEX_DIR .. "usb/magic_cr_start.fex", maintype = ITEM_FET, subtype = "MAGIC_CRC_START_",}, 96 | {filename = EFEX_DIR .. "usb/magic_cr_end.fex", maintype = ITEM_FET, subtype = "MAGIC_CRC_EN_000",}, 97 | {filename = EFEX_DIR .. "usb/magic_de_start.fex", maintype = ITEM_FET, subtype = "MAGIC_DE_START_0",}, 98 | {filename = EFEX_DIR .. "usb/magic_de_end.fex", maintype = ITEM_FET, subtype = "MAGIC_DE_END_000",}, 99 | 100 | ;-->fed文件 101 | {filename = EFEX_DIR .. "usb/fed_nand.axf", maintype = ITEM_FED, subtype = "FED_NAND_0000000",}, 102 | 103 | 104 | ;-------------------------------卡量产部分----------------------------------------; 105 | 106 | ;-->固定不变的PC使用 107 | {filename = EFEX_DIR .. "card/cardtool.fex", maintype = "12345678", subtype = "1234567890cardtl",}, 108 | {filename = EFEX_DIR .. "card/cardscript.fex", maintype = "12345678", subtype = "1234567890script",}, 109 | 110 | ;-->需要烧写到卡上的文件 111 | {filename = INPUT_DIR .. "card_boot0.fex", maintype = "12345678", subtype = "1234567890boot_0",}, 112 | {filename = INPUT_DIR .. "card_boot1.fex", maintype = "12345678", subtype = "1234567890boot_1",}, 113 | {filename = INPUT_DIR .. "mbr.fex", maintype = "12345678", subtype = "1234567890___mbr",}, 114 | {filename = INPUT_DIR .. "dlinfo.fex", maintype = "12345678", subtype = "1234567890dlinfo",}, 115 | 116 | {filename = EFEX_DIR .. "usb/card_update_boot0.axf", maintype = ITEM_FET, subtype = "CARD_UPDATE_BOT0",}, 117 | {filename = EFEX_DIR .. "usb/card_update_boot1.axf", maintype = ITEM_FET, subtype = "CARD_UPDATE_BOT1",}, 118 | {filename = EFEX_DIR .. "usb/fed_card.axf", maintype = ITEM_FED, subtype = "CARD_FED_0000000",}, 119 | {filename = EFEX_DIR .. "usb/card_HW_scan.axf", maintype = ITEM_FET, subtype = "CARD_HW_SCAN_000",}, 120 | {filename = EFEX_DIR .. "usb/aultools.fex", maintype = "UPFLYTLS", subtype = "xxxxxxxxxxxxxxxx",}, 121 | {filename = EFEX_DIR .. "usb/aultls32.fex", maintype = "UPFLTL32", subtype = "xxxxxxxxxxxxxxxx",}, 122 | 123 | ;-------------------------------其他----------------------------------------------; 124 | ;-------------------------------------------maintype与subtype不可改变-------------------------------------------------------; 125 | 126 | ;镜像配置信息 127 | [IMAGE_CFG] 128 | version = 0x100234 ;-->Image的版本 129 | pid = 0x00001234 ;-->产品ID 130 | vid = 0x00008743 ;-->供应商ID 131 | hardwareid = 0x100 ;-->硬件ID bootrom 132 | firmwareid = 0x100 ;-->固件ID bootrom 133 | bootromconfig = "bootrom_071203_00001234.cfg" 134 | rootfsconfig = "rootfs.cfg" 135 | imagename = "image_nand.img" 136 | filelist = FILELIST 137 | -------------------------------------------------------------------------------- /livesuit/default/image_linux.cfg: -------------------------------------------------------------------------------- 1 | ;/**************************************************************************/ 2 | ;2010-06-09 3 | ;Sam 4 | ;image>配置文件内容 5 | ;/**************************************************************************/ 6 | 7 | ;主要类型 8字节字符串 8 | [MAIN_TYPE] 9 | ITEM_COMMON = "COMMON " 10 | ITEM_INFO = "INFO " 11 | ITEM_BOOTROM = "BOOTROM " 12 | ITEM_FES = "FES " 13 | ITEM_FET = "FET " 14 | ITEM_FED = "FED " 15 | ITEM_FEX = "FEX " 16 | ITEM_BOOT = "BOOT " 17 | ITEM_ROOTFSFAT12 = "RFSFAT12" 18 | ITEM_ROOTFSFAT16 = "RFSFAT16" 19 | ITEM_ROOTFSFAT32 = "FFSFAT32" 20 | ITEM_USERFSFAT12 = "UFSFAT12" 21 | ITEM_USERFSFAT16 = "UFSFAT16" 22 | ITEM_USERFSFAT32 = "UFSFAT32" 23 | ITEM_PHOENIX_SCRIPT = "PXSCRIPT" 24 | ITEM_PHOENIX_TOOLS = "PXTOOLS " 25 | ITEM_AUDIO_DSP = "AUDIODSP" 26 | ITEM_VIDEO_DSP = "VIDEODSP" 27 | ITEM_FONT = "FONT " 28 | ITEM_FLASH_DRV = "FLASHDRV" 29 | ITEM_OS_CORE = "OS_CORE " 30 | ITEM_DRIVER = "DRIVER " 31 | ITEM_PIC = "PICTURE " 32 | ITEM_AUDIO = "AUDIO " 33 | ITEM_VIDEO = "VIDEO " 34 | ITEM_APPLICATION = "APP " 35 | 36 | ;子类型格式,供参考,可以另外定义,最大长度必须为16字节 37 | [SUB_TYPE] 38 | SUBTYPEdemo1 = "071228HWSXXXX100" 39 | ;-->071228 2007-12-28 40 | ;-->HWS hardware scan 41 | ;-->XXXX 用户定义 42 | ;-->100 version 1.00 43 | 44 | ;路径定义 45 | [DIR_DEF] 46 | INPUT_DIR="../" 47 | EFEX_DIR="../" 48 | 49 | ;文件列表 50 | [FILELIST] 51 | ;----------------------------------------------------maintype与subtype不可改变----------------------------------------------; 52 | ;-------------------------------公共部分---------------------------------------; 53 | 54 | ;-->固定不变的 55 | {filename = INPUT_DIR .. "sys_config.fex", maintype = ITEM_COMMON, subtype = "SYS_CONFIG000000",}, 56 | {filename = INPUT_DIR .. "sys_config1.fex", maintype = ITEM_COMMON, subtype = "SYS_CONFIG100000",}, 57 | {filename = INPUT_DIR .. "split_xxxx.fex", maintype = ITEM_COMMON, subtype = "SPLIT_0000000000",}, 58 | ;-->bootloader, enviroment, kernel, rootfs 59 | {filename = INPUT_DIR .. "bootloader.fex", maintype = ITEM_ROOTFSFAT16, subtype = "BOOTLOADER_00000",}, 60 | {filename = INPUT_DIR .. "env.fex", maintype = ITEM_ROOTFSFAT16, subtype = "ENVIROMENT_00000",}, 61 | ;{filename = INPUT_DIR .. "boot.fex", maintype = ITEM_ROOTFSFAT16, subtype = "KERNEL_000000000",}, 62 | {filename = INPUT_DIR .. "rootfs.fex", maintype = ITEM_ROOTFSFAT16, subtype = "ROOTFS_000000000",}, 63 | ;-->boot文件 64 | {filename = INPUT_DIR .. "boot0.bin", maintype = ITEM_BOOT, subtype = "BOOT0_0000000000",}, 65 | {filename = INPUT_DIR .. "boot1.bin", maintype = ITEM_BOOT, subtype = "BOOT1_0000000000",}, 66 | 67 | 68 | ;-------------------------------usb下载部分-------------------------------------; 69 | ;-->tools文件 70 | {filename = EFEX_DIR .. "usb/tools.fex", maintype = ITEM_PHOENIX_TOOLS, subtype = "xxxxxxxxxxxxxxxx",}, 71 | 72 | ;-->fes文件 73 | {filename = EFEX_DIR .. "usb/fes_1-1.fex", maintype = ITEM_FES, subtype = "FES_1-1000000000",}, 74 | {filename = EFEX_DIR .. "usb/fes_1-2.fex", maintype = ITEM_FES, subtype = "FES_1-2000000000",}, 75 | {filename = EFEX_DIR .. "usb/fes_2.fex", maintype = ITEM_FES, subtype = "FES_200000000000",}, 76 | {filename = EFEX_DIR .. "usb/fes.fex", maintype = ITEM_FES, subtype = "FES_000000000000",}, 77 | 78 | ;-->fet文件 79 | {filename = EFEX_DIR .. "usb/HW_scan.axf", maintype = ITEM_FET, subtype = "HW_SCAN_00000000",}, 80 | ;{filename = EFEX_DIR .. "usb/HW_init.axf", maintype = ITEM_FET, subtype = "HW_INIT_00000000",}, 81 | ;{filename = EFEX_DIR .. "usb/FW_scan.axf", maintype = ITEM_FET, subtype = "FW_SCAN_00000000",}, 82 | {filename = EFEX_DIR .. "usb/update_boot0.axf", maintype = ITEM_FET, subtype = "UPDATE_BOOT0_000",}, 83 | {filename = EFEX_DIR .. "usb/update_boot1.axf", maintype = ITEM_FET, subtype = "UPDATE_BOOT1_000",}, 84 | {filename = EFEX_DIR .. "usb/fet_restore.axf", maintype = ITEM_FET, subtype = "FET_RESTORE_0000",}, 85 | 86 | {filename = EFEX_DIR .. "usb/magic_cr_start.fex", maintype = ITEM_FET, subtype = "MAGIC_CRC_START_",}, 87 | {filename = EFEX_DIR .. "usb/magic_cr_end.fex", maintype = ITEM_FET, subtype = "MAGIC_CRC_EN_000",}, 88 | {filename = EFEX_DIR .. "usb/magic_de_start.fex", maintype = ITEM_FET, subtype = "MAGIC_DE_START_0",}, 89 | {filename = EFEX_DIR .. "usb/magic_de_end.fex", maintype = ITEM_FET, subtype = "MAGIC_DE_END_000",}, 90 | 91 | ;-->fed文件 92 | {filename = EFEX_DIR .. "usb/fed_nand.axf", maintype = ITEM_FED, subtype = "FED_NAND_0000000",}, 93 | 94 | 95 | ;-------------------------------卡量产部分----------------------------------------; 96 | 97 | ;-->固定不变的PC使用 98 | {filename = EFEX_DIR .. "card/cardtool.fex", maintype = "12345678", subtype = "1234567890cardtl",}, 99 | {filename = EFEX_DIR .. "card/cardscript.fex", maintype = "12345678", subtype = "1234567890script",}, 100 | 101 | ;-->需要烧写到卡上的文件 102 | {filename = INPUT_DIR .. "card_boot0.fex", maintype = "12345678", subtype = "1234567890boot_0",}, 103 | {filename = INPUT_DIR .. "card_boot1.fex", maintype = "12345678", subtype = "1234567890boot_1",}, 104 | {filename = INPUT_DIR .. "mbr.fex", maintype = "12345678", subtype = "1234567890___mbr",}, 105 | {filename = INPUT_DIR .. "dlinfo.fex", maintype = "12345678", subtype = "1234567890dlinfo",}, 106 | 107 | {filename = EFEX_DIR .. "usb/card_update_boot0.axf", maintype = ITEM_FET, subtype = "CARD_UPDATE_BOT0",}, 108 | {filename = EFEX_DIR .. "usb/card_update_boot1.axf", maintype = ITEM_FET, subtype = "CARD_UPDATE_BOT1",}, 109 | {filename = EFEX_DIR .. "usb/fed_card.axf", maintype = ITEM_FED, subtype = "CARD_FED_0000000",}, 110 | {filename = EFEX_DIR .. "usb/card_HW_scan.axf", maintype = ITEM_FET, subtype = "CARD_HW_SCAN_000",}, 111 | {filename = EFEX_DIR .. "usb/aultools.fex", maintype = "UPFLYTLS", subtype = "xxxxxxxxxxxxxxxx",}, 112 | {filename = EFEX_DIR .. "usb/aultls32.fex", maintype = "UPFLTL32", subtype = "xxxxxxxxxxxxxxxx",}, 113 | 114 | ;-------------------------------其他----------------------------------------------; 115 | ;-------------------------------------------maintype与subtype不可改变-------------------------------------------------------; 116 | 117 | ;镜像配置信息 118 | [IMAGE_CFG] 119 | version = 0x100234 ;-->Image的版本 120 | pid = 0x00001234 ;-->产品ID 121 | vid = 0x00008743 ;-->供应商ID 122 | hardwareid = 0x100 ;-->硬件ID bootrom 123 | firmwareid = 0x100 ;-->固件ID bootrom 124 | bootromconfig = "bootrom_071203_00001234.cfg" 125 | rootfsconfig = "rootfs.cfg" 126 | imagename = "image_nand.img" 127 | filelist = FILELIST 128 | -------------------------------------------------------------------------------- /livesuit/default/sys_config_android.fex: -------------------------------------------------------------------------------- 1 | ;--------------------------------------------------------------------------------------------------------- 2 | ; 说明: 脚本中的字符串区分大小写,用户可以修改"="后面的数值,但是不要修改前面的字符串 3 | ;--------------------------------------------------------------------------------------------------------- 4 | 5 | [platform] 6 | chip=0x02000000 7 | pid =0x02000000 8 | sid =0x02000100 9 | bid =0x80 10 | 11 | eraseflag = 1 12 | jtag = 1 13 | 14 | [fex_misc] 15 | restore = 0 16 | 17 | ;------------------------------------------------------------------------------------------ 18 | ; 系统配置 19 | ;------------------------------------------------------------------------------------------ 20 | 21 | 22 | 23 | 24 | ;-------------------------------------------------------------------------------------------------- 25 | ; 固件下载参数配置 26 | ;-------------------------------------------------------------------------------------------------- 27 | ;----------------------------------------------------------------------------------------- 28 | ; 分区配置管理 29 | ;----------------------------------------------------------------------------------------- 30 | ;**************************************************** 31 | ; mbr的大小, 以Kbyte为单位 32 | ;**************************************************** 33 | [mbr] 34 | size = 16384 35 | 36 | ;******************************************************************************************************** 37 | ; 分区配置 38 | ; 39 | ; [part_num] 40 | ; num = 2 ; //有2个分区 41 | ; part0 = partiton0 ; //part0的信息存放在partiton0里 42 | ; parti = partitoni ; //parti的信息存放在partitoni里 43 | ; 44 | ; partition 定义范例: 45 | ; [partition2] ; //第2个分区 46 | ; class_name = DISK ; //设备类名, 如:"DISK"。 47 | ; name = USERFS2 ; //设备节点名. 48 | ; size_hi = 0 ; //分区大小的高32位, 单位: Kbyte. 49 | ; size_lo = 32 ; //分区大小的低32位, 单位: Kbyte. 50 | ; 51 | ; 注:1、name唯一, 不允许同名 52 | ; 2、class_name和name最大12个字符 53 | ; 3、size_hi + size_lo = 0, 表示此分区不存在 54 | ; 4、为了安全和效率考虑,分区大小最好保证为16M字节的整数倍 55 | ;******************************************************************************************************** 56 | [part_num] 57 | num = 9 58 | 59 | ;------------------------------>nanda, known as bootfs before, includes boot.axf u-boot.bin etc... 60 | [partition0] 61 | class_name = DISK 62 | name = bootloader 63 | size_hi = 0 64 | size_lo = 16384 65 | user_type = 0 66 | ro = 0 67 | 68 | ;------------------------------>nandb, enviroment for u-boot 69 | [partition1] 70 | class_name = DISK 71 | name = env 72 | size_hi = 0 73 | size_lo = 16384 74 | user_type = 0 75 | ro = 0 76 | 77 | ;------------------------------>nandc, kernel and ramdisk 78 | [partition2] 79 | class_name = DISK 80 | name = boot 81 | size_hi = 0 82 | size_lo = 32768 83 | user_type = 0 84 | ro = 0 85 | 86 | ;------------------------------>nandd, android real rootfs 87 | [partition3] 88 | class_name = DISK 89 | name = system 90 | size_hi = 0 91 | size_lo = 524288 92 | user_type = 1 93 | ro = 0 94 | 95 | ;------------------------------>nande, user data 96 | [partition4] 97 | class_name = DISK 98 | name = data 99 | size_hi = 0 100 | size_lo = 524288 101 | user_type = 1 102 | ro = 0 103 | 104 | ;------------------------------>nandf, misc 105 | [partition5] 106 | class_name = DISK 107 | name = misc 108 | size_hi = 0 109 | size_lo = 16384 110 | user_type = 0 111 | ro = 0 112 | 113 | ;------------------------------>nandg, for recovery 114 | [partition6] 115 | class_name = DISK 116 | name = recovery 117 | size_hi = 0 118 | size_lo = 32768 119 | user_type = 0 120 | ro = 0 121 | 122 | ;------------------------------>nandh, android app cache 123 | [partition7] 124 | class_name = DISK 125 | name = cache 126 | size_hi = 0 127 | size_lo = 262144 128 | user_type = 1 129 | ro = 0 130 | 131 | ;------------------------------>nandi, data image backup 132 | [partition8] 133 | class_name = DISK 134 | name = databk 135 | size_hi = 0 136 | size_lo = 262144 137 | user_type = 0 138 | ro = 0 139 | 140 | 141 | ;******************************************************************************************************************** 142 | ; 固件包下载位置 : 把某个固件包下载到指定分区, 下载次数最大为7次 143 | ; 144 | ;[downloadi] //固件包0下载位置 145 | ; part_name = SYSDATAFS //分区名 146 | ; pkt_name = ROOTFS_000000000 //固件包名称 147 | ; verify_file = VERIFY_000000000 //校验文件名称 148 | ; 149 | ; 注:1、 downloadi 表示第i次下载固件, download 唯一, 请不要随意修改 150 | ; 2、 part_num 为分区号, 即固件下载的位置 151 | ; 3、 pkt_name 固件包名称. 最大长度为16byte, 且名称固定. 可参考"..\\ePDK\workspace\suni\liveclick\image.cfg" 152 | ; 4、 verify_file 为校验文件名称. 可参考"..\\ePDK\workspace\suni\liveclick\image.cfg" 153 | ; 5、 pkt_name 内容不填, 表示本次下载取消. verify_file内容不填, 表示不需要校验. 154 | ; 155 | ; 如:要把固件包zdisk.img, 下载在到SYSDATAFS分区里。其配置为: 156 | ; [download0] 157 | ; part_name = SYSDATAFS 158 | ; pkt_name = ROOTFS_000000000 159 | ; verify_file = VERIFY_000000000 160 | ;******************************************************************************************************************** 161 | [down_num] 162 | down_num = 6 163 | 164 | [download0] 165 | part_name = bootloader 166 | pkt_name = BOOTLOADER_00000 167 | encrypt = 0 168 | verify_file = VBOOTLOADER_0000 169 | 170 | [download1] 171 | part_name = env 172 | pkt_name = ENVIROMENT_00000 173 | encrypt = 0 174 | verify_file = VENVIROMENT_0000 175 | 176 | [download2] 177 | part_name = boot 178 | pkt_name = BOOT_00000000000 179 | encrypt = 0 180 | verify_file = VBOOT_0000000000 181 | 182 | [download3] 183 | part_name = system 184 | pkt_name = SYSTEM_000000000 185 | encrypt = 0 186 | verify_file = VSYSTEMFS_000000 187 | 188 | [download4] 189 | part_name = recovery 190 | pkt_name = RECOVERY_0000000 191 | encrypt = 0 192 | verify_file = VRECOVERYFS_0000 193 | 194 | [download5] 195 | part_name = UDISK 196 | pkt_name = DISKFS_000000000 197 | encrypt = 0 198 | -------------------------------------------------------------------------------- /livesuit/default/sys_config_linux.fex: -------------------------------------------------------------------------------- 1 | ;--------------------------------------------------------------------------------------------------------- 2 | ; 说明: 脚本中的字符串区分大小写,用户可以修改"="后面的数值,但是不要修改前面的字符串 3 | ;--------------------------------------------------------------------------------------------------------- 4 | 5 | [platform] 6 | chip=0x02000000 7 | pid =0x02000000 8 | sid =0x02000100 9 | bid =0x80 10 | 11 | eraseflag = 0 12 | jtag = 1 13 | 14 | 15 | [fex_misc] 16 | restore = 1 17 | ;-------------------------------------------------------------------------------------------------- 18 | ; 固件下载参数配置 19 | ;-------------------------------------------------------------------------------------------------- 20 | ;----------------------------------------------------------------------------------------- 21 | ; 分区配置管理 22 | ;----------------------------------------------------------------------------------------- 23 | ;**************************************************** 24 | ; mbr的大小, 以Kbyte为单位 25 | ;**************************************************** 26 | [mbr] 27 | size = 1024 28 | 29 | ;******************************************************************************************************** 30 | ; 分区配置 31 | ; 当前分区的个数,默认有rootfs和userfs0两个分区,最大分区个数为7个. 32 | ; 33 | ; [part_num] 34 | ; num = 2 ; //有2个分区 35 | ; part0 = partiton0 ; //part0的信息存放在partiton0里 36 | ; parti = partitoni ; //parti的信息存放在partitoni里 37 | ; 38 | ; partition 定义范例: 39 | ; [partition2] ; //第2个分区 40 | ; class_name = DISK ; //设备类名, 如:"DISK"。 可参考"..\ePDK\includes\emod\sys_dev.h" 41 | ; name = USERFS2 ; //设备节点名. 可参考"..\ePDK\includes\emod\sys_dev.h" 42 | ; size_hi = 0 ; //分区大小的高32位, 单位: Kbyte. 43 | ; size_lo = 32 ; //分区大小的低32位, 单位: Kbyte. 44 | ; 45 | ; 注:1、name唯一, 不允许同名 46 | ; 2、最大分区号为6 47 | ; 3、class_name和name最大12个字符 48 | ; 4、size_hi + size_lo = 0, 表示此分区不存在 49 | ;******************************************************************************************************** 50 | [part_num] 51 | num = 3 52 | 53 | [partition0] 54 | class_name = DISK 55 | name = bootloader 56 | size_hi = 0 57 | size_lo = 65536 58 | user_type = 0 59 | ro = 0 60 | 61 | [partition1] 62 | class_name = DISK 63 | name = env 64 | size_hi = 0 65 | size_lo = 2048 66 | user_type = 0 67 | ro = 0 68 | 69 | [partition2] 70 | class_name = DISK 71 | name = rootfs 72 | size_hi = 0 73 | size_lo = 1524288 74 | user_type = 0 75 | ro = 0 76 | 77 | 78 | ;******************************************************************************************************************** 79 | ; 固件包下载位置 : 把某个固件包下载到指定分区, 下载次数最大为7次 80 | ; 81 | ;[downloadi] //固件包0下载位置 82 | ; part_name = SYSDATAFS //分区名 83 | ; pkt_name = ROOTFS_000000000 //固件包名称 84 | ; verify_file = VERIFY_000000000 //校验文件名称 85 | ; 86 | ; 注:1、 downloadi 表示第i次下载固件, download 唯一, 请不要随意修改 87 | ; 2、 part_num 为分区号, 即固件下载的位置 88 | ; 3、 pkt_name 固件包名称. 最大长度为16byte, 且名称固定. 可参考"..\\ePDK\workspace\suni\liveclick\image.cfg" 89 | ; 4、 verify_file 为校验文件名称. 可参考"..\\ePDK\workspace\suni\liveclick\image.cfg" 90 | ; 5、 pkt_name 内容不填, 表示本次下载取消. verify_file内容不填, 表示不需要校验. 91 | ; 92 | ; 如:要把固件包zdisk.img, 下载在到SYSDATAFS分区里。其配置为: 93 | ; [download0] 94 | ; part_name = SYSDATAFS 95 | ; pkt_name = ROOTFS_000000000 96 | ; verify_file = VERIFY_000000000 97 | ;******************************************************************************************************************** 98 | [down_num] 99 | down_num = 3 100 | 101 | [download0] 102 | part_name = bootloader 103 | pkt_name = BOOTLOADER_00000 104 | encrypt = 0 105 | 106 | [download1] 107 | part_name = env 108 | pkt_name = ENVIROMENT_00000 109 | encrypt = 0 110 | 111 | [download2] 112 | part_name = rootfs 113 | pkt_name = ROOTFS_000000000 114 | encrypt = 0 115 | --------------------------------------------------------------------------------