[Letux-kernel] Letux U-Boot 2016.11 for GTA04

Josua Mayer josua.mayer at jm0.eu
Mon Apr 17 02:34:11 CEST 2017



Am 16.04.2017 um 21:06 schrieb H. Nikolaus Schaller:
> Hi,
>
>> Am 16.04.2017 um 20:55 schrieb Josua Mayer <josua.mayer at jm0.eu>:
>>
>> Hi Nikolaus,
>>
>> Am 16.04.2017 um 16:06 schrieb H. Nikolaus Schaller:
>>> Hi Josua,
>>>
>>>> Am 16.04.2017 um 15:18 schrieb Josua Mayer <josua.mayer at jm0.eu>:
>>>>
>>>> Hi Nikolaus,
>>>>
>>>> It's been a while, and I finally got around to looking at this subject once more:
>>> yes, holidays with not so nice weather gives a good opportunity to look at things... I am currently taking another look into the camera driver...
>>>
>>>> So the variables in question are usually set in the include/configs/<board>.h file. We should be doing the same thing for the GTA04 / letux devices.
>>>>
>>>> However right now there is an onion-chain involved:
>>>> letux_gta04bY.h -> letux_gta04.h -> letux_beagle.h -> omap3_beagle.h
>>>>
>>>> So the most natural place to implement distro support is omap3_beagle.h.
>>>> Now why is this a problem? omap3_beagle.h does *not* implement distro support. Furthermore it has a huge set of predefined environment variables where there is great danger of breaking stuff, and much care has to be taken.
>>>> Furthermore this huge number of preexisting environment variables are confusing to newcomers.
>>> No only for newcomers...
> should have been "Not only for newcomers..."
Definitely.
>
>>>> I believe include/configs/mx6cuboxi.h is a good example for minimum set of variables.
>>>> 1)
>>>> I would much more prefer a minimal clean-room implementation. Is there a good reason to carry all the magic that has been done for the beagleboard? Or would it be reasonably easy coming up with a self-contained letux_gta04.h?
>>> Well, the problem is that I did not want to touch it too much. I simply assume(d) that they know what they do in omap3_beagle.h and every variable must have reason to be there (even if I don't understand it). And a big team has tested it (at least I hope).
>>>
>>> So the philosophy is: if the BeagleBoard stuff is "good enough" and does not harm, let's keep it. Never touch a running system... Considering the scarce resources we have, such a philosophy saves us time...
>>>
>>> Therefore I prefer to focus on kernel and rootfs. IMHO U-Boot just must be hacked to work and then be left alone for the next years :)
>>>
>>> So the "must be hacked and be left alone" strategy would mean that we just add code to set the _r variables as needed.
>>> Maybe you can propose a patch?
>>>
>>> The alternative would be that we ask BeagleBoard U-Boot maintainers if there is some distro support planned in omap3_beagle.h. Then we could simply rebase on newer U-Boot and get their changes into our code as well.
>> Guess what: It has been done.
>> I just checked mainline u-boot, and omap3_beagle now uses it!
> Wow! Sometimes others have almost solved issues for us...
>
>> So I will try to cherry-pick the relevant patches and see if that gets
>> me any further.
> I will keep fingers crossed. Sometimes cherry-picking doesn't work out well.
It worked!
So the distro bootcode looks for boot.scr first, and loads your magical
boot-script by default.
I then renamed it to force the distro code to try out more options. Last
resort is an efi image!!!

So with a slightly patched grub2 package (already in mainline, Debian is
just too slow updating their package), I can now boot the letux 4.10.10
via grub2 fully automatic.

As a teaser, find attached the boot log.
>
> Hm. is it already done in v2017.03? Then we could try to rebase our stuff (hoping that we will not get too many regressions elsewhere). But again this may introduce more problems than it solves...
According to the commits date it might already have been in 2016.12, so
it for sure is in 2017.03.
>
>>> So it boils down to:
>>> - yes, a clean self-contained letux_beagle.h (not letux_gta04.h because the same U-Boot should run on a BeagleBoard) would be a nice thing
>>> - no, because it is additional work that does not improve kernel and user-space
>>>
>>> Let's throw dice :)
>> I really like the yes part, but it is a lot of work.
> Yes, it is nicer, but sometimes it is wiser to resist touching running systems :)
>
> BR,
> Nikolaus
>
>>>> 2)
>>>> most boards seem to implement findfdt as a set of u-boot commands that parse variables such as board_name, board_rev provided by the boardfile, to set the fdtfile variable.
>>>> Why is this logic currently in the boardfile?
>>> Because it was before in our old 2011 based U-Boot and omap boards don't do it that way. And it is quite simple... And does not depend on u-boot commands or specific boot scripts. And can't be disturbed by the user. So it should be more reliable.
>>>
>>> The real reason is that it was easier to hack into the board file than into the boot variables.
>>>
>>>> I don't think it makes a big difference, but its name should definitely be changed from devicetree to fdtfile.
>>> The "mux" and "devicetree" variables are outdated and are there only for compatibility reasons to older kernels (e.g. if you want to boot our 3.12) and boot systems. I think they are not used any more but also should not harm if they exist.
>>> BR,
>>> Nikolaus
>> _______________________________________________
>> http://projects.goldelico.com/p/gta04-kernel/
>> Letux-kernel mailing list
>> Letux-kernel at openphoenux.org
>> http://lists.goldelico.com/mailman/listinfo.cgi/letux-kernel
>
>
> _______________________________________________
> http://projects.goldelico.com/p/gta04-kernel/
> Letux-kernel mailing list
> Letux-kernel at openphoenux.org
> http://lists.goldelico.com/mailman/listinfo.cgi/letux-kernel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.goldelico.com/pipermail/letux-kernel/attachments/20170417/0bf6276a/attachment-0001.html>
-------------- next part --------------
60                                         
U-Boot SPL 2016.11-00237-g7eae1702ba (Apr 16 2017 - 20:59:05)
Trying to boot from MMC1
pop_mfr = 00 pop_id = 00
reading u-boot.img
spl: payload image: U-Boot 2016.11-00237-g7eae1702ba load addr: 0x800fffc0 size: 383576
reading u-boot.img
Jumping to U-Boot
loaded - jumping to U-Boot...

