Dear Maintainers,

I finally found the time to capture the u-boot environment variables
when bootargs.scr is run by our vendor boot script.
This did involve changing the first script to set a few variables, and I
am submitting my few changes to the vendor.

I will update this bug when the changes have been accepted.
I have some uncertainties in my code changes, but not in the result. The
goal is using the generic boot script, so I don't think waiting for the
vendor blocks adding entries to the db.

I have created the following 3 machine entries, and verified that the
system comes up properly after running flash-kernel:
Machine: Goldelico GTA04A3
Kernel-Flavors: armmp
Boot-Script-Path: /boot/bootargs.scr
DTB-Id: omap3-gta04a3.dtb
U-Boot-Script-Name: bootscr.uboot-generic
Required-Packages: u-boot-tools

Machine: Goldelico GTA04A4
Kernel-Flavors: armmp
Boot-Script-Path: /boot/bootargs.scr
DTB-Id: omap3-gta04a4.dtb
U-Boot-Script-Name: bootscr.uboot-generic
Required-Packages: u-boot-tools

Machine: Goldelico GTA04A5
Kernel-Flavors: armmp
Boot-Script-Path: /boot/bootargs.scr
DTB-Id: omap3-gta04a5.dtb
U-Boot-Script-Name: bootscr.uboot-generic
Required-Packages: u-boot-tools

Please find attached a logfile for demonstration purposes showing that
the current 4.16 kernel actually works as intended.

Yours sincerely
Josua Mayer

U-Boot SPL 2016.11-00249-gc9d20fc (Dec 18 2017 - 17:41:57)
Trying to boot from MMC1
pop_mfr = 00 pop_id = 00
reading u-boot.img
spl: payload image: U-Boot 2016.11-00249-gc9d20fc fo load addr: 0x800fffc0 size: 388656
reading u-boot.img
Jumping to U-Boot
loaded - jumping to U-Boot...

U-Boot 2016.11-00249-gc9d20fc (Dec 18 2017 - 17:41:57 +0100)

OMAP36XX/37XX-GP ES1.2, CPU-OPP2, L3-200MHz, Max CPU Clock 1 Ghz
GTA04 + LPDDR/OneNAND
I2C:   ready
DRAM:  1 GiB
NAND:  0 Bytes
MMC:   OMAP SD/MMC: 0
*** Warning - bad CRC, using default environment

OMAP die ID: 58b000029ff80000015a988206017025
Found GTA04A5
Device Tree: omap3-gta04a5one.dtb
Net:   usb_ether
Error: usb_ether address not set.

Hit any key to stop autoboot:  0 
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
load - load binary file from a filesystem

Usage:
load <interface> [<dev[:part]> [<addr> [<filename> [bytes [pos]]]]]
    - Load binary file 'filename' from partition 'part' on device
       type 'interface' instance 'dev' to address 'addr' in memory.
      'bytes' gives the size to load in bytes.
      If 'bytes' is 0 or omitted, the file is read until the end.
      'pos' gives the file byte position to start reading from.
      If 'pos' is 0 or omitted, the file is read from the start.
## Executing script at 82000000
Wrong image format for "source" command
SCRIPT FAILED: continuing...
reading /omap3-gta04a5one.dtb
72305 bytes read in 22 ms (3.1 MiB/s)
switch to partitions #0, OK
mmc0 is current device
gpio: pin 173 (gpio 173) value is 1
gpio: pin 7 (gpio 7) value is 1
SD/MMC found on device 0
reading user.txt
** Unable to read file user.txt **
reading boot.scr
14843 bytes read in 14 ms (1 MiB/s)
Running bootscript from mmc0 ...
## Executing script at 80200000
USB charger detected
Main battery charge:    4116 mV
Battery temperature:    39 C
Backup battery voltage: 2738 mV
AC charger voltage:     14 mV
USB charger voltage:    5206 mV
Charging current:       9 mA
Charger present :       1
*** if you boot from NAND don-t worry about error messages when U-Boot tries to read a non-existing MMC ***
Setting bus to 0
did init LED driver for TCA6507
## Resetting to default environment
*** initializing GTA04 environment ***
Unknown command 'nand' - try 'help'

OneNAND read: total chip size (0x0) exceeded!
can not flash - must always boot from SD card
*** initializing LCM ***
board_video_init() for JBT6K74-AS / TD028TTEC1
did backlight_init() on GPIO_57
did panel_reg_init()
dss panel config
dss enable
did board_video_init()
did jbt_init_regs()
lcm backlight level set to 255 (0..255)
*** loading splash from MMC ***
Setting bus to 0
reading splash.rgb16
** Unable to read file splash.rgb16 **
reading splash.rgb16z
39304 bytes read in 15 ms (2.5 MiB/s)
Uncompressed size: 614400 = 0x96000
*** initializing TSC for boot menu ***
did tsc2007_init()
*** loading boot menu image ***
Setting bus to 0
reading menu.rgb16
** Unable to read file menu.rgb16 **
reading menu.rgb16z
247281 bytes read in 34 ms (6.9 MiB/s)
Uncompressed size: 614400 = 0x96000
Choosing by waiting for touch.
1 2 3
4 5 6
7 8 9
Press touch or any key to stop

did choose 2/0 -> 3
background color: 00ff55
*** MMC boot partition 1***
new boot order 3 4 1 2
Setting bus to 0
did set bootargs for false
trying partitions 3 4 1 2
** File not found uImage **
** File not found /boot/uImage **
** File not found bootargs.scr **
88 bytes read in 24 ms (2.9 KiB/s)
## Executing script at 80800000
PARTITION=3
PARTITIONTYPE=EXT
arch=arm
baudrate=115200
board=letux-gta04
board_name=letux-gta04
boot=\
if itest $FDT == 1\
then\
  bootm ${kernel_addr_r} - ${fdt_addr_r}\
else\
  bootm ${kernel_addr_r}\
