在menuconfig中增加EXT4的支持(没有完成)(分色排版)

来源:互联网 发布:晋江 小说 推荐 知乎 编辑:程序博客网 时间:2024/05/29 14:29

 

menuconfig中增加EXT4的支持(没有完成)

 

 

大文实验室/大文哥

壹捌陆捌零陆捌捌陆捌贰

wb4916 AT qq.com

完成时间:2017/7/15 17:45

版本:V1.0

 

SDK:全志R16+tina v2.1

开发板:SC3817R

 

 

1、在menuconfig中增加EXT4的支持:

rootroot@cm-System-Product-Name:/home/wwt/ubuntu_tinav2.1$ cp .config bak1_orig.config

rootroot@cm-System-Product-Name:/home/wwt/ubuntu_tinav2.1$

rootroot@cm-System-Product-Name:/home/wwt/ubuntu_tinav2.1$ make menuconfig

Target Images  --->

[ ] ramdisk  ----

    *** Root filesystem archives ***

[ ] cpio.gz

[ ] tar.gz

    *** Root filesystem images ***

[ ] ext4  ----

[ ] jffs2

[*] squashfs  --->

    *** Image Options ***

(4) Boot (SD Card) filesystem partition size (in MB)

修改为:

[ ] ramdisk  ----

    *** Root filesystem archives ***

[ ] cpio.gz

[ ] tar.gz

    *** Root filesystem images ***

[*] ext4  --->

[ ] jffs2

[*] squashfs  --->

[*] GZip images (NEW)

    *** Image Options ***

(4) Boot (SD Card) filesystem partition size (in MB)

(48) Root filesystem partition size (in MB) (NEW)

[ ] Include kernel in root filesystem (NEW)  ----

 

 

 

rootroot@cm-System-Product-Name:/home/wwt/ubuntu_tinav2.1$ cp .config bak2+ext4.config

rootroot@cm-System-Product-Name:/home/wwt/ubuntu_tinav2.1$

rootroot@cm-System-Product-Name:/home/wwt/ubuntu_tinav2.1$ make -j8

rootroot@cm-System-Product-Name:/home/wwt/ubuntu_tinav2.1$ pack -d

 

 

 

 

2、编译打包刷机之后:

(刷机之后,在WIN7的命令行窗口中:)

c:\>adb push linaro-ubuntu-server.img /mnt/UDISK

2393 KB/s (943718400 bytes in 385.117s)

 

 

(串口终端:)

[   22.483284] dhd_conf_set_disable_proptx: set disable_proptx 0

[   22.492060] dhd_wlfc_hostreorder_init(): successful bdcv2 tlv signaling, 64

[   22.500413] wl_android_wifi_on: Success

[   22.505873] p2p0: p2p_dev_addr=96:a1:a2:c6:49:d6

[   22.590336] dhd_open: Exit ret=0

[   27.195522] sndpcm_startup,l:1688,pa_vol:40

 

 

 

BusyBox v1.24.1 () built-in shell (ash)

 

 _____  _              __     _

|_   _||_| ___  _ _   |  |   |_| ___  _ _  _ _

  | |   _ |   ||   |  |  |__ | ||   || | ||_'_|

  | |  | || | || _ |  |_____||_||_|_||___||_,_|

  |_|  |_||_|_||_|_|  Tina is Based on OpenWrt!

 ----------------------------------------------

 Tina Linux (Neptune, 57513AA3)

 ----------------------------------------------

root@TinaLinux:/#

root@TinaLinux:/# df -h

Filesystem                Size      Used Available Use% Mounted on

rootfs                 1007.9M     33.3M    923.4M   3% /

/dev/root                46.5M     18.1M     28.4M  39% /rom

tmpfs                   250.0M     20.0K    250.0M   0% /tmp

/dev/by-name/rootfs_data

                       1007.9M     33.3M    923.4M   3% /overlay

overlayfs:/overlay     1007.9M     33.3M    923.4M   3% /

tmpfs                   512.0K         0    512.0K   0% /dev

/dev/mmcblk0p1            1.6G     34.4M      1.5G   2% /mnt/SDCARD

/dev/by-name/UDISK        1.6G     34.4M      1.5G   2% /mnt/UDISK

