查看: 2621|回复: 2

【电鱼派试用】+烧写debian系统遇到麻烦,求前辈指点 想...

[复制链接]
  • TA的每日心情

    2020-5-31 22:16
  • 签到天数: 290 天

    连续签到: 1 天

    [LV.8]以坛为家I

    发表于 2017-1-10 16:15:52 | 显示全部楼层 |阅读模式
    分享到:
    本帖最后由 gurouhu1 于 2017-1-19 20:40 编辑

    自从前文,想给电鱼派换一个系统后,发现光盘提供的系统不带桌面,于是想给电鱼派装一个带桌面的系统。

    一、下载映象文件
    于是在官网:http://beagleboard.org/latest-images
    下了映象文件:bone-debian-8.6-lxqt-4gb-armhf-2016-11-06-4gb.img.xz

    二、下载解压工具,解压映象文件
    解压工具下载网址: www.7-zip.org
    然后安装,解压映象文件

    三、格式化SD卡

    四、烧写IMG文件到SD卡
    烧写工具下载地址:sourceforge.net/projects/win32diskimager/files/latest/download
    将解压后的img文件烧入SD卡,

    五、启动开发板
    将SD卡插上开发板后,上电,串口无打印,现在很是郁闷,不明白自己的操作步骤对不对。也不知道上面的系统是SD卡版的还是emmc版的。
    1. Recommended Debian Images
    2. Jessie for BeagleBone via microSD card
    3. Debian 8.6 2016-11-06 4GB SD LXQT image for BeagleBone, BeagleBone Black, BeagleBone Black Wireless, BeagleBone Blue, SeeedStudio BeagleBone Green, SeeedStudio BeagleBone Green Wireless, SanCloud BeagleBone Enhanced, element14 BeagleBone Black Industrial, Arrow BeagleBone Black Industrial and Mentorel BeagleBone uSomIQ - more info - bmap - sha256sum: 2a3a984d2aebed58a50a92eab0213eabe5c34399cd1307a72229dc58bdfd32b5
    4. Jessie for SeeedStudio BeagleBone Green Wireless via microSD card
    5. Debian 8.6 2016-11-06 4GB SD SeeedStudio IoT image for SeeedStudio BeagleBone Green Wireless - more info - bmap - sha256sum: 48582b8a1a134679ff324eacc1e0b4af6f2cdabfb56dafb6b932fe11129b404f
    6. Jessie for BeagleBoard-X15 via microSD card
    7. Debian 8.6 2016-11-06 4GB SD LXQT image for BeagleBoard-X15 - more info - bmap - sha256sum: b03799ae3c604d4355ca446cf343e252247e0c2d76fe4f81d0dc004ff02eb232
    8. Jessie for BeagleBoard-xM via microSD card
    9. Debian 8.6 2016-11-06 4GB SD LXQT image for BeagleBoard-xM - more info - bmap - sha256sum: 2267c181d5eac5c009d0c7cb37728a2368f0181d04c959169041598384a5d2fb
    10. To turn these images into eMMC flasher images, edit the /boot/uEnv.txt file on the Linux partition on the microSD card and remove the '#' on the line with 'cmdline=init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh'. Enabling this will cause booting the microSD card to flash the eMMC. Images are no longer provided here for this to avoid people accidentally overwriting their eMMC flash.

    11. For testing, flasher and other Debian images, see elinux.org/Beagleboard:BeagleBoneBlack_Debian and debian.beagleboard.org/images.
    复制代码
    01.png

    (PS)我希望的就是开发板从SD卡启动系统。
    于是,将SD卡插入PC,打开虚拟机,连上后,第一次能看到文件系统,第二次连文件系统都没,压根没挂载上,虚拟机下终端如下:
    1. # fdisk -l

    2. Disk /dev/sda: 21.5 GB, 21474836480 bytes
    3. 255 heads, 63 sectors/track, 2610 cylinders, total 41943040 sectors
    4. Units = sectors of 1 * 512 = 512 bytes
    5. Sector size (logical/physical): 512 bytes / 512 bytes
    6. I/O size (minimum/optimal): 512 bytes / 512 bytes
    7. Disk identifier: 0x000d0b90

    8.    Device Boot      Start         End      Blocks   Id  System
    9. /dev/sda1   *        2048    39845887    19921920   83  Linux
    10. /dev/sda2        39847934    41940991     1046529    5  Extended
    11. /dev/sda5        39847936    41940991     1046528   82  Linux swap /

    12. Solaris

    13. Disk /dev/sdb: 7744 MB, 7744782336 bytes
    14. 239 heads, 62 sectors/track, 1020 cylinders, total 15126528 sectors
    15. Units = sectors of 1 * 512 = 512 bytes
    16. Sector size (logical/physical): 512 bytes / 512 bytes
    17. I/O size (minimum/optimal): 512 bytes / 512 bytes
    18. Disk identifier: 0xb207df52

    19. Disk /dev/sdb doesn't contain a valid partition table
    复制代码
    查看其他的SD卡如下:
    1. # fdisk -l

    2. Disk /dev/sda: 21.5 GB, 21474836480 bytes
    3. 255 heads, 63 sectors/track, 2610 cylinders, total 41943040 sectors
    4. Units = sectors of 1 * 512 = 512 bytes
    5. Sector size (logical/physical): 512 bytes / 512 bytes
    6. I/O size (minimum/optimal): 512 bytes / 512 bytes
    7. Disk identifier: 0x000d0b90

    8.    Device Boot      Start         End      Blocks   Id  System
    9. /dev/sda1   *        2048    39845887    19921920   83  Linux
    10. /dev/sda2        39847934    41940991     1046529    5  Extended
    11. /dev/sda5        39847936    41940991     1046528   82  Linux swap /

    12. Solaris

    13. Disk /dev/sdb: 7948 MB, 7948206080 bytes
    14. 255 heads, 63 sectors/track, 966 cylinders, total 15523840 sectors
    15. Units = sectors of 1 * 512 = 512 bytes
    16. Sector size (logical/physical): 512 bytes / 512 bytes
    17. I/O size (minimum/optimal): 512 bytes / 512 bytes
    18. Disk identifier: 0x00000000

    19.    Device Boot      Start         End      Blocks   Id  System
    20. /dev/sdb1   *          63      144584       72261    c  W95 FAT32 (LBA)
    21. /dev/sdb2          160650    15518789     7679070   83  Linux
    复制代码
    可能自己还是没有明白吧,希望前辈可以指教一下!

    ps:关于Ubuntu不识别SD的问题可能是虚拟机的usb功能没启动,如图启动,即可正常识别SD了。
    01.JPG
    回复

    使用道具 举报

  • TA的每日心情
    擦汗
    2017-10-15 13:21
  • 签到天数: 183 天

    连续签到: 1 天

    [LV.7]常住居民III

    发表于 2017-1-10 19:51:00 | 显示全部楼层
    没用过电鱼派,用什么编译器编程的
    回复 支持 反对

    使用道具 举报

  • TA的每日心情

    2020-5-31 22:16
  • 签到天数: 290 天

    连续签到: 1 天

    [LV.8]以坛为家I

     楼主| 发表于 2017-1-11 09:00:30 | 显示全部楼层
    jackten 发表于 2017-1-10 19:51
    没用过电鱼派,用什么编译器编程的

    光盘里有 arm-linux-gcc-4.6.1-dianyu.tar.gz
    回复 支持 反对

    使用道具 举报

    您需要登录后才可以回帖 注册/登录

    本版积分规则

    关闭

    站长推荐上一条 /2 下一条

    手机版|小黑屋|与非网

    GMT+8, 2024-4-18 23:46 , Processed in 0.129457 second(s), 18 queries , MemCache On.

    ICP经营许可证 苏B2-20140176  苏ICP备14012660号-2   苏州灵动帧格网络科技有限公司 版权所有.

    苏公网安备 32059002001037号

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.