fi
boot_a_script=load ${devtype} ${devnum}:${distro_bootpart} ${scriptaddr} ${prefix}${script}; source ${scriptaddr}
boot_efi_binary=load ${devtype} ${devnum}:${distro_bootpart} ${kernel_addr_r} efi/boot/bootarm.efi; if fdt addr ${fdt_addr_r}; then bootefi ${kernel_addr_r} ${fdt_addr_r};else bootefi ${kernel_addr_r} ${fdtcontroladdr};fi
boot_extlinux=sysboot ${devtype} ${devnum}:${distro_bootpart} any ${scriptaddr} ${prefix}extlinux/extlinux.conf
boot_net_usb_start=usb start
boot_prefixes=/ /boot/
boot_script_dhcp=boot.scr.uimg
boot_scripts=boot.scr.uimg boot.scr
boot_targets=mmc0 
bootargs=console=ttyO2,115200n8 mpurate=auto mux= vram=12M omapfb.vram=0:8M,1:4M omapfb.mode=dvi:640x480MR-16@60 omapfb.debug=y omapdss.def_disp=lcd ubi.mtd=4 root=ubi0:gta04-rootfs rootfstype=ubifs
bootcmd=\
if run loadbootscript\
then\
  run bootscript\
else\
  run mmcboot\
fi
bootcmd_mmc0=setenv devnum 0; run mmc_boot
bootdelay=1
bootdir=/boot
bootenv=uEnv.txt
bootfile=uImage
bootorder=3 4 1 2
bootpart=0:2
bootscript=echo Running bootscript ...; source ${scriptaddr}
buddy=none
camera=none
console=ttyO2,115200n8
cpu=armv7
defaultdisplay=lcd
devnum=0
devtype=mmc
distro_bootcmd=for target in ${boot_targets}; do run bootcmd_${target}; done
distro_bootpart=3
dvimode=640x480MR-16@60
efi_dtb_prefixes=/ /dtb/ /dtb/current/
fdt_addr_r=0x81c00000
fdt_high=0xffffffff
fdtaddr=0x80f80000
fdtfile=omap3-gta04a5one.dtb
fileaddr=80800000
filesize=58
findfdt=if test $beaglerev = AxBx; then setenv fdtfile omap3-beagle.dtb; fi; if test $beaglerev = Cx; then setenv fdtfile omap3-beagle.dtb; fi; if test $beaglerev = C4; then setenv fdtfile omap3-beagle.dtb; fi; if test $beaglerev = xMAB; then setenv fdtfile omap3-beagle-xm-ab.dtb; fi; if test $beaglerev = xMC; then setenv fdtfile omap3-beagle-xm.dtb; fi; if test $fdtfile = undefined; then echo WARNING: Could not determine device tree to use; fi; 
imgaddr=80600000
imgfile=menu
imgnandaddr=200000
imgtempaddr=0x80800000
importbootenv=echo Importing environment from mmc ...; env import -t -r $loadaddr $filesize
initrd_addr_r=0x81000000
kernel_addr_r=0x82000000
kernelloaded=status set 10
kernelloading=status set 18
kernelmmc=0
load_efi_dtb=load ${devtype} ${devnum}:${distro_bootpart} ${fdt_addr_r} ${prefix}${efi_fdtfile}
loadaddr=0x80200000
loadbootenv=fatload mmc ${mmcdev} ${loadaddr} ${bootenv}
loadbootscript=\
i2c dev 0\
mmc rescan\
if load mmc ${mmc} ${scriptaddr} boot.scr\
then\
  echo did load bootscript from mmc;\
elif ${nand_cmd} read ${scriptaddr} 1b0000 40000\
then\
  echo did load bootscript from nand\
fi
loadfdt=run validatefdt; load mmc ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile}
loadimage=load mmc ${bootpart} ${loadaddr} ${bootdir}/${bootfile}
loadimg=\
i2c dev 0\
mmc rescan\
if load mmc ${mmc} ${imgaddr} ${imgfile}.rgb16\
then\
  ;\
elif load mmc ${mmc} ${imgtempaddr} ${imgfile}.rgb16z\
then\
  unzip ${imgtempaddr} ${imgaddr}\
elif ${nand_cmd} read ${imgtempaddr} ${imgnandaddr} 40000\
then\
  unzip ${imgtempaddr} ${imgaddr}\
fi
loadkernel=\
run kernelloading\
i2c dev 0\
mmc rescan\
DONE=0;KERNEL=0;FDT=0\
run nandargs\
echo trying partitions $bootorder\
for p in $bootorder\
do\
  if itest $DONE == 0\
  then\
    if load mmc ${mmc}:${p} ${kernel_addr_r} uImage\
    then\
      echo found kernel /uImage on partition $p\
      setenv mmcroot "/dev/mmcblk${kernelmmc}p${p} rw"\
      run mmcargs\
      KERNEL=1;DONE=1\
    elif load mmc ${mmc}:${p} ${kernel_addr_r} /boot/uImage\
    then\
      echo found kernel /boot/uImage on EXT partition $p\
      setenv mmcroot "/dev/mmcblk${kernelmmc}p${p} rw"\
      run mmcargs\
      KERNEL=1;DONE=1\
    fi\
    if load mmc ${mmc}:${p} ${imgtempaddr} bootargs.scr\
    then\
      setenv PARTITION $p\
      setenv PARTITIONTYPE FAT\
      source ${imgtempaddr}\
      DONE=1\
    elif load mmc ${mmc}:${p} ${imgtempaddr} /boot/bootargs.scr\
    then\
      setenv PARTITION $p\
      setenv PARTITIONTYPE EXT\
      # set distro-boot expected dynamic variables\
      setenv devtype mmc\
      setenv devnum 0\
      setenv prefix boot/\
      setenv distro_bootpart $p\
      source ${imgtempaddr}\
      DONE=1\
    fi\
    if load mmc ${mmc}:${p} ${fdt_addr_r} ${fdtfile}\
    then\
      FDT=1\
    elif load mmc ${mmc}:${p} ${fdt_addr_r} /boot/${fdtfile}\
    then\
      FDT=1\
    fi\
  fi\
