Giter VIP home page Giter VIP logo

whjwnavy / easyarm_uboot Goto Github PK

View Code? Open in Web Editor NEW
26.0 3.0 10.0 261.07 MB

EasyArm i.MX280a, u-boot-2020.07, linux-5.5.5

Home Page: http://www.wnavy.com

Makefile 1.70% C 95.11% Assembly 1.68% C++ 0.06% Roff 0.17% Shell 0.11% GDB 0.01% Awk 0.01% Python 0.72% PHP 0.05% CSS 0.01% sed 0.01% Tcl 0.01% Batchfile 0.01% XSLT 0.01% Perl 0.30% Lex 0.01% Yacc 0.02% SmPL 0.01% ASL 0.04%
easyarm u-boot uboot imx280 mx28evk

easyarm_uboot's Issues

加载rootfs失败

#!/bin/sh

echo "Please input sdcard device name, (e.g. <sdc>)"
read sdcard

if [[ -z "$sdcard" ]]; then
    echo "Invalid device name!"
    exit 1
fi

fdisk /dev/${sdcard} < fdisk.part
mkfs.fat /dev/${sdcard}2
mkdir /tmp/fat32
mount /dev/${sdcard}2 /tmp/fat32
cp uImage /tmp/fat32/
cp zImage /tmp/fat32/
cp imx28-evk.dtb /tmp/fat32/
umount /tmp/fat32
dd if=u-boot.sd of=/dev/${sdcard}1
dd if=rootfs.full.img of=/dev/${sdcard}3

脚本加一个格式化fat的

还是不能启动。试过格式化为ex4 ex2,还是不能。在uboot里面的part是对的。然后在uboot里面也ls不出rootfs。

zlg@imx280a# mmc dev 0  
switch to partitions #0, OK
mmc0 is current device
zlg@imx280a# mmc part

Partition Map for MMC device 0  --   Partition Type: DOS

Part    Start Sector    Num Sectors     UUID            Type
  1     2048            2048            7e1e25cf-01     53
  2     4096            204800          7e1e25cf-02     0b
  3     208896          15314944        7e1e25cf-03     10
zlg@imx280a# fatls mmc 0:2 
  5300984   uImage
  5300920   zImage
    22122   imx28-evk.dtb

3 file(s), 0 dir(s)

zlg@imx280a# ext4ls mmc 0:3
** Unrecognized filesystem type **

启动错误如下

[    9.878226]  driver: mmcblk
[    9.885376]   b301            1024 mmcblk0p1 7e1e25cf-01
[    9.885398] 
[    9.892329]   b302          102400 mmcblk0p2 7e1e25cf-02
[    9.892345] 
[    9.899501]   b303         7657472 mmcblk0p3 7e1e25cf-03
[    9.899522] 
[    9.906653] No filesystem could mount root, tried: 
[    9.906675]  ext3
[    9.911631]  ext2
[    9.913829]  ext4
[    9.915841]  vfat
[    9.917834] 
[    9.921355] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.