高清范

百度 论坛搜索
发表于 2019-6-16 14:50 | 显示全部楼层 |阅读模式
本帖最后由 glnxst001 于 2020-3-19 21:20 编辑

EC6108V9(HI3798MV100)刷ubuntu系统,

此系统需用串口刷机(华为的HiTool)


要求:华为悦盒EC6108V9(HI3798MV100)(我只有EC6108V9,其它HI3798MV100芯片的盒子没试过),存储器为EMMC;

此系统没有桌面,可以串口和SSH登录,用户名:root;密码:1234;IP地址192.168.0.252

刷机完成后第一次进入系统建议执行resize2fs/dev/mmcblk0p3自动调整下分区大小,要不系统空间不足,无法安装软件。



注意:

WIFI,USB驱动可能问题;HDMI驱动有问题,安装桌面系统后窗口颜色显示不正常。

其它问题暂时不详,感兴趣的玩友可以自己试下。我现在安装了 Domoticz使用正常

链接:https://pan.baidu.com/s/1V6uzWmecITrFleCEzBDRQA
提取码:m81l


发表于 2019-6-21 13:03 | 显示全部楼层
Press Ctrl+C to stop autoboot

kernel  @ 0 (0 bytes)
ramdisk @ 0 (0 bytes)
page size @ 0 bytes
initrd rd_start = 0,rd_end = 0
Wrong Image Format !!!
fastboot#
运行到这里就停止了
回复 支持 反对

使用道具 举报

发表于 2019-6-21 14:00 | 显示全部楼层
高手,晚上回家试试!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2019-6-22 10:08 | 显示全部楼层
本帖最后由 glnxst001 于 2019-6-22 10:11 编辑
jjwangxu2008 发表于 2019-6-21 13:03
Press Ctrl+C to stop autoboot

kernel  @ 0 (0 bytes)

把你的启动信息贴来看看

这是我的

Bootrom start
Boot from eMMC
Starting fastboot ...


System startup
DDRS
Reg Version:  v1.1.0
Reg Time:     2015/11/10 11:10:52
Reg Name:     hi3798mdmo1d_hi3798mv100_ddr3_2gbyte_8bitx4_4layers_emmc.reg

Jump to DDR


Fastboot 3.3.0 (root@zy-linux) (Mar 23 2019 - 16:24:28)

Fastboot:      Version 3.3.0
Build Date:    Mar 23 2019, 16:25:30
CPU:           Hi3798Mv100
Boot Media:    eMMC
DDR Size:      1GB


MMC/SD controller initialization.
MMC/SD Card:
    MID:         0x11
    Read Block:  512 Bytes
    Write Block: 512 Bytes
    Chip Size:   3776M Bytes (High Capacity)
    Name:        "004GE0"
    Chip Type:   MMC
    Version:     5.0
    Speed:       52000000Hz
    Mode:        DDR50
    Bus Width:   8bit
    Boot Addr:   0 Bytes
Net:   upWarning: failed to set MAC address


Boot Env on eMMC
    Env Offset:          0x00100000
    Env Size:            0x00010000
    Env Range:           0x00010000
ID_WORD have already been locked


SDK Version: HiSTBLinuxV100R005C00SPC041B020_20161028

Reserve Memory
    Start Addr:          0x2AFFE000
    Bound Addr:          0x8D16000
    Free  Addr:          0x2A8FC000
    Alloc Block:  Addr         Size
                  0x2ABFD000   0x400000
                  0x2A8FC000   0x300000

Press Ctrl+C to stop autoboot

MMC read: dev # 0, block # 28672, count 16384 ... 16384 blocks read: OK

88056432 Bytes/s
Wrong Image Format for bootm command
ERROR: can't get kernel image!

MMC read: dev # 0, block # 45056, count 16384 ... 16384 blocks read: OK

87967785 Bytes/s
## Booting kernel from Legacy Image at 01ffffc0 ...
   Image Name:   Linux-3.18.24_s40
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5133024 Bytes = 4.9 MiB
   Load Address: 02000000
   Entry Point:  02000000
   Verifying Checksum ... OK
   XIP Kernel Image ... OK
OK
ATAGS [0x00000100 - 0x00000304], 516Bytes

Starting kernel ...