done\
if itest $KERNEL == 0\
then\
  echo fallback to NAND kernel\
  if ${nand_cmd} read ${kernel_addr_r} 280000 5c0000\
  then\
    echo NAND kernel found\
    if ${nand_cmd} read ${fdt_addr_r} 840000 40000\
    then\
      echo NAND DTB found\
      FDT=1\
    else\
      FDT=0\
    fi\
  else\
    status blink\
  fi\
fi\
run kernelloaded
loadramdisk=load mmc ${bootpart} ${rdaddr} ${bootdir}/${ramdisk}
mmc=0
mmc_boot=if mmc dev ${devnum}; then setenv devtype mmc; run scan_dev_for_boot_part; fi
mmcargs=setenv bootargs console=${console} mpurate=${mpurate} mux=${mux} vram=${vram} omapfb.vram=${omapfbvram} omapfb.mode=dvi:${dvimode} omapfb.debug=y omapdss.def_disp=${defaultdisplay} ubi.mtd=${nand} root=${mmcroot} rootfstype=${mmcrootfstype}; echo did set bootargs for mmc
mmcboot=\
if run loadkernel\
then\
  run boot\
fi
mmcbootz=echo Booting with DT from mmc${mmcdev} ...; run mmcargs; bootz ${loadaddr} - ${fdtaddr}
mmcdev=0
mmcroot=/dev/mmcblk0p2 rw
mmcrootfstype=ext4,ext3,btrfs rootwait
mpurate=auto
nand=4
nand_cmd=false
nandargs=setenv bootargs console=${console} mpurate=${mpurate} mux=${mux} vram=${vram} omapfb.vram=${omapfbvram} omapfb.mode=dvi:${dvimode} omapfb.debug=y omapdss.def_disp=${defaultdisplay} ubi.mtd=${nand} root=${nandroot} rootfstype=${nandrootfstype}; echo did set bootargs for ${nand_cmd}
nandboot=\
run kernelloading\
if ${nand_cmd} read ${kernel_addr_r} 280000 600000\
then\
  run nandargs\
  run kernelloaded\
  bootm ${kernel_addr_r}\
fi
nandroot=ubi0:gta04-rootfs
nandrootfstype=ubifs
omapfbvram=0:8M,1:4M
persistbootorder=\
if status check 1\
then\
  saveenv\
fi
prefix=boot/
ramargs=setenv bootargs console=${console} ${optargs} mpurate=${mpurate} buddy=${buddy} vram=${vram} omapfb.mode=dvi:${dvimode} omapdss.def_disp=${defaultdisplay} root=${ramroot} rootfstype=${ramrootfstype}
ramboot=echo Booting from ramdisk ...; run ramargs; bootm ${loadaddr}
ramdisk=ramdisk.gz
ramdisk_addr_r=0x90000000
ramroot=/dev/ram0 rw ramdisk_size=65536 initrd=0x81000000,64M
ramrootfstype=ext2
rdaddr=0x81000000
scan_dev_for_boot=echo Scanning ${devtype} ${devnum}:${distro_bootpart}...; for prefix in ${boot_prefixes}; do run scan_dev_for_extlinux; run scan_dev_for_scripts; done;run scan_dev_for_efi;
scan_dev_for_boot_part=part list ${devtype} ${devnum} -bootable devplist; env exists devplist || setenv devplist 1; for distro_bootpart in ${devplist}; do if fstype ${devtype} ${devnum}:${distro_bootpart} bootfstype; then run scan_dev_for_boot; fi; done
scan_dev_for_efi=setenv efi_fdtfile ${fdtfile}; if test -z "${fdtfile}" -a -n "${soc}"; then setenv efi_fdtfile ${soc}-${board}${boardver}.dtb; fi; for prefix in ${efi_dtb_prefixes}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${efi_fdtfile}; then run load_efi_dtb; fi;done;if test -e ${devtype} ${devnum}:${distro_bootpart} efi/boot/bootarm.efi; then echo Found EFI removable media binary efi/boot/bootarm.efi; run boot_efi_binary; echo EFI LOAD FAILED: continuing...; fi; setenv efi_fdtfile
scan_dev_for_extlinux=if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}extlinux/extlinux.conf; then echo Found ${prefix}extlinux/extlinux.conf; run boot_extlinux; echo SCRIPT FAILED: continuing...; fi
scan_dev_for_scripts=for script in ${boot_scripts}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${script}; then echo Found U-Boot script ${prefix}${script}; run boot_a_script; echo SCRIPT FAILED: continuing...; fi; done
scriptaddr=0x81800000
scriptversion=0123456789
showimg=run loadimg; lcm fb ${imgaddr};
soc=omap3
usb_boot=usb start; if usb dev ${devnum}; then setenv devtype usb; run scan_dev_for_boot_part; fi
usbtty=cdc_acm
userbutton=if gpio input 173; then run userbutton_xm; else run userbutton_nonxm; fi;
userbutton_nonxm=gpio input 7;
userbutton_xm=gpio input 4;
validatefdt=if test $beaglerev = xMAB; then if test ! -e mmc ${bootpart} ${bootdir}/${fdtfile}; then setenv fdtfile omap3-beagle-xm.dtb; fi; fi; 
vendor=goldelico
vram=12M

Environment size: 8709/262140 bytes
** File not found omap3-gta04a5one.dtb **
** File not found /boot/omap3-gta04a5one.dtb **
fallback to NAND kernel
blinking LEDs.
Press any key to stop
60
U-Boot SPL 2016.11-00249-gc9d20fc (Dec 18 2017 - 17:41:57)
Trying to boot from MMC1
pop_mfr = 00 pop_id = 00
reading u-boot.img
spl: payload image: U-Boot 2016.11-00249-gc9d20fc fo load addr: 0x800fffc0 size: 388656
reading u-boot.img
Jumping to U-Boot
loaded - jumping to U-Boot...

U-Boot 2016.11-00249-gc9d20fc (Dec 18 2017 - 17:41:57 +0100)

OMAP36XX/37XX-GP ES1.2, CPU-OPP2, L3-200MHz, Max CPU Clock 1 Ghz
GTA04 + LPDDR/OneNAND
I2C:   ready
DRAM:  1 GiB
NAND:  0 Bytes
MMC:   OMAP SD/MMC: 0
*** Warning - bad CRC, using default environment