/dev/by-name/boot         4.0M      3.1M    900.0K  78% /boot

/dev/by-name/boot-res

                          8.0M     39.0K      7.9M   0% /boot-res

root@TinaLinux:/# mount

rootfs on / type rootfs (rw)

/dev/root on /rom type ext4 (rw,noatime)

proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)

sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)

tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)

/dev/by-name/rootfs_data on /overlay type ext4 (rw,relatime,data=ordered)

overlayfs:/overlay on / type overlayfs (rw,noatime,lowerdir=/,upperdir=/overlay)

tmpfs on /dev type tmpfs (rw,nosuid,relatime,size=512k,mode=755)

devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,mode=600)

/dev/mmcblk0p1 on /mnt/SDCARD type ext4 (rw,sync,relatime,data=ordered)

debugfs on /sys/kernel/debug type debugfs (rw,noatime)

/dev/by-name/UDISK on /mnt/UDISK type ext4 (rw,sync,relatime,data=ordered)

/dev/by-name/boot on /boot type vfat (ro,sync,relatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=ascii,shortname=mixed,errors=remount-ro)

/dev/by-name/boot-res on /boot-res type vfat (ro,sync,relatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=ascii,shortname=mixed,errors=remount-ro)

root@TinaLinux:/# cat /proc/partitions

major minor  #blocks  name

 

 179        0    3817472 mmcblk0

 179        1    1675264 mmcblk0p1

 179        2       1024 mmcblk0p2

 179        3          1 mmcblk0p3

 179        5       1024 mmcblk0p5

 179        6       4096 mmcblk0p6

 179        7    1048576 mmcblk0p7

 179        8    1048576 mmcblk0p8

 179        9       1024 mmcblk0p9

 179       10       1024 mmcblk0p10

 179       32       1024 mmcblk0boot1

 179       16       1024 mmcblk0boot0

root@TinaLinux:/#

 

 

 

 

root@TinaLinux:/mnt/UDISK#

root@TinaLinux:/mnt/UDISK#

root@TinaLinux:/mnt/UDISK# dd if=linaro-ubuntu-server.img of=/dev/mmcblk0p7 bs=1

M

900+0 records in

900+0 records out

root@TinaLinux:/mnt/UDISK# reboot

/bin/ash: reboot: not found

root@TinaLinux:/mnt/UDISK# reset

/bin/ash: reset: not found

root@TinaLinux:/mnt/UDISK# ?HELLO! BOOT0 is starting!

boot0 version : 4.2.0

boot0 commit : a38ad2cb703106ee3da4b579497882fdc599b5a9

 

fel_flag = 0x00000000

rtc[0] value = 0x00000000

rtc[1] value = 0x00000000

rtc[2] value = 0x00000000

rtc[3] value = 0x00000000

……

[    2.541404] =========GPS========= :gsp not used in configuration

[    2.548181] ALSA device list:

[    2.551685]   #0: audiocodec

[    2.555722] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B

[    2.566920] EXT4-fs (mmcblk0p7): couldn't mount as ext3 due to feature incompatibilities

[    2.651108] EXT4-fs (mmcblk0p7): couldn't mount as ext2 due to feature incompatibilities

[    2.785331] EXT4-fs (mmcblk0p7): mounted filesystem with ordered data mode. Opts: (null)

[    2.794561] VFS: Mounted root (ext4 filesystem) on device 179:7.

[    2.801604] Freeing init memory: 164K

Mount failed for selinuxfs on /sys/fs/selinux:  No such file or directory

[    3.047895] init: plymouth-upstart-bridge main process (69) terminated with status 1

[    3.056840] init: plymouth-upstart-bridge main process ended, respawning

[    3.099949] init: plymouth-upstart-bridge main process (79) terminated with status 1

[    3.108834] init: plymouth-upstart-bridge main process ended, respawning

[    3.119887] init: ureadahead main process (72) terminated with status 5

[    3.146952] init: plymouth-upstart-bridge main process (83) terminated with status 1

[    3.155926] init: plymouth-upstart-bridge main process ended, respawning

[    4.019583] systemd-udevd[219]: inotify_add_watch(6, /dev/mmcblk0boot1, 10) failed: No such file or directory

 

 

阅读全文
0 0
原创粉丝点击