U-Boot 2016.11-00237-g7eae1702ba (Apr 16 2017 - 20:59:05 +0200)

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  1  0 
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
reading /omap3-beagle-xm.dtb
64790 bytes read in 12 ms (5.1 MiB/s)
Found EFI removable media binary efi/boot/bootarm.efi
reading efi/boot/bootarm.efi
88064 bytes read in 17 ms (4.9 MiB/s)
## Starting EFI application at 0x80200000 ...
Scanning disks on usb...
Scanning disks on mmc...
MMC Device 1 not found
MMC Device 2 not found
MMC Device 3 not found
Found 5 disks
[?25h[?25lerror: no suitable video mode found.

error: no video mode activated.

[?25lGNU GRUB  version 2.02~beta3-5sr1



????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????     Use the ? and ? keys to select which entry is highlighted.          

      Press enter to boot the selected OS, `e' to edit the commands     

      before booting or `c' for a command-line.                          *Debian GNU/Linux 9 (stretch) (on /dev/mmcblk0p2)                            Advanced options for Debian GNU/Linux 9 (stretch) (on /dev/mmcblk0p2)       Debian GNU/Linux 9 (stretch) (on /dev/mmcblk0p2) (Letux)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   The highlighted entry will be executed automatically in 5s.                    The highlighted entry will be executed automatically in 4s.                                                                                                                                                                                Debian GNU/Linux 9 (stretch) (on /dev/mmcblk0p2)                           *Advanced options for Debian GNU/Linux 9 (stretch) (on /dev/mmcblk0p2)       Advanced options for Debian GNU/Linux 9 (stretch) (on /dev/mmcblk0p2)      *Debian GNU/Linux 9 (stretch) (on /dev/mmcblk0p2) (Letux)                   [?25h[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.10.10-letux+ (hns at iMac.local) (gcc version 4.9.2 (GCC) ) #967 SMP PREEMPT Fri Apr 14 09:48:25 CEST 2017
[    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: TI OMAP3 BeagleBoard xM
[    0.000000] debug: ignoring loglevel setting.
[    0.000000] debug: ignoring loglevel setting.
[    0.000000] cma: Reserved 16 MiB at 0xbe800000
[    0.000000] Memory policy: Data cache writeback
[    0.000000] On node 0 totalpages: 261632
[    0.000000] free_area_init_node: node 0, pgdat c0ca3f80, node_mem_map ef7f9000
[    0.000000]   Normal zone: 1536 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 196608 pages, LIFO batch:31
[    0.000000]   HighMem zone: 65024 pages, LIFO batch:15
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] OMAP3630 ES1.2 (l2cache iva sgx neon isp 192mhz_clk)
[    0.000000] percpu: Embedded 15 pages/cpu @ef7a7000 s31744 r8192 d21504 u61440
[    0.000000] pcpu-alloc: s31744 r8192 d21504 u61440 alloc=15*4096
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260096
[    0.000000] Kernel command line: BOOT_IMAGE=/zImage console=ttyO2,115200n8 mtdoops.mtddev=omap2.nand ubi.mtd=4 root=/dev/mmcblk0p2 rw rootfstype=ext4,ext3 rootwait console=ttyO2,115200n8 vram=12M omapfb.vram=0:8M,1:4M omapfb.rotate_type=0 omapdss.def_disp=lcd rootwait twl4030_charger.allow_usb=1 musb_hdrc.preserve_vbus=1 log_buf_len=8M ignore_loglevel earlyprintk console=ttyO2,115200n8 vram=12M omapfb.vram=0:8M,1:4M omapfb.rotate_type=0 omapdss.def_disp=lcd rootwait twl4030_charger.allow_usb=1 musb_hdrc.preserve_vbus=1 log_buf_len=8M ignore_loglevel earlyprintk
[    0.000000] log_buf_len: 8388608 bytes
[    0.000000] early log buf free: 63580(97%)
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    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: 992536K/1046528K available (7168K kernel code, 679K rwdata, 2204K rodata, 1024K init, 8059K bss, 37608K 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 : 0xc0008000 - 0xc0800000   (8160 kB)
[    0.000000]       .init : 0xc0b00000 - 0xc0c00000   (1024 kB)
[    0.000000]       .data : 0xc0c00000 - 0xc0ca9ef8   ( 680 kB)
[    0.000000]        .bss : 0xc0ca9ef8 - 0xc1488e5c   (8060 kB)
[    0.000000] Running RCU self tests
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] 	RCU lockdep checking is enabled.
[    0.000000] 	Build-time adjustment of leaf fanout to 32.
[    0.000000] 	RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=1
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] IRQ: Found an INTC at 0xfa200000 (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.000030] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 65535999984741ns
[    0.000030] OMAP clocksource: 32k_counter at 32768 Hz
[    0.002105] Console: colour dummy device 80x30
[    0.002136] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
[    0.002166] ... MAX_LOCKDEP_SUBCLASSES:  8
[    0.002166] ... MAX_LOCK_DEPTH:          48
[    0.002197] ... MAX_LOCKDEP_KEYS:        8191
[    0.002197] ... CLASSHASH_SIZE:          4096
[    0.002227] ... MAX_LOCKDEP_ENTRIES:     32768
[    0.002227] ... MAX_LOCKDEP_CHAINS:      65536
[    0.002227] ... CHAINHASH_SIZE:          32768
[    0.002258]  memory used by lock dependency info: 5167 kB
[    0.002258]  per task-struct memory footprint: 1536 bytes
[    0.002319] Calibrating delay loop... 594.73 BogoMIPS (lpj=2973696)
[    0.105529] pid_max: default: 32768 minimum: 301
[    0.106109] Security Framework initialized
[    0.106292] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.106323] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.111633] CPU: Testing write buffer coherency: ok
[    0.114593] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[    0.135711] Setting up static identity map for 0x80100000 - 0x80100058
[    0.205444] smp: Bringing up secondary CPUs ...
[    0.205474] smp: Brought up 1 node, 1 CPU
[    0.205505] SMP: Total of 1 processors activated (594.73 BogoMIPS).
[    0.205505] CPU: All CPU(s) started in SVC mode.
[    0.211608] devtmpfs: initialized
[    0.356414] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    0.395812] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.395904] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.399230] pinctrl core: initialized pinctrl subsystem
[    0.412689] NET: Registered protocol family 16
[    0.424377] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.541473] omap_hwmod: mcbsp2_sidetone using broken dt data from mcbsp
[    0.544830] omap_hwmod: mcbsp3_sidetone using broken dt data from mcbsp
[    0.700500] Reprogramming SDRC clock to 400000000 Hz
[    0.735412] omap_gpio 48310000.gpio: could not find pctldev for node /ocp at 68000000/l4 at 48000000/scm at 2000/pinmux at a00/pinmux_gpio1_pins, deferring probe
[    0.753021] OMAP GPIO hardware version 2.5
[    0.817016] irq: no irq domain found for /ocp at 68000000/l4 at 48000000/scm at 2000/pinmux at 30 !
[    0.881866] omap-gpmc 6e000000.gpmc: GPMC revision 5.0
[    0.882171] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
[    0.922058] No ATAGs?
[    0.922088] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.925811] omap4_sram_init:Unable to allocate sram needed to handle errata I688
[    0.925842] omap4_sram_init:Unable to get sram pool needed to handle errata I688
[    0.928100] OMAP DMA hardware revision 5.0
[    1.272094] omap-dma-engine 48056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)
[    1.294921] omap-iommu 480bd400.mmu: 480bd400.mmu registered
[    1.304840] SCSI subsystem initialized
[    1.308197] libata version 3.00 loaded.
[    1.312683] usbcore: registered new interface driver usbfs
[    1.316467] usbcore: registered new interface driver hub
[    1.317565] usbcore: registered new device driver usb
[    1.330169] omap_i2c 48070000.i2c: bus 0 rev4.4 at 2600 kHz
[    1.335052] omap_i2c 48072000.i2c: bus 1 rev4.4 at 400 kHz
[    1.338256] omap_i2c 48060000.i2c: bus 2 rev4.4 at 100 kHz
[    1.342895] Advanced Linux Sound Architecture Driver Initialized.
[    1.365600] clocksource: Switched to clocksource 32k_counter
[    1.590423] VFS: Disk quotas dquot_6.6.0
[    1.590698] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.716888] NET: Registered protocol family 2
[    1.721801] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    1.722076] TCP bind hash table entries: 8192 (order: 6, 294912 bytes)
[    1.727539] TCP: Hash tables configured (established 8192 bind 8192)
[    1.727935] UDP hash table entries: 512 (order: 3, 40960 bytes)
[    1.728576] UDP-Lite hash table entries: 512 (order: 3, 40960 bytes)
[    1.730346] NET: Registered protocol family 1
[    1.741729] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
[    1.761383] audit: initializing netlink subsys (disabled)
[    1.783782] workingset: timestamp_bits=30 max_order=18 bucket_order=0
[    1.797546] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    1.813873] bounce: pool size: 64 pages
[    1.814178] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    1.814361] io scheduler noop registered
[    1.814392] io scheduler deadline registered
[    1.814514] io scheduler cfq registered (default)
[    1.824645] pinctrl-single 48002030.pinmux: 284 pins at pa fa002030 size 568
[    1.827667] pinctrl-single 48002a00.pinmux: 46 pins at pa fa002a00 size 92
[    1.829650] pinctrl-single 480025a0.pinmux: 46 pins at pa fa0025a0 size 92
[    1.854553] DTR_gpio -2 inverted 0
[    1.854583] DTR_gpio -22 inverted 0
[    1.854614] omap_uart 4806a000.serial: no wakeirq for uart0
[    1.857971] 4806a000.serial: ttyO0 at MMIO 0x4806a000 (irq = 88, base_baud = 3000000) is a OMAP UART0
[    1.861846] DTR_gpio -2 inverted 0
[    1.861877] DTR_gpio -22 inverted 0
[    1.861907] omap_uart 4806c000.serial: no wakeirq for uart1
[    1.862548] 4806c000.serial: ttyO1 at MMIO 0x4806c000 (irq = 89, base_baud = 3000000) is a OMAP UART1
[    1.867309] DTR_gpio -2 inverted 0
[    1.867340] DTR_gpio -22 inverted 0
[    1.867706] 49020000.serial: ttyO2 at MMIO 0x49020000 (irq = 90, base_baud = 3000000) is a OMAP UART2
[    2.645904] random: fast init done
[    2.767272] console [ttyO2] enabled
[    2.773803] DTR_gpio -2 inverted 0
[    2.778045] DTR_gpio -22 inverted 0
[    2.781738] omap_uart 49042000.serial: no wakeirq for uart3
[    2.788482] 49042000.serial: ttyO3 at MMIO 0x49042000 (irq = 96, base_baud = 3000000) is a OMAP UART3
[    3.064178] brd: module loaded
[    3.203826] loop: module loaded
[    3.257507] twl 0-0048: PIH (irq 23) chaining IRQs 305..313
[    3.264007] twl 0-0048: power (irq 310) chaining IRQs 313..320
[    3.289550] usb_1v8: Bringing 2800000uV into 1800000-1800000uV
[    3.528045] libphy: Fixed MDIO Bus: probed
[    3.554168] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.563995] usbcore: registered new interface driver usb-storage
[    3.574798] mousedev: PS/2 mouse device common for all mice
[    3.591003] twl_rtc 48070000.i2c:twl at 48:rtc: Enabling TWL-RTC
[    3.603759] twl_rtc 48070000.i2c:twl at 48:rtc: rtc core: registered 48070000.i2c:twl at 48 as rtc0
[    3.616638] i2c /dev entries driver
[    3.627349] Driver for 1-wire Dallas network protocol.
[    3.638946] ti-soc-thermal 48002524.bandgap: This OMAP thermal sensor is unreliable. You've been warned
[    3.650360] ti-soc-thermal 48002524.bandgap: Non-trimmed BGAP, Temp not accurate
[    3.660766] (NULL device *): hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info().
[    3.685180] omap_wdt: OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec
[    3.791412] ledtrig-cpu: registered to indicate activity on CPUs
[    3.801361] usbcore: registered new interface driver usbhid
[    3.810729] usbhid: USB HID core driver
[    3.815979] ashmem: initialized
[    3.832153] oprofile: using arm/armv7
[    3.838867] Initializing XFRM netlink socket
[    3.843505] NET: Registered protocol family 17
[    3.848815] NET: Registered protocol family 15
[    3.854034] Key type dns_resolver registered
[    3.860473] omap2_set_init_voltage: unable to find boot up OPP for vdd_core
[    3.868041] omap2_set_init_voltage: unable to set vdd_core
[    3.878173] ThumbEE CPU extension supported.
[    3.882690] Registering SWP/SWPB emulation handler
[    3.888793] SmartReflex Class3 initialized
[    3.993438] UBI error: cannot open mtd 4, error -19
[    3.996520] input: gpio_keys as /devices/platform/gpio_keys/input/input0
[    4.017730] twl_rtc 48070000.i2c:twl at 48:rtc: setting system clock to 2017-04-17 00:31:52 UTC (1492389112)
[    4.028717] sr_init: No PMIC hook to init smartreflex
[    4.034576] smartreflex smartreflex.0: invalid resource
[    4.040283] smartreflex smartreflex.0: omap_sr_probe: ioremap fail
[    4.047058] smartreflex: probe of smartreflex.0 failed with error -22
[    4.054016] smartreflex smartreflex.1: invalid resource
[    4.059875] smartreflex smartreflex.1: omap_sr_probe: ioremap fail
[    4.066558] smartreflex: probe of smartreflex.1 failed with error -22
[    4.074676] sr_init: platform driver register failed for SR
[    4.084106] VAUX3: disabling
[    4.088714] VDAC: disabling
[    4.092742] VUSB1V5: disabling
[    4.096832] VUSB1V8: disabling
[    4.100769] VUSB3V1: disabling
[    4.104705] VPLL2: disabling
[    4.108551] ALSA device list:
[    4.111663]   No soundcards found.
[    4.121063] Waiting for root device /dev/mmcblk0p2...
[    4.337799] mmc0: host does not support reading read-only switch, assuming write-enable
[    4.349273] mmc0: new high speed SDHC card at address 59b4
[    4.373474] mmcblk0: mmc0:59b4 00000 29.9 GiB 
[    4.387023]  mmcblk0: p1 p2
[    4.485046] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    4.493988] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    4.519622] devtmpfs: mounted
[    4.527099] Freeing unused kernel memory: 1024K
[    5.899688] NET: Registered protocol family 10
[    5.928009] Segment Routing with IPv6
[    6.012207] ip_tables: (C) 2000-2006 Netfilter Core Team
[    6.162719] systemd[1]: systemd 232 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
[    6.183654] systemd[1]: Detected architecture arm.