OMAP die ID: 58b000029ff80000015a988206017025
Found GTA04A5
Device Tree: omap3-gta04a5one.dtb
Net:   usb_ether
Error: usb_ether address not set.

Hit any key to stop autoboot:  2  0 
GTA04 # setenv fdtfile omap3-gta04a5.dtb
GTA04 # boot
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
load - load binary file from a filesystem

Usage:
load <interface> [<dev[:part]> [<addr> [<filename> [bytes [pos]]]]]
    - Load binary file 'filename' from partition 'part' on device
       type 'interface' instance 'dev' to address 'addr' in memory.
      'bytes' gives the size to load in bytes.
      If 'bytes' is 0 or omitted, the file is read until the end.
      'pos' gives the file byte position to start reading from.
      If 'pos' is 0 or omitted, the file is read from the start.
## Executing script at 82000000
Wrong image format for "source" command
SCRIPT FAILED: continuing...
reading /omap3-gta04a5.dtb
71754 bytes read in 21 ms (3.3 MiB/s)
switch to partitions #0, OK
mmc0 is current device
gpio: pin 173 (gpio 173) value is 1
gpio: pin 7 (gpio 7) value is 1
SD/MMC found on device 0
reading user.txt
** Unable to read file user.txt **
reading boot.scr
15044 bytes read in 14 ms (1 MiB/s)
Running bootscript from mmc0 ...
## Executing script at 80200000
USB charger detected
Main battery charge:    4127 mV
Battery temperature:    39 C
Backup battery voltage: 3197 mV
AC charger voltage:     0 mV
USB charger voltage:    5186 mV
Charging current:       72 mA
Charger present :       1
*** if you boot from NAND don-t worry about error messages when U-Boot tries to read a non-existing MMC ***
Setting bus to 0
did init LED driver for TCA6507
## Resetting to default environment
*** initializing GTA04 environment ***
Unknown command 'nand' - try 'help'

OneNAND read: total chip size (0x0) exceeded!
can not flash - must always boot from SD card
*** initializing LCM ***
board_video_init() for JBT6K74-AS / TD028TTEC1
did backlight_init() on GPIO_57
did panel_reg_init()
dss panel config
dss enable
did board_video_init()
did jbt_init_regs()
lcm backlight level set to 255 (0..255)
*** loading splash from MMC ***
Setting bus to 0
reading splash.rgb16
** Unable to read file splash.rgb16 **
reading splash.rgb16z
39304 bytes read in 17 ms (2.2 MiB/s)
Uncompressed size: 614400 = 0x96000
*** initializing TSC for boot menu ***
did tsc2007_init()
*** loading boot menu image ***
Setting bus to 0
reading menu.rgb16
** Unable to read file menu.rgb16 **
reading menu.rgb16z
247281 bytes read in 35 ms (6.7 MiB/s)
Uncompressed size: 614400 = 0x96000
Choosing by waiting for touch.
1 2 3
4 5 6
7 8 9
Press touch or any key to stop

