三星4412開發卡刷android系統

來源:互聯網
上載者:User

三星4412開發卡刷android系統

使用SD卡燒寫cpu核心為三星4412為核心的CortexA9的Android開發版。1.準備一張4G或者是8G的SD卡。2.使用Ubunt12.04下自到的fdisk工具對sd卡進行格式化成(Win95/Fat32)格式。2.1格式是應該需要注意預留100M左右的空間要存放Supportboot.bin,格式化u盤的步驟如下:zshh@zshh-shaohua:~/ARM/mycode/blog$ sudo fdisk -l[sudo] password for zshh: Disk /dev/sda: 1000.2 GB, 1000204886016 bytes255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectorsUnits = 扇區 of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 4096 bytesI/O size (minimum/optimal): 4096 bytes / 4096 bytesDisk identifier: 0x0003101c裝置 啟動      起點          終點     塊數   Id  系統    /dev/sda1   *        2048  1936879615   968438784   83  Linux/dev/sda2      1936881662  1953523711     8321025    5  擴充Partition 2 does not start on physical sector boundary./dev/sda5      1936881664  1953523711     8321024   82  Linux 交換 / Solaris Disk /dev/sdb: 7948 MB, 7948206080 bytes 8 heads, 10 sectors/track, 194048 cylinders, total 15523840 sectors Units = 扇區 of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytes    /dev/sdb1          155238    15523839     7684301    b  W95 FAT32上面是使用fdisk -l 命令查看我的硬碟和隨身碟的資訊。     一:我們需要對u盤裝置進行分區,那麼就應該先將u盤的盤符sdb1,從/media/的掛載點卸載掉。    使用umount /media/*進行卸載。zshh@zshh-shaohua:~/ARM/mycode/blog$ umount /media/2E0D-CD56 zshh@zshh-shaohua:~/ARM/mycode/blog$ 2.2 使用fdisk對隨身碟進行分區。zshh@zshh-shaohua:~/ARM/mycode/blog$ sudo fdisk /dev/sdb命令(輸入 m 擷取協助): d                                                  (注釋:刪除所有分區)Selected partition 1命令(輸入 m 擷取協助): p                                                   (注釋:列印裝置資訊)Disk /dev/sdb: 7948 MB, 7948206080 bytes8 heads, 10 sectors/track, 194048 cylinders, total 15523840 sectorsUnits = 扇區 of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisk identifier: 0x00000000命令(輸入 m 擷取協助): n                                                    (注釋:建立分區)Partition type:   p   primary (0 primary, 0 extended, 4 free)   e   extendedSelect (default p): p                                                    (注釋:建立一個主要磁碟分割)分區號 (1-4,預設為 1): 1                                                    (注釋:指定分區號)起始 sector (2048-15523839,預設為 2048): 204800                            (注釋: 預留100m空間用來放Supportboot.bin)Last sector, +扇區 or +size{K,M,G} (204800-15523839,預設為 15523839):       (注釋: 第一個分區204800開始到15523839結束)將使用預設值 15523839命令(輸入 m 擷取協助): p          (注釋:列印裝置資訊)Disk /dev/sdb: 7948 MB, 7948206080 bytes8 heads, 10 sectors/track, 194048 cylinders, total 15523840 sectorsUnits = 扇區 of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisk identifier: 0x00000000   裝置 啟動      起點          終點     塊數   Id  系統/dev/sdb1          204800    15523839     7659520   83  Linux命令(輸入 m 擷取協助): t      (使用t命令修改分區的類型)Selected partition 1Hex code (type L to list codes): L      (查看分區類型) 0  空              24  NEC DOS         81  Minix / 舊 Linu bf  Solaris         1  FAT12           27  Hidden NTFS Win 82  Linux 交換 / So c1  DRDOS/sec (FAT- 2  XENIX root      39  Plan 9          83  Linux           c4  DRDOS/sec (FAT- 3  XENIX usr       3c  PartitionMagic  84  OS/2 隱藏的 C:  c6  DRDOS/sec (FAT- 4  FAT16 <32M      40  Venix 80286     85  Linux 擴充      c7  Syrinx          5  擴充            41  PPC PReP Boot   86  NTFS 卷集       da  非檔案系統資料  6  FAT16           42  SFS             87  NTFS 卷集       db  CP/M / CTOS / . 7  HPFS/NTFS/exFAT 4d  QNX4.x          88  Linux 純文字    de  Dell 工具       8  AIX             4e  QNX4.x 第2部分  8e  Linux LVM       df  BootIt          9  AIX 可啟動      4f  QNX4.x 第3部分  93  Amoeba          e1  DOS 訪問        a  OS/2 啟動管理器 50  OnTrack DM      94  Amoeba BBT      e3  DOS R/O         b  W95 FAT32       51  OnTrack DM6 Aux 9f  BSD/OS          e4  SpeedStor       c  W95 FAT32 (LBA) 52  CP/M            a0  IBM Thinkpad 休 eb  BeOS fs         e  W95 FAT16 (LBA) 53  OnTrack DM6 Aux a5  FreeBSD         ee  GPT             f  W95 擴充 (LBA)  54  OnTrackDM6      a6  OpenBSD         ef  EFI (FAT-12/16/10  OPUS            55  EZ-Drive        a7  NeXTSTEP        f0  Linux/PA-RISC  11  隱藏的 FAT12    56  Golden Bow      a8  Darwin UFS      f1  SpeedStor      12  Compaq 診斷     5c  Priam Edisk     a9  NetBSD          f4  SpeedStor      14  隱藏的 FAT16 <3 61  SpeedStor       ab  Darwin 啟動     f2  DOS 次要       16  隱藏的 FAT16    63  GNU HURD or Sys af  HFS / HFS+      fb  VMware VMFS    17  隱藏的 HPFS/NTF 64  Novell Netware  b7  BSDI fs         fc  VMware VMKCORE 18  AST 智能睡眠    65  Novell Netware  b8  BSDI swap       fd  Linux raid 自動1b  隱藏的 W95 FAT3 70  DiskSecure 多啟 bb  Boot Wizard 隱  fe  LANstep        1c  隱藏的 W95 FAT3 75  PC/IX           be  Solaris 啟動    ff  BBT            1e  隱藏的 W95 FAT1 80  舊 Minix       Hex code (type L to list codes): b(將分區改成WIN95/FAT32格式)Changed system type of partition 1 to b (W95 FAT32)命令(輸入 m 擷取協助): w                    (注釋:儲存分區,退出).The partition table has been altered!Calling ioctl() to re-read partition table.WARNING: If you have created or modified any DOS 6.xpartitions, please see the fdisk manual page for additionalinformation.Syncing disks.zshh@zshh-shaohua:~/ARM/mycode/blog$ sudo mkfs.vfat /dev/sdb1        (將SD卡格式化為Fat32格式)2.3:將supportboot寫入到sd卡中。zshh@zshh-shaohua:~/ARM/arm資料/exynos4412_lzy1/tools$ sudo ./write4412boot ../../../ARM2/images/Superboot4412.bin /dev/sdb[sudo] password for zshh: start ...........end ...........zshh@zshh-shaohua:~/ARM/arm資料/exynos4412_lzy1/tools$ 2.4:將鏡像拷貝到sd卡中。zshh@zshh-shaohua:~/ARM/ARM2$ cp -r images/ /media/CF6B-CAD2/  將Android鏡像和linux核心copy到u盤的images下。

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.