Booting Linux on physical CPU 0x0
Linux version 3.18.24_s40 (root@zy-linux) (gcc version 4.9.2 20140904 (prerelease) (gcc-4.9.2 + glibc-2.22 (Build by czyong) Wed Mar 9 16:30:48 CST 2016) ) #9 SMP Sat Apr 6 20:04:22 CST 2019
CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
initmrd: found no initmrd.
Machine model: Hisilicon
DSP run memory space at 0x02000000, size: 0x00800000 Bytes.
cma: Reserved 400 MiB at 0x12000000
cma: Reserved 4 MiB at 0x11c00000
Memory policy: Data cache writealloc
PERCPU: Embedded 10 pages/cpu @9159b000 s11200 r8192 d21568 u40960
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 174752
Kernel command line: console=ttyAMA0,115200 root=/dev/mmcblk0p3 rootfstype=ext4 rootwait blkdevparts=mmcblk0:22M(boot),8M(kernel),-(rootfs) mem=688M mmz=ddr,0,0,400M vmalloc=500M
log_buf_len individual max cpu contribution: 4096 bytes
log_buf_len total cpu_extra contributions: 12288 bytes
log_buf_len min size: 16384 bytes
log_buf_len: 32768 bytes
early log buf free: 14656(89%)
PID hash table entries: 4096 (order: 2, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 264076K/704512K available (7547K kernel code, 452K rwdata, 2292K rodata, 466K init, 409K bss, 440436K reserved, 0K highmem)
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    vmalloc : 0xab800000 - 0xff000000   (1336 MB)
    lowmem  : 0x80000000 - 0xab000000   ( 688 MB)
    pkmap   : 0x7fe00000 - 0x80000000   (   2 MB)
    modules : 0x7f000000 - 0x7fe00000   (  14 MB)
      .text : 0x80008000 - 0x809a3fc4   (9840 kB)
      .init : 0x809a4000 - 0x80a18bc0   ( 467 kB)
      .data : 0x80a1a000 - 0x80a8b18c   ( 453 kB)
       .bss : 0x80a8b18c - 0x80af1954   ( 410 kB)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
Hierarchical RCU implementation.
NR_IRQS:352
sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956969942ns
Console: colour dummy device 80x30
Calibrating delay loop... 2383.87 BogoMIPS (lpj=1191936)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
CPU: Testing write buffer coherency: ok
ftrace: allocating 24366 entries in 72 pages
/cpus/cpu@0 missing clock-frequency property
/cpus/cpu@1 missing clock-frequency property
/cpus/cpu@2 missing clock-frequency property
/cpus/cpu@3 missing clock-frequency property
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
Setting up static identity map for 0x6d8dd8 - 0x6d8e30
CPU: hi3798mv100
CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
Brought up 4 CPUs
SMP: Total of 4 processors activated (9572.35 BogoMIPS).
CPU: All CPU(s) started in SVC mode.
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
hw-breakpoint: maximum watchpoint size is 8 bytes.
Serial: AMBA PL011 UART driver
f8b00000.uart: ttyAMA0 at MMIO 0xf8b00000 (irq = 81, base_baud = 0) is a PL011 rev2
console [ttyAMA0] enabled
f8006000.uart: ttyAMA1 at MMIO 0xf8006000 (irq = 82, base_baud = 0) is a PL011 rev2
f8b02000.uart: ttyAMA2 at MMIO 0xf8b02000 (irq = 83, base_baud = 0) is a PL011 rev2
pl061_gpio gpio0: PL061 GPIO chip @0xf8b20000 registered
pl061_gpio gpio1: PL061 GPIO chip @0xf8b21000 registered
pl061_gpio gpio2: PL061 GPIO chip @0xf8b22000 registered
pl061_gpio gpio3: PL061 GPIO chip @0xf8b23000 registered
pl061_gpio gpio4: PL061 GPIO chip @0xf8b24000 registered
pl061_gpio gpio5: PL061 GPIO chip @0xf8004000 registered
pl061_gpio gpio6: PL061 GPIO chip @0xf8b26000 registered
SCSI subsystem initialized
ssp-pl022 f8b1a000.spi: ARM PL022 driver, device ID: 0x00041022
ssp-pl022 f8b1a000.spi: mapped registers from 0xf8b1a000 to f9b1a000
spi_master spi0: will run message pump with realtime priority
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Linux video capture interface: v2.00
Advanced Linux Sound Architecture Driver Initialized.
Bluetooth: Core ver 2.19
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP socket layer initialized
Bluetooth: SCO socket layer initialized
Switched to clocksource clk24M
NET: Registered protocol family 2
TCP established hash table entries: 8192 (order: 3, 32768 bytes)
TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP: reno registered
UDP hash table entries: 512 (order: 2, 16384 bytes)
UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
NetWinder Floating Point Emulator V0.97 (double precision)
CPU PMU: probing PMU on CPU 1
CPU PMU: failed to probe PMU!
CPU PMU: failed to register PMU devices!futex hash table entries: 1024 (order: 4, 65536 bytes)
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
squashfs: version 4.0 (2009/01/31) Phillip Lougher
NFS: Registering the id_resolver key type
Key type id_resolver registered
Key type id_legacy registered
jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
fuse init (API version 7.23)
msgmni has been set to 1323
NET: Registered protocol family 38
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
io scheduler noop registered
io scheduler deadline registered (default)
io scheduler cfq registered
brd: module loaded
loop: module loaded
hinand: registerd new interface driver hinfc610.
nand: No NAND device found
libphy: himii: probed
hieth: attached port 0 PHY 1 to driver Generic PHY
PPP generic driver version 2.4.2
PPP BSD Compression module registered
PPP Deflate Compression module registered
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
usbcore: registered new interface driver cdc_wdm
usbcore: registered new interface driver usb-storage
usbcore: registered new interface driver usbserial
usbcore: registered new interface driver usbserial_generic
usbserial: USB Serial support registered for generic
usbcore: registered new interface driver ftdi_sio
usbserial: USB Serial support registered for FTDI USB Serial Device
usbcore: registered new interface driver option
usbserial: USB Serial support registered for GSM modem (1-port)
usbcore: registered new interface driver pl2303
usbserial: USB Serial support registered for pl2303
mousedev: PS/2 mouse device common for all mice
i2c /dev entries driver
usbcore: registered new interface driver uvcvideo
USB Video Class driver (1.1.1)
sp805-wdt f8a2c000.watchdog: registration successful
usbcore: registered new interface driver btusb
registered new interface driver himciv200
mmc0: BKOPS_EN bit is not set
mmc0: new DDR MMC card at address 0001
mmcblk0: mmc0:0001 004GE0 3.68 GiB
mmcblk0boot0: mmc0:0001 004GE0 partition 1 2.00 MiB
mmcblk0boot1: mmc0:0001 004GE0 partition 2 2.00 MiB
mmcblk0rpmb: mmc0:0001 004GE0 partition 3 512 KiB
mmcblk0: p1(boot) p2(kernel) p3(rootfs)
f9820000.himciv200.SD: eMMC/MMC/SD Device NOT detected!
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
usbcore: registered new interface driver snd-usb-audio
oprofile: no performance counters
oprofile: using timer interrupt.
Netfilter messages via NETLINK v0.30.
nfnl_acct: registering with nfnetlink.
ip_tables: (C) 2000-2006 Netfilter Core Team
arp_tables: (C) 2002 David S. Miller
TCP: cubic registered
NET: Registered protocol family 10
NET: Registered protocol family 17
bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
Bridge firewalling registered
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM ver 1.11
Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Bluetooth: BNEP filters: protocol multicast
Bluetooth: BNEP socket layer initialized
Bluetooth: HIDP (Human Interface Emulation) ver 1.2
Bluetooth: HIDP socket layer initialized
8021q: 802.1Q VLAN Support v1.8
Key type dns_resolver registered
Registering SWP/SWPB emulation handler
ALSA device list:
  No soundcards found.
EXT4-fs (mmcblk0p3): 15 orphan inodes deleted
EXT4-fs (mmcblk0p3): recovery complete
EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
VFS: Mounted root (ext4 filesystem) on device 179:3.
devtmpfs: mounted
Freeing unused kernel memory: 464K (809a4000 - 80a18000)
systemd[1]: System time before build time, advancing clock.
random: systemd urandom read with 62 bits of entropy available
systemd[1]: systemd 229 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN)
systemd[1]: Detected architecture arm.