did choose 2/0 -> 3
background color: 00ff55
*** MMC boot partition 1***
new boot order 3 4 1 2
Setting bus to 0
did set bootargs for false
trying partitions 3 4 1 2
** File not found uImage **
** File not found /boot/uImage **
** File not found bootargs.scr **
2906 bytes read in 53 ms (52.7 KiB/s)
did set bootargs for mmc
## Executing script at 80800000
4080128 bytes read in 410 ms (9.5 MiB/s)
64751 bytes read in 81 ms (780.3 KiB/s)
17890461 bytes read in 1634 ms (10.4 MiB/s)
Booting Debian 4.16.0-2-armmp from mmc 0:3...
## Flattened Device Tree blob at 81c00000
   Booting using the fdt blob at 0x81c00000
   Loading Ramdisk to 9eef0000, end 9ffffc9d ... OK
   Using Device Tree in place at 81c00000, end 81c12cee

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.16.0-2-armmp (debian-ker...@lists.debian.org) (gcc version 7.3.0 (Debian 7.3.0-23)) #1 SMP Debian 4.16.16-2 (2018-06-22)
[    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Goldelico GTA04A5
[    0.000000] Memory policy: Data cache writeback
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] cma: Reserved 16 MiB at 0xbe800000
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] OMAP3630/DM3730 ES1.2 (l2cache iva sgx neon isp 192mhz_clk)
[    0.000000] random: get_random_bytes called from start_kernel+0xac/0x44c with crng_init=0
[    0.000000] percpu: Embedded 17 pages/cpu @(ptrval) s38284 r8192 d23156 u69632
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 259904
[    0.000000] Kernel command line:  console=ttyO2,115200n8 mpurate=auto mux= vram=12M omapfb.vram=0:8M,1:4M omapfb.mode=dvi:640x480MR-16@60 omapfb.debug=y omapdss.def_disp=lcd ubi.mtd=4 root=/dev/mmcblk0p3 rootfstype=ext4,ext3,btrfs rootwait console=ttyO2,115200n8 verbose
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 986580K/1046528K available (8192K kernel code, 1079K rwdata, 2488K rodata, 2048K init, 321K bss, 43564K reserved, 16384K cma-reserved, 243712K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0x(ptrval) - 0x(ptrval)   (9184 kB)
[    0.000000]       .init : 0x(ptrval) - 0x(ptrval)   (2048 kB)
[    0.000000]       .data : 0x(ptrval) - 0x(ptrval)   (1080 kB)
[    0.000000]        .bss : 0x(ptrval) - 0x(ptrval)   ( 322 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] ftrace: allocating 31357 entries in 92 pages
[    0.000000] Hierarchical RCU implementation.
[    0.000000] 	RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] IRQ: Found an INTC at 0x(ptrval) (revision 4.0) with 96 interrupts
[    0.000000] Clocking rate (Crystal/Core/MPU): 26.0/400/600 MHz
[    0.000000] OMAP clockevent source: timer1 at 32768 Hz
[    0.000000] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
[    0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 65535999984741ns
[    0.000000] OMAP clocksource: 32k_counter at 32768 Hz
[    0.003753] Console: colour dummy device 80x30
[    0.003814] Calibrating delay loop... 595.96 BogoMIPS (lpj=1191936)
[    0.030364] pid_max: default: 32768 minimum: 301
[    0.030761] Security Framework initialized
[    0.030792] Yama: disabled by default; enable with sysctl kernel.yama.*
[    0.030914] AppArmor: AppArmor initialized
[    0.031066] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.031097] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.032440] CPU: Testing write buffer coherency: ok
[    0.032989] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[    0.033752] Setting up static identity map for 0x80300000 - 0x803000a0
[    0.038238] Hierarchical SRCU implementation.
[    0.046020] EFI services will not be available.
[    0.046722] smp: Bringing up secondary CPUs ...
[    0.046752] smp: Brought up 1 node, 1 CPU
[    0.046752] SMP: Total of 1 processors activated (595.96 BogoMIPS).
[    0.046783] CPU: All CPU(s) started in SVC mode.
[    0.049102] devtmpfs: initialized
[    0.078948] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    0.079467] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.079498] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.081207] pinctrl core: initialized pinctrl subsystem
[    0.084533] DMI not present or invalid.
[    0.085205] NET: Registered protocol family 16
[    0.089324] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.115142] omap_hwmod: mcbsp2_sidetone using broken dt data from mcbsp
[    0.115875] omap_hwmod: mcbsp3_sidetone using broken dt data from mcbsp
[    0.185760] audit: initializing netlink subsys (disabled)
[    0.190063] Reprogramming SDRC clock to 400000000 Hz
[    0.190429] audit: type=2000 audit(0.184:1): state=initialized audit_enabled=0 res=1
[    0.198669] OMAP GPIO hardware version 2.5
[    0.222778] omap-gpmc 6e000000.gpmc: GPMC revision 5.0
[    0.222808] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
[    0.234344] No ATAGs?
[    0.234374] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.236602] omap4_sram_init:Unable to allocate sram needed to handle errata I688
[    0.236633] omap4_sram_init:Unable to get sram pool needed to handle errata I688
[    0.237304] OMAP DMA hardware revision 5.0
[    0.238830] Serial: AMBA PL011 UART driver
[    0.266540] omap-dma-engine 48056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)
[    0.273895] omap-iommu 480bd400.mmu: 480bd400.mmu registered
[    0.274658] iommu: Adding device 480bc000.isp to group 0
[    0.277465] vgaarb: loaded
[    0.279937] omap_i2c 48070000.i2c: bus 0 rev4.4 at 2600 kHz
[    0.282165] omap_i2c 48072000.i2c: bus 1 rev4.4 at 400 kHz
[    0.283264] omap_i2c 48060000.i2c: bus 2 rev4.4 at 100 kHz
[    0.284484] media: Linux media interface: v0.10
[    0.284576] Linux video capture interface: v2.00
[    0.284698] pps_core: LinuxPPS API ver. 1 registered
[    0.284698] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giome...@linux.it>
[    0.284729] PTP clock support registered
[    0.285522] omap-mailbox 48094000.mailbox: omap mailbox rev 0x40
[    0.288421] clocksource: Switched to clocksource 32k_counter
[    0.393981] VFS: Disk quotas dquot_6.6.0
[    0.394134] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.394989] AppArmor: AppArmor Filesystem Enabled
[    0.412292] NET: Registered protocol family 2
[    0.413574] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
[    0.413635] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.413757] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.413940] TCP: Hash tables configured (established 8192 bind 8192)
[    0.414123] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.414184] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.414520] NET: Registered protocol family 1
[    0.417785] Unpacking initramfs...
[    1.020599] random: fast init done
[    2.409149] Freeing initrd memory: 17472K
[    2.410278] hw perfevents: no interrupt-affinity property for /pmu@54000000, guessing.
[    2.410552] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
[    2.417327] Initialise system trusted keyrings
[    2.417724] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[    2.427947] zbud: loaded
[    7.763946] Key type asymmetric registered
[    7.763977] Asymmetric key parser 'x509' registered
[    7.764099] bounce: pool size: 64 pages
[    7.764251] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    7.764770] io scheduler noop registered
[    7.764801] io scheduler deadline registered
[    7.765289] io scheduler cfq registered (default)
[    7.765319] io scheduler mq-deadline registered
[    7.773590] pinctrl-single 48002030.pinmux: 284 pins, size 568
[    7.774322] pinctrl-single 48002a00.pinmux: 46 pins, size 92
[    7.775238] pinctrl-single 480025a0.pinmux: 46 pins, size 92
[    7.794982] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    7.798370] Serial: AMBA driver
[    7.800262] omap_uart 4806a000.serial: no wakeirq for uart0
[    7.800659] 4806a000.serial: ttyO0 at MMIO 0x4806a000 (irq = 88, base_baud = 3000000) is a OMAP UART0
[    7.801513] omap_uart 4806c000.serial: no wakeirq for uart1
[    7.801727] 4806c000.serial: ttyO1 at MMIO 0x4806c000 (irq = 89, base_baud = 3000000) is a OMAP UART1
[    7.802459] omap_uart 49020000.serial: no wakeirq for uart2
[    7.802642] 49020000.serial: ttyO2 at MMIO 0x49020000 (irq = 90, base_baud = 3000000) is a OMAP UART2
[    8.629058] console [ttyO2] enabled
[    8.633666] omap_uart 49042000.serial: no wakeirq for uart3
[    8.639831] 49042000.serial: ttyO3 at MMIO 0x49042000 (irq = 96, base_baud = 3000000) is a OMAP UART3
[    8.654144] Skipping twl internal clock init and using bootloader value (unknown osc rate)
[    8.689605] twl 0-0048: PIH (irq 23) chaining IRQs 146..154
[    8.695648] twl 0-0048: power (irq 151) chaining IRQs 154..161
[    8.711181] VAUX3: Bringing 2800000uV into 2500000-2500000uV
[    8.740356] VSIM: Bringing 1800000uV into 2800000-2800000uV
[    8.749481] twl4030_gpio twl4030-gpio: gpio (irq 146) chaining IRQs 162..179
[    8.769287] libphy: Fixed MDIO Bus: probed
[    8.775848] mousedev: PS/2 mouse device common for all mice
[    8.787597] twl_rtc 48070000.i2c:twl@48:rtc: Enabling TWL-RTC
[    8.796966] twl_rtc 48070000.i2c:twl@48:rtc: rtc core: registered 48070000.i2c:twl@48:rtc as rtc0
[    8.813781] ledtrig-cpu: registered to indicate activity on CPUs
[    8.822998] NET: Registered protocol family 10
[    8.872863] Segment Routing with IPv6
[    8.877044] mip6: Mobile IPv6
[    8.880187] NET: Registered protocol family 17
[    8.885101] mpls_gso: MPLS GSO support
[    8.889556] omap2_set_init_voltage: unable to find boot up OPP for vdd_mpu_iva
[    8.897247] omap2_set_init_voltage: unable to set vdd_mpu_iva
[    8.903381] omap2_set_init_voltage: unable to find boot up OPP for vdd_core
[    8.910766] omap2_set_init_voltage: unable to set vdd_core
[    8.918395] ThumbEE CPU extension supported.
[    8.923034] Registering SWP/SWPB emulation handler
[    8.928131] SmartReflex Class3 initialized
[    8.933685] registered taskstats version 1
[    8.938079] Loading compiled-in X.509 certificates
[    9.622863] Loaded X.509 cert 'secure-boot-test-key-lfaraone: 97c1b25cddf9873ca78a58f3d73bf727d2cf78ff'
[    9.636962] Loaded X.509 cert 'Debian Project: Ben Hutchings: 008a018dca80932630'
[    9.645111] zswap: loaded using pool lzo/zbud
[    9.650207] AppArmor: AppArmor sha1 policy hashing enabled
[    9.680206] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[    9.690185] twl_rtc 48070000.i2c:twl@48:rtc: setting system clock to 2000-01-01 00:50:41 UTC (946687841)
[    9.700225] sr_init: No PMIC hook to init smartreflex
[    9.706024] smartreflex smartreflex.0: omap_sr_probe: SmartReflex driver initialized
[    9.715911] smartreflex smartreflex.1: omap_sr_probe: SmartReflex driver initialized
[    9.727172] VAUX3: disabling
[    9.731536] VDAC: disabling
[    9.735443] VMMC1: disabling
[    9.739746] VUSB1V5: disabling
[    9.744110] VUSB1V8: disabling
[    9.748474] VUSB3V1: disabling
[    9.752838] VPLL2: disabling
[    9.771423] Freeing unused kernel memory: 2048K
Loading, please wait...
starting version 239
[   11.955627] usbcore: registered new interface driver usbfs
[   11.988891] usbcore: registered new interface driver hub
[   12.024963] usbcore: registered new device driver usb
[   12.065368] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   12.111175] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   12.119354] ehci-omap: OMAP-EHCI Host Controller driver
[   12.163665] ohci-platform: OHCI generic platform driver
[   12.209716] ohci-platform 48064400.ohci: Generic Platform OHCI controller
[   12.247467] ohci-platform 48064400.ohci: new USB bus registered, assigned bus number 1
[   12.300201] ohci-platform 48064400.ohci: irq 92, io mem 0x48064400
[   12.377319] twl4030_usb 48070000.i2c:twl@48:twl4030-usb: Initialized TWL4030 USB module
[   12.394927] omap_hsmmc 4809c000.mmc: SD card detect fail? enable CONFIG_REGULATOR_PBIAS
[   12.489807] musb-hdrc musb-hdrc.0.auto: MUSB HDRC host driver
[   12.507812] omap_hsmmc 4809c000.mmc: SD card detect fail? enable CONFIG_REGULATOR_PBIAS
[   12.532806] musb-hdrc musb-hdrc.0.auto: new USB bus registered, assigned bus number 2
[   12.577026] usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
[   12.584289] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   12.591918] usb usb1: Product: Generic Platform OHCI controller
[   12.598205] usb usb1: Manufacturer: Linux 4.16.0-2-armmp ohci_hcd
[   12.604644] usb usb1: SerialNumber: 48064400.ohci
[   12.759307] hub 1-0:1.0: USB hub found
[   12.796844] hub 1-0:1.0: 3 ports detected
[   12.837768] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[   12.845031] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   12.852661] usb usb2: Product: MUSB HDRC host driver
[   12.857910] usb usb2: Manufacturer: Linux 4.16.0-2-armmp musb-hcd
[   12.864349] usb usb2: SerialNumber: musb-hdrc.0.auto
[   12.874633] omap_hsmmc 4809c000.mmc: SD card detect fail? enable CONFIG_REGULATOR_PBIAS
[   12.887939] usb_phy_generic hsusb2_phy: hsusb2_phy supply vcc not found, using dummy regulator
[   13.012908] ehci-omap 48064800.ehci: EHCI Host Controller
[   13.027008] hub 2-0:1.0: USB hub found
[   13.045471] hub 2-0:1.0: 1 port detected
[   13.070373] ehci-omap 48064800.ehci: new USB bus registered, assigned bus number 3
[   13.105072] ehci-omap 48064800.ehci: irq 93, io mem 0x48064800
[   13.140716] ehci-omap 48064800.ehci: USB 2.0 started, EHCI 1.00
[   13.161010] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
[   13.168273] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   13.175933] usb usb3: Product: EHCI Host Controller
[   13.181091] usb usb3: Manufacturer: Linux 4.16.0-2-armmp ehci_hcd
[   13.187530] usb usb3: SerialNumber: 48064800.ehci
[   13.285003] hub 3-0:1.0: USB hub found
[   13.300933] hub 3-0:1.0: 3 ports detected
[   13.318450] mmc0: host does not support reading read-only switch, assuming write-enable
[   13.350860] mmc0: new high speed SDHC card at address e624
[   13.377166] mmcblk0: mmc0:e624 SU16G 14.8 GiB 
[   13.444152]  mmcblk0: p1 p2 p3
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Will now check root file system ... fsck from util-linux 2.32
[/sbin/fsck.ext4 (1) -- /dev/mmcblk0p3] fsck.ext4 -a -C0 /dev/mmcblk0p3 
debian: clean, 25676/727664 files, 248515/2908544 blocks
done.
[   14.767486] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
[   16.234283] systemd[1]: System time before build time, advancing clock.
[   16.501037] systemd[1]: systemd 239 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
[   16.524810] systemd[1]: Detected architecture arm.

