Use Fenix scripts to build your own ubuntu image


#81

hi, please tell us what you’ve done to manage to build from source, flash to EMMC and boot from EMMC ubooot2015 + kernel 4.9
Tks


#82

well Ill be damned if I can get your script to make anything that works on emmc.

As a test, I build the mainline/mainline/ubu/svr and put it on a TF card. Erased the emmc and booted. all good.

Then tried same script to make a K-4.9/U-2015/ubu/svr and used the upgrade tool to burn it to emmc. total failure.

Then I used one of my old images I made (basically a custom 4.9 with u-boot from your old khadas github burned that to emmc and it booted perfectly fine.

Your script still doesnt work for emmc. (VIM1 / making it on a clean install Ubu18 desktop)

(Image built: VIM1_Ubuntu-xenial_Linux-4.9_server_arm64_EMMC_2018-06-03.img)

GXL:BL1:9ac50e:a1974b;FEAT:ADFC318C;POC:3;RCY:0;EMMC:0;READ:0;0.0;CHK:0;
TE: 112524

BL2 Built : 20:32:17, Sep  8 2017.
gxl g6296b83 - xiaobo.gu@droid12

set vcck to 1120 mv
set vddee to 1000 mv
Board ID = 6
CPU clk: 1200MHz
DQS-corr enabled
DDR scramble enabled
DDR3 chl: Rank0+1 @ 768MHz - PASS
Rank0: 1024MB(auto)-2T-11
Rank1: 1024MB(auto)-2T-11
DataBus test pass!
AddrBus test pass!
-s
Load fip header from eMMC, src: 0x0000c200, des: 0x01400000, size: 0x00004000
New fip structure!
Load bl30 from eMMC, src: 0x00010200, des: 0x01100000, size: 0x0000d600
Load bl31 from eMMC, src: 0x00020200, des: 0x05100000, size: 0x0002c600
Load bl33 from eMMC, src: 0x00050200, des: 0x01000000, size: 0x00066a00
NOTICE:  BL3-1: v1.0(release):a625749
NOTICE:  BL3-1: Built : 11:25:15, Aug 25 2017
[BL31]: GXL CPU setup!
NOTICE:  BL31: BL33 decompress pass
mpu_config_enable:ok
[Image: gxl_v1.1.3243-377db0f 2017-09-07 11:28:58 qiufang.dai@droid07]
OPS=0x82
2e 1 65 d7 a2 ac 93 d5 a9 95 3a 48 [0.339172 Inits done]
secure task start!
high task start!
low task start!
ERROR:   Error initializing runtime service opteed_fast


U-Boot 2015.01 (Jun 02 2018 - 21:48:34)

DRAM:  2 GiB
Relocation Offset is: 76eae000
register usb cfg[0][1] = 0000000077f56a18
[CANVAS]canvas init
boot_device_flag : 1
Nand PHY Ver:1.01.001.0006 (c) 2013 Amlogic Inc.
init bus_cycle=6, bus_timing=7, system=5.0ns
reset failed
get_chip_type and ret:fffffffe
get_chip_type and ret:fffffffe
chip detect failed and ret:fffffffe
nandphy_init failed and ret=0xfffffff1
MMC:   aml_priv->desc_buf = 0x0000000073eae6b0
aml_priv->desc_buf = 0x0000000073eb09d0
SDIO Port B: 0, SDIO Port C: 1
emmc/sd response timeout, cmd8, status=0x1ff2800
emmc/sd response timeout, cmd55, status=0x1ff2800
init_part() 293: PART_TYPE_AML
[mmc_init] mmc init success
dtb magic edfe0dd0
start dts,buffer=0000000073eb3200,dt_addr=0000000073eb3200
parts: 3
00:      logo   0000000002000000 1
01:   ramdisk   0000000002000000 1
02:    rootfs   ffffffffffffffff 4
init_part() 293: PART_TYPE_AML
eMMC/TSD partition table have been checked OK!
check pattern success
mmc env offset: 0x6c00000
In:    serial
Out:   serial
Err:   serial
## defenv_reserve
Saving Environment to aml-storage...
mmc env offset: 0x6c00000
Writing to MMC(1)... done
reboot_mode=cold_boot
[store]To run cmd[emmc dtb_read 0x1000000 0x40000]
_verify_dtb_checksum()-909: calc 62d75624, store 62d75624
_verify_dtb_checksum()-909: calc 62d75624, store 62d75624
dtb_read()-1031: total valid 2
dtb_read()-1098: do nothing
vpu: clk_level in dts: 7
vpu: set clk: 666667000Hz, readback: 666660000Hz(0x300)
vpu: vpu_clk_gate_init_off
vpp: vpp_init
hpd_state=0
cvbs performance type = 6, table = 0
Net:   dwmac.c9410000amlkey_init() enter!
[EFUSE_MSG]keynum is 4
[BL31]: tee size: 0

upgrade_step=2
[OSD]load fb addr from dts
[OSD]fb_addr for logo: 0x7e000000
[OSD]load fb addr from dts
[OSD]fb_addr for logo: 0x7e000000
[CANVAS]addr=0x7e000000 width=3840, height=2160
amlkey_init() enter!
amlkey_init() 71: already init!
[EFUSE_MSG]keynum is 4
[BL31]: tee size: 0
[KM]Error:f[key_manage_query_size]L507:key[usid] not programed yet
[KM]Error:f[key_manage_query_size]L507:key[mac] not programed yet
[KM]Error:f[key_manage_query_size]L507:key[deviceid] not programed yet
saradc - saradc sub-system

Usage:
saradc saradc open <channel>            - open a SARADC channel
saradc close    - close the SARADC
saradc getval   - get the value in current channel
saradc get_in_range <min> <max> - return 0 if current value in the range of current channel

gpio: pin GPIOAO_2 (gpio 102) value is 1
Product checking: pass!
Hit Enter or space or Ctrl+C key to stop autoboot -- :  0
card out
emmc/sd response timeout, cmd8, status=0x1ff2800
emmc/sd response timeout, cmd55, status=0x1ff2800
emmc/sd response timeout, cmd1, status=0x1ff2800
** Bad device mmc 0 **
cfgload: fatload: no boot.ini or empty file
** File not found /boot/boot.ini **
cfgload: ext4load: no boot.ini or empty file
** File not found zImage **
** File not found uInitrd **
** File not found dtb.img **
[rsvmem] get fdtaddr NULL!
rsvmem - reserve memory

Usage:
rsvmem check                   - check reserved memory
rsvmem dump                    - dump reserved memory

rsvmem check failed
Bad Linux ARM64 Image magic!
InUsbBurn
[MSG]sof
Set Addr 1
Get DT cfg
Get DT cfg
Get DT cfg
set CFG
Get DT cfg
Get DT cfg


#83

It’s strange, thoes links are missing. Can you provide the full build log?

Have you ever tried on Ubuntu 16.04? I only test on Ubuntu 16.04, I’m not sure whether it works on Ubuntu 18.04.

Can you try to enter u-boot command line and boot kernel manually?

kvim# ext4load mmc 1:5 1080000 /boot/zImage
kvim# ext4load mmc 1:5 10000000 /boot/uInitrd
kvim# ext4load mmc 1:5 20000000 /boot/dtb/kvim_linux.dtb
kvim# booti 1080000 10000000 20000000

#84

I just followed instructions under ubuntu 16.04


#85

OK, just finished building uboot 2015 and Debian stretch server on my Ubuntu 17.10 Linux atom x7 tablet, I will report later about flashing and booting my firmware…
for the info, I used commit 51792df of https://github.com/khadas/fenix


#86

I used this config:

PARAMETERS*
board: VIM1
linux version: 4.9
uboot version: 2015.01
distribution: Debian
distribution release: stretch
distribution type: server
distribution architecture: arm64
install type: EMMC
uboot configuration: kvim_defconfig
linux dtb: arch/arm64/boot/dts/amlogic/kvim_linux.dtb
uboot git branch: khadas-vim-v2015.01
linux git branch: khadas-vim-4.9.y
root directory: /home/raxy/project/khadas/fenix
image directory: /home/raxy/project/khadas/fenix/build/images
image file name: VIM1_Debian-stretch_Linux-4.9_server_arm64_EMMC_2018-06-02.img

Once the resulting firmware is flashed on my VIM1, it just miserably bootloops with these traces in the serial console…

reboot_mode=normal
[store]To run cmd[emmc dtb_read 0x1000000 0x40000]
_verify_dtb_checksum()-909: calc 7a8e8f46, store 7a8e8f46
_verify_dtb_checksum()-909: calc 7a8e8f46, store 7a8e8f46
dtb_read()-1031: total valid 2
dtb_read()-1098: do nothing
vpu: clk_level in dts: 7
vpu: set clk: 666667000Hz, readback: 666660000Hz(0x300)
vpu: vpu_clk_gate_init_off
vpp: vpp_init
hpd_state=0
cvbs performance type = 6, table = 0
Net:   dwmac.c9410000amlkey_init() enter!
[EFUSE_MSG]keynum is 4
[BL31]: tee size: 0

upgrade_step=2
[OSD]load fb addr from dts
[OSD]fb_addr for logo: 0x7e000000
[OSD]load fb addr from dts
[OSD]fb_addr for logo: 0x7e000000
[CANVAS]addr=0x7e000000 width=3840, height=2160
amlkey_init() enter!
amlkey_init() 71: already init!
[EFUSE_MSG]keynum is 4
[BL31]: tee size: 0
[KM]Error:f[key_manage_query_size]L507:key[usid] not programed yet
[KM]Error:f[key_manage_query_size]L507:key[mac] not programed yet
[KM]Error:f[key_manage_query_size]L507:key[deviceid] not programed yet
saradc - saradc sub-system

Usage:
saradc saradc open <channel>            - open a SARADC channel
saradc close    - close the SARADC
saradc getval   - get the value in current channel
saradc get_in_range <min> <max> - return 0 if current value in the range of current channel

gpio: pin GPIOAO_2 (gpio 102) value is 1
Product checking: pass!
Hit Enter or space or Ctrl+C key to stop autoboot -- :  0 
card out
emmc/sd response timeout, cmd8, status=0x1ff2800
emmc/sd response timeout, cmd55, status=0x1ff2800
emmc/sd response timeout, cmd1, status=0x1ff2800
** Bad device mmc 0 **
cfgload: fatload: no boot.ini or empty file
** File not found /boot/boot.ini **
cfgload: ext4load: no boot.ini or empty file
** File not found zImage **
** File not found uInitrd **
** File not found dtb.img **
[rsvmem] get fdtaddr NULL!
rsvmem - reserve memory

Usage:
rsvmem check                   - check reserved memory
rsvmem dump                    - dump reserved memory

rsvmem check failed
Bad Linux ARM64 Image magic!
InUsbBurn
[MSG]sof
Set Addr 11
Get DT cfg
Get DT cfg
set CFG

please tell us what you used.


#87

Nihao

kvim#ext4load mmc 1:5 1080000 /boot/zImage
** File not found /boot/zImage **
kvim#ext4load mmc 1:5 10000000 /boot/uInitrd
** File not found /boot/uInitrd **

Image was built apparently with success on ubuntu 17.10 and also successfully flashed from ubuntu 17.10

My end of build log is here https://anotepad.com/notes/st4ixq


#88

kvim#ext4load mmc 1:5 1080000 /boot/zImage
** File not found /boot/zImage **
kvim#ext4load mmc 1:5 10000000 /boot/uInitrd
** File not found /boot/uInitrd **
kvim#ext4load mmc 1:5 20000000 /boot/dtb/kvim_linux.dtb
** File not found /boot/dtb/kvim_linux.dtb **
kvim#

I dont have a Ubu16 at hand right this minute. Once Im done with other work, Ill convert Ubu18 back.

Otherwise someone could also install Ubu18 and test. Lets face it, it is the new LTS so is has to be supported! (Thats why I am on it, getting other things up to par).


#89

Hi ravelo & freeasinbeer,

It seems that you all use Ubuntu 17.10 and Ubuntu 18.04, but I don’t tried yet, maybe something goes wrong.

And I’ll try to run Fenix on Ubuntu 17.10 or Ubuntu 18.04 next week. I’ll feedback here.

Thanks.


#90

Check the availability and partition numbers in the eMMC.

mmc 1(0):5(0\1\2…)


#91

As i do not have aany ubuntu 16.04 avail for building,
I tried on a 14.04 …

raxy@bodhi-giada:~/project/fenix$ lsb_release -a 
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.04.5 LTS
Release:        14.04
Codename:       trusty

and It failed for some other reasons…

raxy@bodhi-giada:~/project/fenix$ make
./scripts/create_image.sh
***********************PARAMETERS************************
board:                         VIM1
linux version:                 4.9
uboot version:                 2015.01
distribution:                  Debian
distribution release:          stretch
distribution type:             server
distribution architecture:     arm64
install type:                  EMMC
uboot configuration:           kvim_defconfig
linux dtb:                     arch/arm64/boot/dts/amlogic/kvim_linux.dtb
uboot git branch:              khadas-vim-v2015.01
linux git branch:              khadas-vim-4.9.y
root directory:                /home/raxy/project/fenix
image directory:               /home/raxy/project/fenix/build/images
image file name:               VIM1_Debian-stretch_Linux-4.9_server_arm64_EMMC_2018-06-03.img
*********************************************************
Info: Installing build dependencies
Info: Requires root privileges, please enter your passowrd!
[sudo] password for raxy: 
Hit http://ppa.launchpad.net trusty InRelease
Get:1 http://repo.mosquitto.org jessie InRelease [3 884 B]                     
Hit http://deb.opera.com stable InRelease                                      
..snip..
Hit http://us.archive.ubuntu.com trusty/multiverse Translation-en
Hit http://us.archive.ubuntu.com trusty/restricted Translation-en
Hit http://us.archive.ubuntu.com trusty/universe Translation-en
Ign http://us.archive.ubuntu.com trusty/main Translation-en_US                 
Ign http://us.archive.ubuntu.com trusty/multiverse Translation-en_US           
Ign http://us.archive.ubuntu.com trusty/restricted Translation-en_US           
Ign http://us.archive.ubuntu.com trusty/universe Translation-en_US             
Fetched 3 884 B in 7s (496 B/s)                                                
Reading package lists... Done
W: GPG error: http://repo.mosquitto.org jessie InRelease: The following signatures were invalid: KEYEXPIRED 1515017477 KEYEXPIRED 1515017477 KEYEXPIRED 1515017477
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package aptly
E: Unable to locate package systemd-container
make: *** [all] Error 100

#92

printenv

kvim#printenv
EnableSelinux=permissive
active_slot=_a
baudrate=115200
boot_part=boot
bootargs=root=LABEL=ROOTFS rootflags=data=writeback rw console=ttyS0,115200n8 console=tty0 no_console_suspend consoleblank=0 fsck.repair=yes net.ifnames=0 logo=osd1,loaded,0x3d800000,576cvbs maxcpus=4 vout=576cvbs,enable hdmimode=1080p60hz cvbsmode=576cvbs hdmitx= cvbsdrv=0 jtag=disable
bootcmd=run storeboot
bootdelay=1
bootup_offset=0x10d9a70
bootup_size=0x17bb48
cmdline_keys=if keyman init 0x1234; then if keyman read usid ${loadaddr} str; then setenv bootargs ${bootargs} androidboot.serialno=${usid};setenv serial ${usid};fi;if keyman read mac ${loadaddr} str; then setenv bootargs ${bootargs} mac=${mac} androidboot.mac=${mac};fi;if keyman read deviceid ${loadaddr} str; then setenv bootargs ${bootargs} androidboot.deviceid=${deviceid};fi;fi;
combine_key=saradc open 0;if saradc get_in_range 0x0 0x1f; then echo Detect function key;if gpio input GPIOAO_2; then echo Detect combine keys;store init 3; fi;fi;
cvbs_drv=0
cvbsmode=576cvbs
display_bpp=16
display_color_bg=0
display_color_fg=0xffff
display_color_index=16
display_height=576
display_layer=osd1
display_width=720
dtb_mem_addr=0x1000000
ethact=dwmac.c9410000
ethaddr=02:07:20:79:6c:0f
fb_addr=0x3d800000
fb_height=1080
fb_width=1920
fdt_high=0x20000000
firstboot=1
gatewayip=10.18.9.1
hdmimode=1080p60hz
hostname=KVim
init_display=osd open;osd clear;imgread pic logo bootup $loadaddr;bmp display $bootup_offset;bmp scale
initargs=root=LABEL=ROOTFS rootflags=data=writeback rw console=ttyS0,115200n8 console=tty0 no_console_suspend consoleblank=0 fsck.repair=yes net.ifnames=0
ipaddr=10.18.9.97
jtag=disable
loadaddr=1080000
maxcpus=4
netmask=255.255.255.0
outputmode=576cvbs
preboot=run upgrade_check;run init_display;run storeargs;run combine_key;run upgrade_key;run vim_check;run switch_bootmode;
reboot_mode=cold_boot
recovery_from_flash=setenv bootargs ${bootargs} aml_dt=${aml_dt} recovery_part={recovery_part} recovery_offset={recovery_offset};if itest ${upgrade_step} == 3; then if ext4load mmc 1:2 ${dtb_mem_addr} /recovery/dtb.img; then echo cache dtb.img loaded; fi;if ext4load mmc 1:2 ${loadaddr} /recovery/recovery.img; then echo cache recovery.img loaded; wipeisb; bootm ${loadaddr}; fi;else fi;if imgread kernel ${recovery_part} ${loadaddr} ${recovery_offset}; then wipeisb; bootm ${loadaddr}; fi;
recovery_from_sdcard=setenv bootargs ${bootargs} aml_dt=${aml_dt} recovery_part={recovery_part} recovery_offset={recovery_offset};if fatload mmc 0 ${loadaddr} aml_autoscript; then autoscr ${loadaddr}; fi;if fatload mmc 0 ${loadaddr} recovery.img; then if fatload mmc 0 ${dtb_mem_addr} dtb.img; then echo sd dtb.img loaded; fi;wipeisb; bootm ${loadaddr};fi;
recovery_from_udisk=setenv bootargs ${bootargs} aml_dt=${aml_dt} recovery_part={recovery_part} recovery_offset={recovery_offset};if fatload usb 0 ${loadaddr} aml_autoscript; then autoscr ${loadaddr}; fi;if fatload usb 0 ${loadaddr} recovery.img; then if fatload usb 0 ${dtb_mem_addr} dtb.img; then echo udisk dtb.img loaded; fi;wipeisb; bootm ${loadaddr};fi;
recovery_offset=0
recovery_part=recovery
saradc_val=0x1cf
sdc_burning=sdc_burn ${sdcburncfg}
sdcburncfg=aml_sdc_burn.ini
serverip=10.18.9.113
storeargs=setenv bootargs ${initargs} logo=${display_layer},loaded,${fb_addr},${outputmode} maxcpus=${maxcpus} vout=${outputmode},enable hdmimode=${hdmimode} cvbsmode=${cvbsmode} hdmitx=${cecconfig} cvbsdrv=${cvbs_drv} jtag=${jtag}; run cmdline_keys;
storeboot=cfgload;ext4load mmc 1:5 1080000 zImage;ext4load mmc 1:5 10000000 uInitrd;ext4load mmc 1:5 20000000 dtb.img;booti 1080000 10000000 20000000;run update;
switch_bootmode=get_rebootmode;if test ${reboot_mode} = factory_reset; then run recovery_from_flash;else if test ${reboot_mode} = update; then run update;else if test ${reboot_mode} = cold_boot; then else if test ${reboot_mode} = fastboot; then fastboot;fi;fi;fi;fi;
try_auto_burn=update 700 750;
update=run usb_burning; run sdc_burning; if mmcinfo; then run recovery_from_sdcard;fi;if usb start 0; then run recovery_from_udisk;fi;run recovery_from_flash;
upgrade_check=echo upgrade_step=${upgrade_step}; if itest ${upgrade_step} == 3; then run init_display; run storeargs; run update;else fi;
upgrade_key=if gpio input GPIOAO_2; then echo detect upgrade key; sleep 3;if gpio input GPIOAO_2; then run update; fi;fi;
upgrade_step=2
usb_burning=update 1000
vim_check=saradc open 1;if saradc get_in_range 0x1a0 0x220; then echo Product checking: pass!;else if saradc get_in_range 0x0 0x1cf; then echo Product checking: fail!; sleep 5; reboot;fi;fi;
wipe_cache=successful
wipe_data=successful

Environment size: 4736/65532 bytes

amlmmc list

kvim#amlmmc list
SDIO Port B: 0
SDIO Port C: 1

amlmmc part 1

kvim#amlmmc part 1

Partition Map for MMC device 1  --   Partition Type: AML

Part   Start     Sect x Size Type  name
 00 0 8192    512 U-Boot bootloader
 01 73728 131072    512 U-Boot reserved
 02 221184 16384    512 U-Boot env
 03 253952 65536    512 U-Boot logo
 04 335872 65536    512 U-Boot ramdisk
 05 417792 30117888    512 U-Boot rootfs
** Partition 6 not found on device 1 **

(part command seems to be missing from this u build ?!)

ext4ls mmc 1:5

kvim#ext4ls mmc 1:5
<DIR>       4096 .
<DIR>       4096 ..
<SYM>         24 dtb.img
<SYM>         13 uInitrd
<SYM>         12 zImage
<DIR>          0 bin
<DIR>          0 boot
<DIR>       4096 dev
<DIR>       4096 etc
<DIR>          0 home
<DIR>          0 lib
<DIR>       4096 media
<DIR>       4096 mnt
<DIR>          0 opt
<DIR>          0 proc
<DIR>       4096 root
<DIR>       4096 run
<DIR>          0 sbin
<DIR>          0 srv
<DIR>       4096 sys
<DIR>       4096 tmp
<DIR>          0 usr
<DIR>          0 var
kvim#ext4ls mmc 1:5 /boot
kvim#

So nothing in /boot and it looks like the /zImage etc are all symlinks.

Just a test:

kvim#ext4ls mmc 1:5 /tmp
<DIR>       4096 .
<DIR>       4096 ..

So /boot looks proper empty (not even . or …)


#93

Hi ravelo,

Same error as me, Ubuntu 14.04 is not supported.


#94

Try two options

  1. manually add files (zImage dtb.img uInitrd) to the /boot directory …
  2. add real files to the root instead of links and change the script “boot.ini” (replace /boot/zImage … on /zImage …).

#95

Perhaps some of the other directories are empty.


#96

yes. Whole thing looks borked actually.

kvim#ext4ls mmc 1:5 /
<DIR>       4096 .
<DIR>       4096 ..
<SYM>         24 dtb.img
<SYM>         13 uInitrd
<SYM>         12 zImage
<DIR>          0 bin
<DIR>          0 boot
<DIR>       4096 dev
<DIR>       4096 etc
<DIR>          0 home
<DIR>          0 lib
<DIR>       4096 media
<DIR>       4096 mnt
<DIR>          0 opt
<DIR>          0 proc
<DIR>       4096 root
<DIR>       4096 run
<DIR>          0 sbin
<DIR>          0 srv
<DIR>       4096 sys
<DIR>       4096 tmp
<DIR>          0 usr
<DIR>          0 var
kvim#ext4ls mmc 1:5 /bin
kvim#ext4ls mmc 1:5 /boot
kvim#ext4ls mmc 1:5 /lib
kvim#ext4ls mmc 1:5 /home
kvim#ext4ls mmc 1:5 /root
<DIR>          0 .
<DIR>       4096 ..
<DIR>       4096 khadas
kvim#ext4ls mmc 1:5 /etc
<DIR>          0 .
<DIR>       4096 ..
<SYM>          0 dtb
<SYM>          0 uInitrd
<SYM>      98377 zImage
<DIR>          0 dtb-4.9.40
<DIR>          0 extlinux
               0 System.map-4.9.40
               0 config-4.9.40
               0 fan.sh
               0 hdmi.sh
               0 initrd.img-4.9.40
               0 uInitrd-4.9.40
               0 vmlinuz-4.9.40
kvim#
kvim#ext4ls mmc 1:5 /run
<DIR>          0 .
<DIR>       4096 ..
<SYM>         21 cpp
<SYM>         28 ld-linux-aarch64.so.1
<SYM>         30 ld-linux-armhf.so.3
<DIR>      12288 aarch64-linux-gnu
<DIR>       4096 arm-linux-gnueabihf
<DIR>       4096 bridge-utils
<DIR>       4096 crda
<DIR>      12288 firmware
<DIR>       4096 hdparm
<DIR>       4096 ifupdown
<DIR>       4096 init
<DIR>       4096 lsb
<DIR>       4096 modprobe.d
<DIR>       4096 modules
<DIR>       4096 resolvconf
<DIR>       4096 systemd
<DIR>       4096 terminfo
<DIR>       4096 udev
<DIR>       4096 xtables
          144064 klibc-5uNI_LgX8YZXYxCVbwZxLm7n31Y.so
kvim#ext4ls mmc 1:5 /dev
<DIR>          0 .
<DIR>       4096 ..
<SYM>          5 btrfsck
<SYM>          6 bzcmp
<SYM>          6 bzegrep
<SYM>          6 bzfgrep
<SYM>          6 bzless
<SYM>          8 dnsdomainname
<SYM>          8 domainname
<SYM>          8 lessfile
<SYM>          4 lsmod
<SYM>         20 mt
<SYM>         20 nc
<SYM>         24 netcat
<SYM>          8 nisdomainname
<SYM>          6 open
<SYM>         14 pidof
<SYM>          4 rbash
<SYM>          4 rnano
<SYM>          4 sh
<SYM>          4 sh.distrib
<SYM>         20 systemd
<SYM>          8 ypdomainname
          479776 btrfs
          929840 bash
          224680 btrfs-map-logical
          224680 btrfs-calc-size
          249488 btrfs-convert
          224664 btrfs-debug-tree
          228760 btrfs-find-root
          245328 btrfs-image
           31176 bunzip2
            1297 bzmore
          228768 btrfs-select-super
          229024 btrfs-show-super
          220568 btrfs-zero-log
          228760 btrfstune
            2140 bzdiff
            4877 bzexe
            3642 bzgrep
           31176 bzip2
           31176 bzcat
           10424 bzip2recover
           51896 chgrp
           43704 cat
            6240 con2fbmap
           47736 chmod
           56008 chown
           10384 chvt
           56376 dmesg
          126264 cp
          120712 cpio
          149864 dash
           60080 date
           68368 dd
           89528 df
          114072 dir
           10400 fgconsole
           86072 dumpkeys
           27112 echo
              28 egrep
           23008 false
           35160 fbset
            1185 fsck.btrfs
              28 fgrep
           49392 findmnt
           30720 fusermount
           31768 fuser
            5927 gzexe
          182456 grep
          196704 hciconfig
           85568 gzip
          462408 journalctl
           14640 hostname
          351200 ip
           96872 lowntfs-3g
           10384 kbd_mode
           22992 kill
          130016 kmod
          158112 less
           10176 lessecho
           19712 lesskey
            7764 lesspipe
           47776 ln
          115200 loadkeys
           48024 login
          396904 loginctl
           73040 lsblk
          114072 ls
          245240 mkfs.btrfs
           64384 mkdir
            4409 modeline2fb
           56120 mknod
           35440 mktemp
           40000 mount
           35520 more
           10232 ntfs-3g.probe
           14616 mountpoint
           60312 mt-gnu
          109824 mv
          196040 nano
           27056 nc.openbsd
          110896 netstat
          723560 networkctl
          125576 ntfs-3g
           40304 ping6
           39840 ping
           67528 ntfs-3g.secaudit
           18352 ntfs-3g.usermap
           26648 ntfscat
           30744 ntfscluster
           30744 ntfscmp
           30752 ntfsfallocate
           39040 ntfsfix
           55336 ntfsinfo
           31824 ntfsls
           30744 ntfsmove
           34776 ntfstruncate
           43568 ntfswipe
           18832 openvt
           35360 readlink
           89064 ps
           27208 pwd
           35368 rmdir
           51880 rm
           68040 systemd-ask-password
           19136 run-parts
           65000 sed
           39664 setfont
           24080 setserial
           30875 setupcon
           27136 sleep
          103296 ss
           64112 stty
           40016 su
           27152 sync
          595032 systemctl
           68024 systemd-machine-id-setup
           68040 systemd-escape
           68184 systemd-hwdb
          265736 systemd-inhibit
           10272 tempfile
          334096 tar
           68016 systemd-notify
          133816 systemd-tmpfiles
           22992 tailf
          461504 udevadm
           23008 true
           68032 systemd-tty-ask-password-agent
           56040 touch
           27128 wdctl
          114072 vdir
           14256 ulockmgr_server
           27456 umount
           27168 uname
            2301 uncompress
            2762 unicode_start
            2301 gunzip
             946 which
           27280 whiptail
            1937 zcat
            1777 zcmp
            5764 zdiff
             140 zegrep
             140 zfgrep
            2131 zforce
            5938 zgrep
            2037 zless
            1910 zmore
            5047 znew
kvim#

#97

I just made a ubu16 virtual machine, cloned fenix and built 2015/ubu16/server/EMMC. This worked fine (as expected).

We have problems with building from source using Ubu18 (and by the sound of it Ubu17) as the compiling machine.

Note, the problem only appears to be in EMMC builds. I used Ubu18 machine to compile a mainline/mainline/Ubu16/server (SD) and it builds and boots fine (full testing was not done so there may have been other problems).


#98

Hi freeasinbeer,

Yes, conformed, I have the same issue with Ubuntu 18.04, I need to find out the issue…


#99

Tell us if you need help , @numbqq


#100

Hi @freeasinbeer & @ravelo,

I update the Fenix repo, can you have a try?

It works on Ubuntu 18.04 now, @ravelo can you check it on Ubuntu 17.10?

Thanks.