Welcome to Debian GNU/Linux 9 (stretch)!

[    6.229217] systemd[1]: Set hostname to <letux>.
[    7.327819] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[    7.367767] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[    7.407073] systemd[1]: Listening on Syslog Socket.
[  OK  ] Listening on Syslog Socket.
[    7.446563] systemd[1]: Reached target Remote File Systems.
[  OK  ] Reached target Remote File Systems.
[    7.488403] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
[    7.528289] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[    7.567047] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Reached target Paths.
[  OK  ] Created slice System Slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
         Starting Load Kernel Modules...
         Mounting Debug File System...
         Starting Create list of required st…ce nodes for the current kernel...
         Mounting POSIX Message Queue File System...
         Starting Remount Root and Kernel File Systems...
[  OK  ] Reached target Encrypted Volumes.
[  OK  ] Listening on Journal Audit Socket.
[    8.300140] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
         Starting Journal Service...
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Created slice User and Session Slice.
[  OK  ] Reached target Slices.
[  OK  ] Created slice system-getty.slice.
[  OK  ] Reached target Swap.
[  OK  ] Set up automount Arbitrary Executab…rmats File System Automount Point.
[  OK  ] Mounted Debug File System.
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Started Journal Service.
[  OK  ] Started Load Kernel Modules.
[  OK  ] Started Create list of required sta…vice nodes for the current kernel.
[  OK  ] Started Remount Root and Kernel File Systems.
         Starting Load/Save Random Seed...
         Starting udev Coldplug all Devices...
         Starting Create Static Device Nodes in /dev...
         Starting Apply Kernel Variables...
         Starting Flush Journal to Persistent Storage...
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Started Create Static Device Nodes in /dev.
[    9.538696] systemd-journald[881]: Received request to flush runtime journal from PID 1
         Starting udev Kernel Device Manager...