Welcome to Debian GNU/Linux buster/sid!

[   16.577453] systemd[1]: Set hostname to <gta04>.
[   18.122894] random: systemd: uninitialized urandom read (16 bytes read)
[   18.131317] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[   18.149841] random: systemd: uninitialized urandom read (16 bytes read)
[   18.157836] systemd[1]: Listening on Journal Audit Socket.
[  OK  ] Listening on Journal Audit Socket.
[   18.177185] random: systemd: uninitialized urandom read (16 bytes read)
[   18.190948] systemd[1]: Created slice system-serial\x2dgetty.slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[   18.209960] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
[   18.235595] systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[   18.253356] systemd[1]: Reached target Remote File Systems.
[  OK  ] Reached target Remote File Systems.
[   18.274291] systemd[1]: Listening on fsck to fsckd communication Socket.
[  OK  ] Listening on fsck to fsckd communication Socket.
[  OK  ] Listening on Journal Socket.
         Starting Load Kernel Modules...
         Mounting POSIX Message Queue File System...
[  OK  ] Reached target Swap.
[  OK  ] Set up automount Arbitrary Executab…rmats File System Automount Point.
[  OK  ] Listening on initctl Compatibility Named Pipe.
[  OK  ] Listening on Syslog Socket.
         Mounting Kernel Debug File System...