Welcome to Ubuntu 16.04 LTS!

systemd[1]: Set hostname to <ubuntu-zy>.
systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
systemd[1]: Reached target Swap.
[  OK  ] Reached target Swap.
systemd[1]: Reached target Remote File Systems (Pre).
[  OK  ] Reached target Remote File Systems (Pre).
systemd[1]: Created slice System Slice.
[  OK  ] Created slice System Slice.
systemd[1]: Starting Load Kernel Modules...
         Starting Load Kernel Modules...
systemd[1]: Reached target Encrypted Volumes.
[  OK  ] Reached target Encrypted Volumes.
systemd[1]: Reached target Slices.
[  OK  ] Reached target Slices.
systemd[1]: Created slice system-serial\x2dgetty.slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
systemd[1]: Created slice system-getty.slice.
[  OK  ] Created slice system-getty.slice.
systemd[1]: Mounting POSIX Message Queue File System...
         Mounting POSIX Message Queue File System...
systemd[1]: Mounting Debug File System...
         Mounting Debug File System...
systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
systemd[1]: Starting Journal Service...
         Starting Journal Service...
systemd[1]: Reached target Sockets.
[  OK  ] Reached target Sockets.
systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
systemd[1]: Starting Create Static Device Nodes in /dev...
         Starting Create Static Device Nodes in /dev...
systemd[1]: Reached target Remote File Systems.
[  OK  ] Reached target Remote File Systems.
systemd[1]: Starting Remount Root and Kernel File Systems...
         Starting Remount Root and Kernel File Systems...
systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
systemd[1]: Reached target Paths.
[  OK  ] Reached target Paths.
systemd[1]: Mounted Debug File System.
[  OK  ] Mounted Debug File System.
systemd[1]: Mounted POSIX Message Queue File System.
[  OK  ] Mounted POSIX Message Queue File System.
systemd[1]: Started Journal Service.
[  OK  ] Started Journal Service.
[  OK  ] Started Load Kernel Modules.
[  OK  ] Started Create Static Device Nodes in /dev.
[  OK  ] Started Remount Root and Kernel File Systems.
         Starting Load/Save Random Seed...
[  OK  ] Reached target Local File Systems (Pre).
[  OK  ] Reached target Local File Systems.
         Mounting Configuration File System...
         Starting Apply Kernel Variables...
         Mounting FUSE Control File System...
         Starting Flush Journal to Persistent Storage...
[  OK  ] Mounted FUSE Control File System.
[  OK  ] Mounted Configuration File System.
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Started Flush Journal to Persistent Storage.
         Starting Create Volatile Files and Directories...
         Starting Raise network interfaces...
[  OK  ] Started Create Volatile Files and Directories.
         Starting Network Time Synchronization...
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Started Network Time Synchronization.
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Reached target System Time Synchronized.
[  OK  ] Reached target System Initialization.
[  OK  ] Reached target Basic System.
         Starting getty on tty2-tty6 if dbus and logind are not available...
         Starting LSB: Set the CPU Frequency Scaling governor to "ondemand"...
[  OK  ] Started Daily apt activities.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Timers.
         Starting Permit User Sessions...
[  OK  ] Started Permit User Sessions.
[  OK  ] Started LSB: Set the CPU Frequency Scaling governor to "ondemand".
         Starting Daily apt activities...
[  OK  ] Started Raise network interfaces.
[  OK  ] Reached target Network.
         Starting OpenBSD Secure Shell server...
         Starting /etc/rc.local Compatibility...
[  OK  ] Started getty on tty2-tty6 if dbus and logind are not available.
[  OK  ] Started OpenBSD Secure Shell server.
rc.local[223]: /
rc.local[223]: Not find teecd
[  OK  ] Started Daily apt activities.
sd 0:0:0:0: [sda] No Caching mode page found
sd 0:0:0:0: [sda] Assuming drive cache: write through
         Starting Daily apt activities...
[  OK  ] Started Daily apt activities.
rc.local[223]: 27 Jun 23:56:17 ntpdate[318]: step time server 139.199.215.251 offset 481580.182105 sec
[  OK  ] Started /etc/rc.local Compatibility.
         Starting Daily apt activities...
[  OK  ] Started Getty on tty6.
[  OK  ] Started Getty on tty3.
[  OK  ] Started Getty on tty2.
[  OK  ] Started Getty on tty4.
[  OK  ] Started Getty on ttyAMA0.
[  OK  ] Started Getty on tty1.
[  OK  ] Started Getty on tty5.
[  OK  ] Started Daily apt activities.

Ubuntu 16.04 LTS ubuntu-zy ttyAMA0

ubuntu-zy login:


回复 支持 反对

使用道具 举报

发表于 2019-7-6 11:52 | 显示全部楼层
您能具体讲解一下这刷机包的制作方法吗?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2019-7-7 00:17 | 显示全部楼层
lurejia 发表于 2019-7-6 11:52
您能具体讲解一下这刷机包的制作方法吗?

首先要有海思的源码包,海思的源码包中包含有LINUX源码,重新编译后自带busybox根文件系统。我只是把busybox根文件系统换成了ubuntu的根文件夹。网上教程很多,源码包中也有编译说明。源码包我是在baidu云中找到的。
回复 支持 反对

使用道具 举报

发表于 2019-7-12 12:43 | 显示全部楼层
glnxst001 发表于 2019-7-7 00:17
首先要有海思的源码包,海思的源码包中包含有LINUX源码,重新编译后自带busybox根文件系统。我只是把busy ...

这个fastboot无法启动啊
回复 支持 反对

使用道具 举报

发表于 2019-7-12 12:44 | 显示全部楼层
lurejia 发表于 2019-7-12 12:43
这个fastboot无法启动啊

海思源码只有3.x的,不知道能不能上4.9
回复 支持 反对

使用道具 举报

发表于 2019-7-13 00:03 | 显示全部楼层
楼主,最近有什么最新进展没有?还有,能否TF卡或者优盘启动,搞成双系统。
回复 支持 反对

使用道具 举报

发表于 2019-7-13 00:04 | 显示全部楼层
还有,USB可能有问题,是指那些表现迹象?
回复 支持 反对

使用道具 举报

使用高级回帖 (可批量传图、插入视频等)快速回复

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

本版积分规则   Ctrl + Enter 快速发布  

发帖时请遵守我国法律,网站会将有关你发帖内容、时间以及发帖IP地址等记录保留,只要接到合法请求,即会将信息提供给有关政府机构。
快速回复 返回顶部 返回列表