[  OK  ] Reached target Local File Systems (Pre).
[  OK  ] Started Flush Journal to Persistent Storage.
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Started udev Coldplug all Devices.
[   13.047210] 48050000.dss supply vdda_video not found, using dummy regulator
[   13.147552] OMAP DSS rev 2.0
[   13.151733] omapdss_dss 48050000.dss: bound 48050400.dispc (ops dispc_component_ops [omapdss])
[   13.299804] omapdss_dss 48050000.dss: bound 48050c00.encoder (ops venc_component_ops [omapdss])
[   13.486877] ehci-omap: OMAP-EHCI Host Controller driver
[   13.493438] devm_usb_get_phy_by_phandle(..., phys, 0)
[   13.615142] devm_usb_get_phy_by_phandle(..., phys, 1)
[   13.657440] devm_usb_get_phy_by_node(ee38d010 48064800.ehci, ef7f776c hsusb2_phy,   (null))
[   13.675262] twl4030_keypad 48070000.i2c:twl at 48:keypad: OF: linux,keymap property not defined in /ocp at 68000000/i2c at 48070000/twl at 48/keypad
[   13.675262] twl4030_keypad 48070000.i2c:twl at 48:keypad: Failed to build keymap
[   13.675354] twl4030_keypad: probe of 48070000.i2c:twl at 48:keypad failed with error -2
[   13.756927] input: twl4030_pwrbutton as /devices/platform/68000000.ocp/48070000.i2c/i2c-0/0-0048/48070000.i2c:twl at 48:pwrbutton/input/input2
[   13.839294] twl4030_madc 48070000.i2c:twl at 48:madc: clk disabled, enabling
[   13.847320] 48070000.i2c:twl at 48:madc supply vusb3v1 not found, using dummy regulator
[   13.896301] devm_usb_get_phy_by_node(ee60ec10 48070000.i2c:twl at 48:bci, ef7ecacc twl4030-usb, ed1fed20)
[   13.896697] phy = fffffdfb
[   13.909729] devm_usb_get_phy_by_node(ee60ec10 48070000.i2c:twl at 48:bci, ef7ecacc twl4030-usb, ed1fed20)
[   13.909820] phy = fffffdfb
[   14.374359] twl4030_gpio twl4030-gpio: can't dispatch IRQs from modules
[   14.434020] usb_add_phy_dev nop-xceiv
[   14.435058] devm_usb_get_phy_by_node(ee60ec10 48070000.i2c:twl at 48:bci, ef7ecacc twl4030-usb, ed1fec20)
[   14.435089] twl4030-usb : hsusb2_phy
[   14.435089] phy = fffffdfb
[   14.624511] musb_hdrc: unknown parameter 'preserve_vbus' ignored
[   14.624511] musb_hdrc: unknown parameter 'preserve_vbus' ignored
[   14.686004] omap_hdq 480b2000.1w: OMAP HDQ Hardware Rev 0.5. Driver in Interrupt mode
[   14.711334] devm_usb_get_phy_by_node(ee60ec10 48070000.i2c:twl at 48:bci, ef7ecacc twl4030-usb, ed1fec20)
[   14.711364] twl4030-usb : hsusb2_phy
[   14.711364] phy = fffffdfb
[   14.747955] devm_usb_get_phy_by_node(ee60ec10 48070000.i2c:twl at 48:bci, ef7ecacc twl4030-usb, ed1fec20)
[   14.747985] twl4030-usb : hsusb2_phy
[   14.747985] phy = fffffdfb
[   14.793426] devm_usb_get_phy_by_node(ee60ec10 48070000.i2c:twl at 48:bci, ef7ecacc twl4030-usb, ed1fec20)
[   14.793426] twl4030-usb : hsusb2_phy
[   14.793457] phy = fffffdfb
[   14.807861] devm_usb_get_phy_by_phandle(..., usb-phy, 0)
[   14.807922] devm_usb_get_phy_by_node(ee2a7c10 480ab000.usb_otg_hs, ef7ecacc twl4030-usb,   (null))
[   14.807952] twl4030-usb : hsusb2_phy
[   14.807952] phy = fffffdfb
[   14.807983] xceiv = fffffdfb
[   14.807983] phy = ed226400
[   14.817138] devm_usb_get_phy_by_node(ee60ec10 48070000.i2c:twl at 48:bci, ef7ecacc twl4030-usb, ed1fec20)
[   14.817169] twl4030-usb : hsusb2_phy
[   14.817169] phy = fffffdfb
[   14.818054] devm_usb_get_phy_by_phandle(..., usb-phy, 0)
[   14.818115] devm_usb_get_phy_by_node(ee2a7c10 480ab000.usb_otg_hs, ef7ecacc twl4030-usb,   (null))
[   14.818115] twl4030-usb : hsusb2_phy
[   14.818145] phy = fffffdfb
[   14.818145] xceiv = fffffdfb
[   14.818145] phy = ed226400
[   14.821350] usb_add_phy_dev twl4030
[   14.919799] media: Linux media interface: v0.10
[   14.988464] twl4030_usb 48070000.i2c:twl at 48:twl4030-usb: Initialized TWL4030 USB module
[   14.989562] devm_usb_get_phy_by_node(ee60ec10 48070000.i2c:twl at 48:bci, ef7ecacc twl4030-usb, ed1feb20)
[   14.989593] twl4030-usb : hsusb2_phy
[   14.989593] twl4030-usb : twl4030-usb
[   14.989593] phy = ed235610
[   15.023529] devm_usb_get_phy_by_phandle(..., usb-phy, 0)
[   15.023559] devm_usb_get_phy_by_node(ee2a7c10 480ab000.usb_otg_hs, ef7ecacc twl4030-usb,   (null))
[   15.023590] twl4030-usb : hsusb2_phy
[   15.023590] twl4030-usb : twl4030-usb
[   15.023590] phy = ed235610
[   15.023590] xceiv = ed235610
[   15.023620] phy = ed226400
[   15.024688] musb-hdrc musb-hdrc.0.auto: MUSB HDRC host driver
[   15.039947] musb-hdrc musb-hdrc.0.auto: new USB bus registered, assigned bus number 1
[   15.043182] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[   15.043212] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   15.043212] usb usb1: Product: MUSB HDRC host driver
[   15.043212] usb usb1: Manufacturer: Linux 4.10.10-letux+ musb-hcd
[   15.043212] usb usb1: SerialNumber: musb-hdrc.0.auto
[   15.067016] hub 1-0:1.0: USB hub found
[   15.068725] hub 1-0:1.0: 1 port detected
[   15.341766] Linux video capture interface: v2.00
[   15.367980] omap-mcbsp 49022000.mcbsp: Cannot get pinctrl: -19
[   15.689300] connector-dvi connector0: failed to find video source
[   15.959289] OF: graph: no port node found in /ocp at 68000000/isp at 480bc000/ports
[   15.959381] 480bc000.isp supply vdd-csiphy1 not found, using dummy regulator
[   15.959716] 480bc000.isp supply vdd-csiphy2 not found, using dummy regulator
[   15.960235] omap3isp 480bc000.isp: Revision 15.0 found
[   16.014373] omap-twl4030 sound: ASoC: CPU DAI (null) not registered
[   16.014404] omap-twl4030 sound: devm_snd_soc_register_card() failed: -517
[   16.037780] iommu: Adding device 480bc000.isp to group 0
[   16.038604] omap-iommu 480bd400.mmu: 480bd400.mmu: version 1.1
[   16.039672] omap3isp 480bc000.isp: hist: using DMA channel dma0chan2
[   16.039764] omap3isp 480bc000.isp: Entity type for entity OMAP3 ISP CCP2 was not initialized!
[   16.075103] omap3isp 480bc000.isp: Entity type for entity OMAP3 ISP CSI2a was not initialized!
[   16.156799] omap3isp 480bc000.isp: Entity type for entity OMAP3 ISP CCDC was not initialized!
[   16.157958] omap3isp 480bc000.isp: Entity type for entity OMAP3 ISP preview was not initialized!
[   16.194641] omap3isp 480bc000.isp: Entity type for entity OMAP3 ISP resizer was not initialized!
[   16.207946] omap3isp 480bc000.isp: Entity type for entity OMAP3 ISP AEWB was not initialized!
[   16.207977] omap3isp 480bc000.isp: Entity type for entity OMAP3 ISP AF was not initialized!
[   16.208007] omap3isp 480bc000.isp: Entity type for entity OMAP3 ISP histogram was not initialized!
[   16.276885] omap3isp 480bc000.isp: OMAP3 ISP AEWB: all buffers were freed.
[   16.276885] omap3isp 480bc000.isp: OMAP3 ISP AF: all buffers were freed.
[   16.276977] omap3isp 480bc000.isp: OMAP3 ISP histogram: all buffers were freed.
[   16.277618] iommu: Removing device 480bc000.isp from group 0
[   16.278442] clk_unregister: unregistering prepared clock: cam_xclka
[   16.278839] clk_unregister: unregistering prepared clock: cam_xclkb
[   16.280059] omap3isp: probe of 480bc000.isp failed with error -22
[   17.074645] [drm] Initialized
[   17.846405] 48050000.dss supply vdds_dsi not found, using dummy regulator
[   17.899108] (NULL device *): hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info().
[   17.909240] bq27000-battery bq27000-battery: support ver. 1.2.0 enabled
[   17.913146] omapdrm omapdrm.0: DMM not available, disable DMM support
[   17.928558] bq27000-battery bq27000-battery: battery is not calibrated! ignoring capacity values
[   17.973236] omap-twl4030 sound: ASoC: CPU DAI (null) not registered
[   17.974212] omap-twl4030 sound: devm_snd_soc_register_card() failed: -517
[   18.077728] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[   18.077758] [drm] No driver support for vblank timestamp query.
[   18.116455] omapdrm omapdrm.0: Tiled buffers require DMM
[  OK  ] Found device /dev/ttyO2.
[   18.899047] hsusb2_phy : hsusb2_phy
[   18.899047] phy = ed156b50
[   18.902954] Console: switching to colour frame buffer device 90x35
[   19.035736] devm_usb_get_phy_by_phandle(..., phys, 2)
[   19.035919] ehci-omap 48064800.ehci: EHCI Host Controller
[   19.099487] ehci-omap 48064800.ehci: new USB bus registered, assigned bus number 2
[   19.102844] ehci-omap 48064800.ehci: irq 93, io mem 0x48064800
[   19.126007] ehci-omap 48064800.ehci: USB 2.0 started, EHCI 1.00
[   19.128295] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[   19.128295] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   19.128326] usb usb2: Product: EHCI Host Controller
[   19.128326] usb usb2: Manufacturer: Linux 4.10.10-letux+ ehci_hcd
[   19.128326] usb usb2: SerialNumber: 48064800.ehci
[   19.241149] hub 2-0:1.0: USB hub found
[   19.275878] hub 2-0:1.0: 3 ports detected
[   19.283264] omap-twl4030 sound: ASoC: CPU DAI (null) not registered
[   19.283294] omap-twl4030 sound: devm_snd_soc_register_card() failed: -517
[   19.286712] omap-twl4030 sound: ASoC: CPU DAI (null) not registered
[   19.286743] omap-twl4030 sound: devm_snd_soc_register_card() failed: -517
[   19.290191] omap-twl4030 sound: ASoC: CPU DAI (null) not registered
[   19.290222] omap-twl4030 sound: devm_snd_soc_register_card() failed: -517
[  OK  [0[   19.450500] omapdrm omapdrm.0: fb0: omapdrm frame buffer device
m] Found device /dev/mmcblk0p1.
[   19.496185] [drm] Initialized omapdrm 1.0.0 20110917 on minor 0
[   19.503662] omap-twl4030 sound: ASoC: CPU DAI (null) not registered
[   19.530120] omap-twl4030 sound: devm_snd_soc_register_card() failed: -517
[  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
         Mounting /boot...
[   19.994140] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[  OK  ] Mounted /boot.
[  OK  ] Reached target Local File Systems.
         Starting Create Volatile Files and Directories...
         Starting Raise network interfaces...
[  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 Network Time Synchronization.
[  OK  ] Reached target System Time Synchronized.
[  OK  ] Reached target System Initialization.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
         Starting Avahi mDNS/DNS-SD Stack...
[  OK  ] Started D-Bus System Message Bus.
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
[  OK  ] Started irqbalance daemon.
         Starting RealtimeKit Scheduling Policy Service...
[  OK  ] Started Daily apt activities.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Timers.
         Starting System Logging Service...
[  OK  ] Started Regular background program processing daemon.
         Starting LSB: Speech Dispatcher...
         Starting LSB: Starts and stops Wicd...
         Starting Login Service...
[  OK  ] Started System Logging Service.
[   25.053741] random: crng init done
[  OK  ] Started RealtimeKit Scheduling Policy Service.
[  OK  ] Started LSB: Speech Dispatcher.
[  OK  ] Started Login Service.
[FAILED] Failed to start Raise network interfaces.
See 'systemctl status networking.service' for details.
[  OK  ] Reached target Network.
         Starting Permit User Sessions...
         Starting OpenBSD Secure Shell server...
[  OK  ] Started Permit User Sessions.
         Starting Light Display Manager...
[  OK  ] Started Serial Getty on ttyO2.
[  OK  ] Started Getty on tty1.
[  OK  ] Reached target Login Prompts.
[  OK  ] Started OpenBSD Secure Shell server.
[  OK  ] Started Light Display Manager.
[  OK  ] Started LSB: Starts and stops Wicd.
[  OK  ] Reached target Multi-User System.
[  OK  ] Reached target Graphical Interface.
         Starting Update UTMP about System Runlevel Changes...
[  OK  ] Started Update UTMP about System Runlevel Changes.


Debian GNU/Linux 9 letux ttyO2

letux login: [   32.627960] omapdrm omapdrm.0: Tiled buffers require DMM
[   34.242004] omapdrm omapdrm.0: Tiled buffers require DMM
[   35.822540] omapdrm omapdrm.0: Tiled buffers require DMM
[   37.111175] omapdrm omapdrm.0: Tiled buffers require DMM
[   38.144531] omapdrm omapdrm.0: Tiled buffers require DMM
[   39.263977] omapdrm omapdrm.0: Tiled buffers require DMM
[   40.299377] omapdrm omapdrm.0: Tiled buffers require DMM
[   41.489685] omapdrm omapdrm.0: Tiled buffers require DMM
[   42.629699] omapdrm omapdrm.0: Tiled buffers require DMM
[   43.685363] omapdrm omapdrm.0: Tiled buffers require DMM


Debian GNU/Linux 9 letux ttyO2

letux login: root

Password: 
Last login: Mon Apr 17 00:29:29 UTC 2017 on ttyO2
Linux letux 4.10.10-letux+ #967 SMP PREEMPT Fri Apr 14 09:48:25 CEST 2017 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.
root at letux:~# cat /boot/grub/grub.cfg 
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}
function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_msdos
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root  e8296a3f-1270-4133-8f11-e65d3ef57be4
else
  search --no-floppy --fs-uuid --set=root e8296a3f-1270-4133-8f11-e65d3ef57be4
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=30
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=5
  # Fallback normal timeout code in case the timeout_style feature is
  # unavailable.
  else
    set timeout=5
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_msdos
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root  e8296a3f-1270-4133-8f11-e65d3ef57be4
else
  search --no-floppy --fs-uuid --set=root e8296a3f-1270-4133-8f11-e65d3ef57be4
fi
insmod png
if background_image /usr/share/desktop-base/softwaves-theme/grub/grub-4x3.png; then
  set color_normal=white/black
  set color_highlight=black/white
else
  set menu_color_normal=cyan/blue
  set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
	set gfxpayload="${1}"
}
set linux_gfx_mode=
export linux_gfx_mode

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Debian GNU/Linux 9 (stretch) (on /dev/mmcblk0p2)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-e8296a3f-1270-4133-8f11-e65d3ef57be4' {
	insmod part_msdos
	insmod fat
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root  C28E-7E0D
	else
	  search --no-floppy --fs-uuid --set=root C28E-7E0D
	fi
	linux /vmlinuz-4.9.0-2-armmp root=/dev/mmcblk0p2
	initrd /initrd.img-4.9.0-2-armmp
}
submenu 'Advanced options for Debian GNU/Linux 9 (stretch) (on /dev/mmcblk0p2)' $menuentry_id_option 'osprober-gnulinux-advanced-e8296a3f-1270-4133-8f11-e65d3ef57be4' {
	menuentry 'Debian GNU/Linux 9 (stretch) (on /dev/mmcblk0p2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-4.9.0-2-armmp--e8296a3f-1270-4133-8f11-e65d3ef57be4' {
		insmod part_msdos
		insmod fat
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root  C28E-7E0D
		else
		  search --no-floppy --fs-uuid --set=root C28E-7E0D
		fi
		linux /vmlinuz-4.9.0-2-armmp root=/dev/mmcblk0p2
		initrd /initrd.img-4.9.0-2-armmp
	}
}

### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.

menuentry 'Debian GNU/Linux 9 (stretch) (on /dev/mmcblk0p2) (Letux)' {
        insmod part_msdos
        insmod fat
        search --no-floppy --fs-uuid --set=root C28E-7E0D
        linux /zImage console=ttyO2,115200n8 mtdoops.mtddev=omap2.nand ubi.mtd=4 root=/dev/mmcblk0p2 rw rootfstype=ext4,ext3 rootwait console=ttyO2,115200n8 vram=12M omapfb.vram=0:8M,1:4M omapfb.rotate_type=0 omapdss.def_disp=lcd rootwait twl4030_charger.allow_usb=1 musb_hdrc.preserve_vbus=1 log_buf_len=8M ignore_loglevel earlyprintk
}
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
root at letux:~# ls /sys/class/ef        ef      proc/ef           shu   
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 512 bytes
Desc: OpenPGP digital signature
URL: <http://lists.goldelico.com/pipermail/letux-kernel/attachments/20170417/0bf6276a/attachment-0001.asc>


More information about the Letux-kernel mailing list