[  OK  ] Listening on udev Kernel Socket.
         Starting udev Coldplug all Devices...
[  OK  ] Created slice system-getty.slice.
[  OK  ] Reached target Slices.
         Starting Remount Root and Kernel File Systems...
         Starting Create list of required st…ce nodes for the current kernel...
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Reached target Paths.
[  OK  ] Reached target Local Encrypted Volumes.
[  OK  ] Listening on Journal Socket (/dev/log).
         Starting Journal Service...
[   18.819183] EXT4-fs (mmcblk0p3): re-mounted. Opts: (null)
[  OK  ] Started Load Kernel Modules.
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Mounted Kernel Debug File System.
[  OK  ] Started Remount Root and Kernel File Systems.
[  OK  ] Started Create list of required sta…vice nodes for the current kernel.
         Starting Load/Save Random Seed...
         Starting Create System Users...
         Starting Apply Kernel Variables...
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Started Create System Users.
         Starting Create Static Device Nodes in /dev...
[  OK  ] Started Create Static Device Nodes in /dev.
[  OK  ] Reached target Local File Systems (Pre).
[  OK  ] Reached target Local File Systems.
         Starting AppArmor initialization...
         Starting udev Kernel Device Manager...
[  OK  ] Started Journal Service.
         Starting Flush Journal to Persistent Storage...
[  OK  ] Started udev Kernel Device Manager.
[   20.572113] systemd-journald[177]: Received request to flush runtime journal from PID 1
[  OK  ] Started Flush Journal to Persistent Storage.
         Starting Create Volatile Files and Directories...
[  OK  ] Started Create Volatile Files and Directories.
         Starting Update UTMP about System Boot/Shutdown...
         Starting Network Time Synchronization...
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Started AppArmor initialization.
         Starting Raise network interfaces...
[  OK  ] Started udev Coldplug all Devices.
[   23.782775] omapdss: unknown parameter 'def_disp' ignored
[   23.881347] omapdss_dss 48050000.dss: 48050000.dss supply vdda_video not found, using dummy regulator
[   23.986480] DSS: OMAP DSS rev 2.0
[   24.035095] omapdss_dss 48050000.dss: bound 48050400.dispc (ops dispc_component_ops [omapdss])
[   24.134460] omapdss_dss 48050000.dss: bound 48050c00.encoder (ops venc_component_ops [omapdss])
[  OK  ] Started Raise network interfaces.
[  OK  ] Reached target Network.
[  OK  ] Started Network Time Synchronization.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[   24.430938] omap_ssi 48058000.ssi-controller: ssi controller 0 initialized (2 ports)!
[  OK  ] Reached target Basic System.
[   24.516296] omap_ssi_port 4805a000.ssi-port: couldn't get cawake gpio (err=-2)!
         Starting OpenBSD Secure Shell server...
[   24.653564] omap_ssi_port: probe of 4805a000.ssi-port failed with error -2
         Starting System Logging Service...
[   24.760803] omap_ssi_port 4805b000.ssi-port: couldn't get cawake gpio (err=-2)!
[   24.850952] omap_ssi_port: probe of 4805b000.ssi-port failed with error -2
[  OK  ] Started irqbalance daemon.[   24.903869] input: twl4030_pwrbutton as /devices/platform/68000000.ocp/48070000.i2c/i2c-0/0-0048/48070000.i2c:twl@48:pwrbutton/input/input1

[   24.986114] input: twl4030:vibrator as /devices/platform/68000000.ocp/48070000.i2c/i2c-0/0-0048/48070000.i2c:twl@48:audio/twl4030-vibra/input/input2
[  OK  [   25.098236] twl4030_madc 48070000.i2c:twl@48:madc: 48070000.i2c:twl@48:madc supply vusb3v1 not found, using dummy regulator
] Started Regular background program processing daemon.
[  OK  ] Started D-Bus System Message Bus.
         Starting Login Service...
         Starting Permit User Sessions...
[  OK  ] Reached target System Time Synchronized.
[[   26.363922] omap_hsmmc 480b4000.mmc: allocated mmc-pwrseq
  OK  ] Started Daily apt download activities.
[  OK  ] Started Daily apt upgrade and clean activities.
[  OK  ] Reached target Timers.
[   26.478179] Driver for 1-wire Dallas network protocol.
[   26.521362] input: TSC2007 Touchscreen as /devices/platform/68000000.ocp/48072000.i2c/i2c-1/1-0048/input/input3
[  OK  ] Started System Logging Service.
[   26.664794] omap_hdq 480b2000.1w: OMAP HDQ Hardware Rev 0.5. Driver in Interrupt mode
[   26.846466] w1_master_driver w1_bus_master1: Attaching one wire slave 01.000000000000 crc 3d
[   27.062957] omap_wdt: OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec
[   27.165740] OF: graph: no port node found in /ocp@68000000/isp@480bc000/ports
[   27.248779] omap3isp 480bc000.isp: 480bc000.isp supply vdd-csiphy1 not found, using dummy regulator
[   27.277862] (NULL device *): hwmon: 'bq27000-battery' is not a valid name attribute, please fix
[   27.365051] power_supply bq27000-battery: power_supply_get_battery_info currently only supports devicetree
[   27.399414] omap3isp 480bc000.isp: 480bc000.isp supply vdd-csiphy2 not found, using dummy regulator
[   27.528686] random: crng init done
[   27.528686] random: 7 urandom warning(s) missed due to ratelimiting
[   27.542877] omap3isp 480bc000.isp: Revision 15.0 found
[   27.543640] omap-iommu 480bd400.mmu: 480bd400.mmu: version 1.1
[   27.544036] omap3isp 480bc000.isp: Entity type for entity OMAP3 ISP CCP2 was not initialized!
[   27.564941] omap3isp 480bc000.isp: Entity type for entity OMAP3 ISP CSI2a was not initialized!
[   27.565399] omap3isp 480bc000.isp: Entity type for entity OMAP3 ISP CCDC was not initialized!
[   27.565704] omap3isp 480bc000.isp: Entity type for entity OMAP3 ISP preview was not initialized!
[   27.568878] omap3isp 480bc000.isp: Entity type for entity OMAP3 ISP resizer was not initialized!
[   27.600952] omap3isp 480bc000.isp: Entity type for entity OMAP3 ISP AEWB was not initialized!
[   27.600952] omap3isp 480bc000.isp: Entity type for entity OMAP3 ISP AF was not initialized!
[   27.600982] omap3isp 480bc000.isp: Entity type for entity OMAP3 ISP histogram was not initialized!
[   27.951599] connector-analog-tv connector: failed to find video source
[   27.978607] connector-analog-tv connector: failed to find video source
[   27.994049] pwm-backlight backlight: backlight supply power not found, using dummy regulator
[   28.019104] nand: No NAND device found
[   28.019134] omap2-nand 30000000.nand: scan failed, may be bus-width mismatch
[   28.049468] connector-analog-tv connector: failed to find video source
[   28.311248] connector-analog-tv connector: failed to find video source
[   28.319519] omap-twl4030 sound: twl4030-hifi <-> 49022000.mcbsp mapping ok
[   28.319702] omap-twl4030 sound: ASoC: no DMI vendor name!
[   28.339874] input: gta04 Headset Jack as /devices/platform/sound/sound/card0/input4
[   28.341644] connector-analog-tv connector: failed to find video source
[   28.342376] OF: /sound_telephony/simple-audio-card,cpu: could not get #sound-dai-cells for /ocp@68000000/mcbsp@49026000
[   28.342376] asoc-simple-card sound_telephony: parse error -22
[   28.342407] asoc-simple-card: probe of sound_telephony failed with error -22
[  OK  ] Started Permit User Sessions.
[  OK  ] Started OpenBSD Secure Shell server.
[  OK  ] Found device /dev/ttyO2.
[  OK  ] Found device /dev/ttyS0.
[  OK  ] Reached target Sound Card.
[  OK  ] Created slice system-systemd\x2dbacklight.slice.
         Starting Load/Save Screen Backlight…ightness of backlight:backlight...
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Started Serial Getty on ttyO2.
[  OK  ] Started Getty on tty1.
[  OK  ] Reached target Login Prompts.
[  OK  ] Started Load/Save Screen Backlight Brightness of backlight:backlight.
[  OK  ] Started Login Service.
[  OK  ] Reached target Multi-User System.
         Starting Update UTMP about System Runlevel Changes...
[  OK  ] Started Update UTMP about System Runlevel Changes.


Debian GNU/Linux buster/sid gta04 ttyO2

gta04 login: debian

Password: 
Last login: Fri Jun 22 11:12:09 UTC 2018 on ttyO2
Linux gta04 4.16.0-2-armmp #1 SMP Debian 4.16.16-2 (2018-06-22) armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
debian@gta04:~$ echo 851000 | sudo tee /sys/class/power_supply/twl4030_usb/input_
_current_limit
[sudo] password for debian: 
851000
debian@gta04:~$ cat /sys/class/power_supply/bq27000-battery/uevent
POWER_SUPPLY_NAME=bq27000-battery
POWER_SUPPLY_STATUS=Charging
POWER_SUPPLY_PRESENT=1
POWER_SUPPLY_VOLTAGE_NOW=4192000
POWER_SUPPLY_CURRENT_NOW=-94783
POWER_SUPPLY_CAPACITY=99
POWER_SUPPLY_CAPACITY_LEVEL=Normal
POWER_SUPPLY_TEMP=339
POWER_SUPPLY_TIME_TO_FULL_NOW=780
POWER_SUPPLY_TECHNOLOGY=Li-ion
POWER_SUPPLY_CHARGE_FULL=1055718
POWER_SUPPLY_CHARGE_NOW=1040944
POWER_SUPPLY_CHARGE_FULL_DESIGN=1233792
POWER_SUPPLY_CYCLE_COUNT=11
POWER_SUPPLY_ENERGY_NOW=3739060
POWER_SUPPLY_POWER_AVG=0
POWER_SUPPLY_HEALTH=Good
POWER_SUPPLY_MANUFACTURER=Texas Instruments
debian@gta04:~$ 

Reply via email to