Fastboot Bubblegum-96


#1

Hi.

I’ve tried to use fastboot on Bubblegum-96, but unfortunately, I couldn’t do it.
I connected USB type1 cable to USB 3.0 and I used the same port (usb 3.0) on my computer.
The ADFU has been being pressed by myself for 5 seconds before I saw this device on my computer. I used the command lsusb and got Bus 001 Device 051: ID 10d6:10d6 Actions Semiconductor Co., Ltd.
Notwithstanding this success, when I use the command fastboot devices I don’t see devices. I used the command ls /dev/tty*, I didn’t see USB devices…

Can you help?
What should I do?

Everything I tried, it went down the drain.


#2

Hi Alexander

The ADFU button doesn’t enable fastboot, it enables a special debricking mode which uses a different protocol. There is a special tool (link) to help you de-brick the board but you shouldn’t need that tool unless you have bricked the board.

To enter fastboot mode you need to send commands to u-boot using a 1.8v TTL UART serial adapter such as the http://www.seeedstudio.com/depot/96Boards-UART-p-2525.html. Once you have access tor the serial port:

  • Power on the board.
<li>Mash the return button until u-boot gives you a prompt (there is a very short timeout, it is simplest just to keep mashing the button throughout the boot process).</li>

<li>Type "fastboot usb" at the u-boot prompt to enter fastboot mode.</li>

#3

Hello. I’ve bought the adapter.
But I have a few problems.
I use this Debian bubblegum-jessie_alip_20160325-15.emmc.img.gz
I did steps 10 steps. But when I start an 11 step I get some errors

owl> setenv bootpart 2; boot
boot from emmc card …
reading uEnv.txt
** Unable to read file uEnv.txt **
reading boot.scr
458 bytes read in 1 ms (447.3 KiB/s)
Jumping to boot.scr

Executing script at 10800000

reading Image
11244072 bytes read in 278 ms (38.6 MiB/s)
reading uInitrd
6128989 bytes read in 152 ms (38.5 MiB/s)
reading s900_96board.dtb
29959 bytes read in 3 ms (9.5 MiB/s)
Image lacks image_size field, assuming 16MiB

Loading init Ramdisk from Legacy Image at 01ffffc0 …

Image Name: initramfs
Image Type: AArch64 Linux RAMDisk Image (uncompressed)
Data Size: 6128925 Bytes = 5.8 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum … OK

Flattened Device Tree blob at 10000000

Booting using the fdt blob at 0x10000000
reserving fdt memory region: addr=19000000 size=3000000
reserving fdt memory region: addr=20000000 size=20000000
reserving fdt memory region: addr=18fff000 size=1000
reserving fdt memory region: addr=1f000000 size=1000000
Using Device Tree in place at 0000000010000000, end 000000001000a506
read_mi_head, line 467, magic 0x0, length 0, item num 0
read Head null
read bf-sn faild,errorcode:-1,
boot_append_bootargs_add, bootargs console=tty0 console=ttyS5,115200n8 root=/dev/disk/by-partlabel/SYSTEM rootwait rw actions.hdmi.mode=1920x1080@60

Starting kernel …

[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 3.10.52-linaro-bubblegum (buildslave@x86-64-07) (gcc version 4.9.2 20140904 (prerelease) (crosstool-NG linaro-1.13.1-4.9-2014.09 - Linaro GCC 4.9-2014.09) ) #1 SMP PREEMPT Fri Mar 25 07:38:33 UTC 2016
[ 0.000000] CPU: AArch64 Processor [410fd032] revision 2
[ 0.000000] Machine: s900
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] cma: CMA: reserved 64 MiB at 7c000000
[ 0.000000] psci: probing function IDs from device-tree
[ 0.000000] PERCPU: Embedded 12 pages/cpu @ffffffc07bfa2000 s19520 r8192 d21440 u49152
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 517120
[ 0.000000] Kernel command line: console=tty0 console=ttyS5,115200n8 root=/dev/disk/by-partlabel/SYSTEM rootwait rw actions.hdmi.mode=1920x1080@60
[ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
[ 0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
[ 0.000000] Memory: 2048MB = 2048MB total
[ 0.000000] Memory: 1391792k/1391792k available, 705360k reserved
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vmalloc : 0xffffff8000000000 - 0xffffffbbffff0000 (245759 MB)
[ 0.000000] vmemmap : 0xffffffbc00000000 - 0xffffffbc01c00000 ( 28 MB)
[ 0.000000] modules : 0xffffffbffc000000 - 0xffffffc000000000 ( 64 MB)
[ 0.000000] memory : 0xffffffc000000000 - 0xffffffc080000000 ( 2048 MB)
[ 0.000000] .init : 0xffffffc000a38000 - 0xffffffc000a95c40 ( 376 kB)
[ 0.000000] .text : 0xffffffc000080000 - 0xffffffc000a37a74 ( 9951 kB)
[ 0.000000] .data : 0xffffffc000a96000 - 0xffffffc000b39228 ( 653 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] NR_IRQS:64 nr_irqs:64 0
[ 0.000000] [OWL] init sirqs, nr_sirq 3
[ 0.000000] Architected cp15 timer(s) running at 24.00MHz (phys).
[ 0.000000] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 2863311519744ns
[ 0.000000] [OWL] timer initialization
[ 0.000000] Console: colour dummy device 80x25
[ 0.000000] console [tty0] enabled
[ 0.000562] Calibrating delay loop (skipped), value calculated using timer frequency… 48.00 BogoMIPS (lpj=240000)
[ 0.000562] pid_max: default: 32768 minimum: 301
[ 0.000687] Security Framework initialized
[ 0.000687] SELinux: Disabled at boot.
[ 0.000749] Mount-cache hash table entries: 256
[ 0.004906] Initializing cgroup subsys debug
[ 0.004906] Initializing cgroup subsys freezer
[ 0.005124] /cpus/cpu@0: Missing clock-frequency property
[ 0.005156] /cpus/cpu@1: Missing clock-frequency property
[ 0.005156] /cpus/cpu@2: Missing clock-frequency property
[ 0.005187] /cpus/cpu@3: Missing clock-frequency property
[ 0.005187] hw perfevents: enabled with arm/armv8-pmuv3 PMU driver, 7 counters available
[ 0.005218] EFI services will not be available.
[ 0.060187] CPU1: Booted secondary processor
[ 0.080156] CPU2: Booted secondary processor
[ 0.100156] CPU3: Booted secondary processor
[ 0.100218] Brought up 4 CPUs
[ 0.100281] SMP: Total of 4 processors activated (192.00 BogoMIPS).
[ 0.100812] devtmpfs: initialized
[ 0.103937] pinctrl core: initialized pinctrl subsystem
[ 0.104187] regulator-dummy: no parameters
[ 0.105499] NET: Registered protocol family 16
[ 0.106124] vdso: 2 pages (1 code, 1 data) at base ffffffc000a9d000
[ 0.106156] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.107343] software IO TLB [mem 0x79400000-0x79800000] (4MB) mapped at [ffffffc079400000-ffffffc0797fffff]
[ 0.107406] requeue_bios init work
[ 0.107437] scan_work init work
[ 0.108593] DMA: preallocated 256 KiB pool for atomic allocations
[ 0.108687] [OWL] Power domain initialization
[ 0.108812] [OWL] S900 clock initialization
[ 0.109843] [OWL] pinctrl initialization
[ 0.109874] pinctrl-s900 e01b0000.pinctrl: nfunctions 49, ngroups 94
[ 0.111406] [OWL] register reset controller
[ 0.111874] GPIOA initialization
[ 0.112343] GPIOB initialization
[ 0.112812] GPIOC initialization
[ 0.113343] GPIOD initialization
[ 0.113812] GPIOE initialization
[ 0.114312] GPIOF initialization
[ 0.122874] bio: create slab <bio-0> at 0
[ 0.123343] [OWL] initialize DMA controller
[ 0.123374] dma-owl e0260000.dma-controller: dma-channels 12, dma-requests 46
[ 0.126124] eta355c_init 297
[ 0.126343] gpu-gpio-supply: 875 <–> 1000 mV at 1000 mV
[ 0.127124] SCSI subsystem initialized
[ 0.127156] [OWL] SPI controller initialization
[ 0.127374] usbcore: registered new interface driver usbfs
[ 0.127406] usbcore: registered new interface driver hub
[ 0.127468] usbcore: registered new device driver usb
[ 0.127562] [OWL] I2C controller initialization
[ 0.128156] i2c-owl e0170000.i2c: I2C adapter ready to operate.
[ 0.128437] i2c-owl e0172000.i2c: I2C adapter ready to operate.
[ 0.128593] i2c-owl e0174000.i2c: I2C adapter ready to operate.
[ 0.128906] atc260x_i2c 3-0065: Probing…
[ 0.128968] atc260x_i2c 3-0065: atc260x_core_dev_init() enter
[ 0.130281] atc260x_i2c 3-0065: detect PMU chip type 2 ver D
[ 0.130281] atc260x_i2c 3-0065: PMU root IRQ 130
[ 0.130874] atc260x-regulator atc2609a-dcdc0.0: Probing atc2609a-dcdc0, id=0
[ 0.132031] dcdc0: 600 <–> 1300 mV at 925 mV
[ 0.132343] atc260x-regulator atc2609a-dcdc1.1: Probing atc2609a-dcdc1, id=1
[ 0.133531] dcdc1: 600 <–> 1300 mV at 925 mV
[ 0.133843] atc260x-regulator atc2609a-dcdc2.2: Probing atc2609a-dcdc2, id=2
[ 0.134999] dcdc2: 600 <–> 1350 mV at 1300 mV
[ 0.135312] atc260x-regulator atc2609a-dcdc3.3: Probing atc2609a-dcdc3, id=3
[ 0.136468] dcdc3: 600 <–> 3500 mV at 3100 mV
[ 0.136781] atc260x-regulator atc2609a-dcdc4.4: Probing atc2609a-dcdc4, id=4
[ 0.137937] dcdc4: 600 <–> 1300 mV at 925 mV
[ 0.138249] atc260x-regulator atc2609a-ldo0.0: Probing atc2609a-ldo0, id=0
[ 0.140593] ldo0: 2300 <–> 3400 mV at 3100 mV
[ 0.140906] atc260x-regulator atc2609a-ldo1.1: Probing atc2609a-ldo1, id=1
[ 0.141124] ldo1: 2300 <–> 3400 mV at 3300 mV
[ 0.141437] atc260x-regulator atc2609a-ldo2.2: Probing atc2609a-ldo2, id=2
[ 0.143812] ldo2: 2300 <–> 3400 mV at 3100 mV
[ 0.144124] atc260x-regulator atc2609a-ldo3.3: Probing atc2609a-ldo3, id=3
[ 0.144156] atc260x-regulator atc2609a-ldo3.3: attemp to change volt band to #0
[ 0.146624] ldo3: 700 <–> 2200 mV at 1800 mV
[ 0.146937] atc260x-regulator atc2609a-ldo4.4: Probing atc2609a-ldo4, id=4
[ 0.146968] atc260x-regulator atc2609a-ldo4.4: attemp to change volt band to #0
[ 0.149468] ldo4: 700 <–> 2200 mV at 1800 mV
[ 0.149843] atc260x-regulator atc2609a-ldo6.6: Probing atc2609a-ldo6, id=6
[ 0.149874] atc260x-regulator atc2609a-ldo6.6: attemp to change volt band to #0
[ 0.152374] ldo6: 850 <–> 2200 mV at 1050 mV
[ 0.152687] atc260x-regulator atc2609a-ldo7.7: Probing atc2609a-ldo7, id=7
[ 0.152718] atc260x-regulator atc2609a-ldo7.7: attemp to change volt band to #0
[ 0.153093] ldo7: 700 <–> 2200 mV at 1800 mV
[ 0.153406] atc260x-regulator atc2609a-ldo8.8: Probing atc2609a-ldo8, id=8
[ 0.153437] atc260x-regulator atc2609a-ldo8.8: attemp to change volt band to #1
[ 0.153781] ldo8: 2100 <–> 3300 mV at 3200 mV
[ 0.154124] atc260x-regulator atc2609a-ldo9.9: Probing atc2609a-ldo9, id=9
[ 0.156312] ldo9: 2600 <–> 3300 mV at 3100 mV
[ 0.157499] atc260x-pm atc2609a-pm.0: Probing…
[ 0.157499] atc260x-pm atc2609a-pm.0: _atc260x_pm_set_wakeup_src_inner() enter, mask=0x7fff src=0x706
[ 0.157812] atc260x-pm atc2609a-pm.0: _atc260x_pm_set_wakeup_src_inner() setup reg=0x0 msk=0xffe0 val=0xe0c0 readback=0xe0d5
[ 0.157999] atc260x-pm atc2609a-pm.0: _atc260x_pm_set_wakeup_src_inner() enter, mask=0x8 src=0x0
[ 0.158281] atc260x-pm atc2609a-pm.0: _atc260x_pm_set_wakeup_src_inner() setup reg=0x0 msk=0x100 val=0x0 readback=0xe0d5
[ 0.158874] atc260x-pm atc2609a-pm.0: _clear_status() no need to restore old alarm
[ 0.159781] atc260x-pm atc2609a-pm.0: atc260x_pm_setup_wall_vbus_wakup_function() can not get of_property support_adaptor_type
[ 0.159781] atc260x-pm atc2609a-pm.0: atc260x_pm_probe() setup_wall_vbus_wakup_function failed
[ 0.160093] atc260x-pm atc2609a-pm.0: translated wakeup falgs: 0x200
[ 0.160156] [PM] set pmic suspend ops 0xffffffc000adeca8
[ 0.160312] atc260x-pm atc2609a-pm.0: #####atc260x_pm_probe PMU_SYS_CTL0:0xe0d5 ####
[ 0.160343] atc260x_i2c 3-0065: atc260x_core_dev_init() exit
[ 0.160343] i2c-owl e0176000.i2c: I2C adapter ready to operate.
[ 0.160718] i2c-owl e0178000.i2c: I2C adapter ready to operate.
[ 0.160843] media: Linux media interface: v0.10
[ 0.160874] Linux video capture interface: v2.00
[ 0.161406] [OWL] ion_heap_fb: base 0x0, size 0x0
[ 0.161406] [OWL] ion_heap_pmem: base 0x20000000, size 0x20000000
[ 0.161437] [OWL] ion_heap_reserved: base 0x0, size 0x0
[ 0.170656] Advanced Linux Sound Architecture Driver Initialized.
[ 0.171062] Bluetooth: Core ver 2.16
[ 0.171093] NET: Registered protocol family 31
[ 0.171093] Bluetooth: HCI device and connection manager initialized
[ 0.171124] Bluetooth: HCI socket layer initialized
[ 0.171156] Bluetooth: L2CAP socket layer initialized
[ 0.171156] Bluetooth: SCO socket layer initialized
[ 0.171406] cfg80211: Calling CRDA to update world regulatory domain
[ 0.172093] Switching to clocksource arch_sys_counter
[ 0.196812] NET: Registered protocol family 2
[ 0.197249] TCP established hash table entries: 16384 (order: 6, 262144 bytes)
[ 0.197531] TCP bind hash table entries: 16384 (order: 7, 524288 bytes)
[ 0.197906] TCP: Hash tables configured (established 16384 bind 16384)
[ 0.197968] TCP: reno registered
[ 0.197968] UDP hash table entries: 1024 (order: 4, 98304 bytes)
[ 0.198062] UDP-Lite hash table entries: 1024 (order: 4, 98304 bytes)
[ 0.198312] NET: Registered protocol family 1
[ 0.198468] Trying to unpack rootfs image as initramfs…
[ 0.470437] Freeing initrd memory: 5984K (ffffffc002000000 - ffffffc0025d8000)
[ 0.471281] audit: initializing netlink socket (disabled)
[ 0.471312] type=2000 audit(0.460:1): initialized
[ 0.476406] VFS: Disk quotas dquot_6.5.2
[ 0.476593] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.477937] exFAT: Version 1.2.9
[ 0.478374] fuse init (API version 7.22)
[ 0.478687] msgmni has been set to 3882
[ 0.479843] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[ 0.479843] io scheduler noop registered
[ 0.479874] io scheduler deadline registered
[ 0.479968] io scheduler cfq registered (default)
[ 0.480093] pwm-owl e01b0000.pwm: owl_pwm_probe
[ 0.480124] pwm-owl e01b0000.pwm: pc->baseffffff800006c000
[ 0.480374] owl_dss_core: owl_dss_init, start
[ 0.480374] owl_ctrl: owl_ctrl_init, start
[ 0.480406] owl_panel: owl_panel_init, start
[ 0.480406] owl_de_s900_init
[ 0.480593] de-s900 e02e0000.de: de_s900_probe, pdev = 0xffffffc079e28c00
[ 0.480624] owl_de: owl_de_register, start
[ 0.482687] de-s900 e02e0000.de: de_s900_device_power_on
[ 0.486031] owl_de_mmu: owl_de_mmu_init, base 0xffffff800007a000 base_phys 0x7c100000 mmu.addr 0xffffff800007a000
[ 0.486062] owl_de: owl_de_debugfs_create, start
[ 0.486718] ip_sx00_platform_init
[ 0.486812] hdmi-ip-sx00 e0250000.hdmi: ip_sx00_probe
[ 0.486874] hdmi_ip_register
[ 0.487031] owl_ctrl: owl_ctrl_register, start
[ 0.487062] hdmi_ddc: hdmi_iic_probe, OK
[ 0.487249] panel_ghp_init
[ 0.487312] panel-ghp hdmi_panel.3: panel_ghp_probe
[ 0.487343] owl_panel: owl_panel_parse_panel_info, start
[ 0.487374] owl_panel: owl_panel_parse_panel_info, no entry for ‘videomode-0’
[ 0.487374] owl_panel: owl_panel_register, start
[ 0.487468] owl_ctrl: owl_ctrl_add_panel, start
[ 0.487562] owl_fb_init
[ 0.487656] owl-fb framebuffer.7: owl_fb_probe
[ 0.494749] owl_panel: owl_panel_enable, state 2, power_on_delay 0, enable_delay 0
[ 0.494781] owl_ctrl: owl_ctrl_enable, start
[ 0.494812] hdmi-ip-sx00 e0250000.hdmi: owl_hdmic_enable
[ 0.495093] vce_drv: warning: cann’t get vol regulator, may be this board not need, or lost in dts!
[ 0.495187] #### insmod vde driver!
[ 0.495374] mali0 e0280000.vde: Probe vde device
[ 0.495374] info ic_type 0x900
[ 0.495406] mali0 e0280000.vde: resource: iomem: [mem 0xe0280000-0xe0280107] mapping to ffffff8001464000, irq 82
[ 0.495468] SPS_PG_CTL = 0xffffff8001466000
[ 0.495468] CMU_COREPLL = 0xffffff8001468000
[ 0.495468] CMU_VDE_CLK = 0xffffff800146a040
[ 0.495499] CMU_DEVRST0 = 0xffffff800146c0a8
[ 0.495499] CMU_DEVCLKEN0 = 0xffffff800146e0a0
[ 0.495531] dev add ffffffc079e2a810, vde_clk ffffffc079e09b80
[ 0.495593] #### insmod hde driver!
[ 0.495749] hde e0230000.hde: Probe hde device
[ 0.495749] info ic_type 0x900
[ 0.495781] hde e0230000.hde: resource: iomem: [mem 0xe0230000-0xe0230107] mapping to ffffff8001470000, irq 98
[ 0.495843] SPS_PG_CTL = 0xffffff8001472000
[ 0.495843] CMU_HDE_CLK = 0xffffff8001474000
[ 0.495843] CMU_HDE_CLK = 0xffffff800147603c
[ 0.495874] CMU_DEVRST0 = 0xffffff80014780a8
[ 0.495874] CMU_DEVCLKEN0 = 0xffffff800147a0a0
[ 0.495874] dev add ffffffc079e2ac10, hde_clk ffffffc079d5e480
[ 0.495968] owl_dmm_pm_init
[ 0.496062] owl_chipid_init
[ 0.496437] serial-owl e0126000.uart: detected port 3
[ 0.496499] e0126000.uart: ttyS3 at MMIO 0xe0126000 (irq = 64) is a serial-owl
[ 0.496687] serial-owl e012a000.uart: detected port 5
[ 0.496718] e012a000.uart: ttyS5 at MMIO 0xe012a000 (irq = 66) is a serial-owl
[ 0.533468] open file /dev/nand0
[ 0.533499] file is err
[ 0.533499] open file /dev/block/nand0
[ 0.533499] file is err
[ 0.533499] open file /dev/md_d0
[ 0.533499] file is err
[ 0.533499] open file /dev/block/md_d0
[ 0.533499] file is err
[ 0.533531] open file /dev/mmcblk0
[ 0.533531] file is err
[ 0.533531] open file /dev/block/mmcblk0
[ 0.533531] file is err
[ 0.533531] no blk dev
[ 0.533531] read MiscInfoHeader failed
[ 0.533531] read Head failed
[ 0.533531] ip_sx00_hdcp: hdcp_read_key, failed to read hdcp key from secure storage(-11)
[ 0.538687] hdmi-ip-sx00 e0250000.hdmi: hdmic_update_mode_list, n_modes 6
[ 1.801906] console [ttyS5] enabled
[ 1.805624] [OWL] serial driver initialized
[ 1.814374] brd: module loaded
[ 1.819781] loop: module loaded
[ 1.822968] misc_info_init, line 1096, Mar 25 2016 07:37:34
[ 1.828624] mi_debug_init, line 353
[ 1.832562] tun: Universal TUN/TAP device driver, 1.6
[ 1.837624] tun: © 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[ 1.844031] PPP generic driver version 2.4.2
[ 1.848406] PPP BSD Compression module registered
[ 1.853124] PPP Deflate Compression module registered
[ 1.858187] PPP MPPE Compression module registered
[ 1.862999] NET: Registered protocol family 24
[ 1.867531] usbcore: registered new interface driver rtl8150
[ 1.873218] usbcore: registered new interface driver r8152
[ 1.878749] usbcore: registered new interface driver asix
[ 1.884187] usbcore: registered new interface driver ax88179_178a
[ 1.890312] usbcore: registered new interface driver cdc_ether
[ 1.896187] usbcore: registered new interface driver net1080
[ 1.901874] usbcore: registered new interface driver cdc_subset
[ 1.907812] usbcore: registered new interface driver zaurus
[ 1.913468] usbcore: registered new interface driver cdc_ncm
[ 1.919156] usbcore: registered new interface driver sr9700_android
[ 1.925468] usbcore: registered new interface driver CoreChips
[ 1.931406] owl_usb2phy_probe 171:Mar 25 2016 07:38:07
[ 1.936687] owl_usb3phy_probe 99:Mar 25 2016 07:38:07
[ 1.942781] s900_usb3phy_init 0x5d:0x52
[ 1.946656] s900_usb3phy_init 0x87:0x20
[ 2.150499] s900_usb2phy_param_setup device mode
[ 2.162093] usb_charge_detect_init 132 adfu_running=0
[ 2.186531] dwc3_owl_probe 530 success
[ 2.190531] vbus_otg_en_gpio:115 1
[ 2.193937] port_host_plug_detect[0]:1
[ 2.197718] aotg_wake_lock[0]:0
[ 2.200874] pdev->id:0
[ 2.203499] start mon 0 …
[ 2.206624] vbus_otg_en_gpio:-1 0
[ 2.209937] port_host_plug_detect[1]:2
[ 2.213687] aotg_wake_lock[1]:1
[ 2.216843] pdev->id:1
[ 2.219406] start mon 1 …
[ 2.222812] mousedev: PS/2 mouse device common for all mice
[ 2.228624] atc260x-adckeypad atc2609a-adckeypad.0: Probing…
[ 2.234468] atc260x-adckeypad atc2609a-adckeypad.0: select AUXADC channel AUX0
[ 2.241718] atc260x-adckeypad atc2609a-adckeypad.0: keymapsize = 2
[ 2.247906] atc260x-adckeypad atc2609a-adckeypad.0: filter_dep = 3
[ 2.254124] atc260x-adckeypad atc2609a-adckeypad.0: variance = 15
[ 2.260218] atc260x-adckeypad atc2609a-adckeypad.0: poll_interval = 20ms
[ 2.267062] input: atc2609a-adckeypad as /devices/e0176000.i2c/i2c-3/3-0065/atc2609a-adckeypad.0/input/input0
[ 2.277468] atc260x-onoff atc2609a-onoff.0: Probing atc2609a-onoff
[ 2.283656] atc260x-onoff atc2609a-onoff.0: atc260x_onoff IRQ num : 284
[ 2.290374] input: atc260x_onoff as /devices/e0176000.i2c/i2c-3/3-0065/atc2609a-onoff.0/input/input1
[ 2.300468] usbcore: registered new interface driver xpad
[ 2.306312] atc260x-rtc atc2609a-rtc.0: Probing…
[ 2.312281] atc260x-adckeypad atc2609a-adckeypad.0: key_code=103 val=0
[ 2.320999] atc260x-rtc atc2609a-rtc.0: rtc core: registered atc260x-RTC as rtc0
[ 2.328718] atc260x-rtc atc2609a-rtc.0: RTC alarm IRQ num : 285
[ 2.335187] IR NEC protocol handler initialized
[ 2.339749] IR RC5(x) protocol handler initialized
[ 2.344562] IR RC6 protocol handler initialized
[ 2.349124] IR JVC protocol handler initialized
[ 2.353687] IR Sony protocol handler initialized
[ 2.358312] IR RC5 (streamzap) protocol handler initialized
[ 2.363906] IR SANYO protocol handler initialized
[ 2.368624] IR MCE Keyboard/mouse protocol handler initialized
[ 2.374531] atc260x_charger: version(r2p1), time stamp(20151111164507)
[ 2.381499] create sysfs for atc260x charger
[ 2.385812] [atc260x_charger_cfg_init] backlight_on_vol_diff not found, 350 default
[ 2.393531] [atc260x_charger_cfg_init] backlight_off_vol_diff not found, 400 default
[ 2.401312] [atc260x_charger_cfg_init] change_current_temp not found, 1 default
[ 2.408624] [atc260x_charger_cfg_init] cur_rise_enable not found, 0 default
[ 2.415624] [atc260x_charger_cfg_init] ot_shutoff_enable not found, 1 default
[ 2.422781] [atc260x_charger_cfg_init] ext_buck_exist not found, 0 default
[ 2.429656] atc260x_charger_cfg_init wall swicth gpio not exist!
[ 2.439999] [atc260x_charger_wallv_buck_init] unable to request PWM for ext dcdc
[ 2.448156] atc260x-hwmon atc2609a-hwmon.0: Probing atc2609a-hwmon
[ 2.454593] PDEVID = 0
[ 2.456999] tmu-mem:start=0x3759341568
[ 2.460781] tmu-mem:data->base=0xffffff80014b8000
[ 2.465531] Begin to register thermal zone ,id = 0
[ 2.470531] owl_get_crit_temp
[ 2.532156] open file /dev/nand0
[ 2.535406] file is err
[ 2.537874] open file /dev/block/nand0
[ 2.541624] file is err
[ 2.544124] open file /dev/md_d0
[ 2.547374] file is err
[ 2.549843] open file /dev/block/md_d0
[ 2.553593] file is err
[ 2.556062] open file /dev/mmcblk0
[ 2.559468] file is err
[ 2.561937] open file /dev/block/mmcblk0
[ 2.565874] file is err
[ 2.568343] no blk dev
[ 2.570718] read MiscInfoHeader failed
[ 2.574468] read Head failed
[ 2.577374] ip_sx00_hdcp: hdcp_read_key, failed to read hdcp key from secure storage(-11)
[ 2.682156] OWL: Kernel Thermal management registered
[ 2.687249] PDEVID = 4
[ 2.689624] tmu-mem:start=0x3759341584
[ 2.693406] tmu-mem:data->base=0xffffff80014ba010
[ 2.698124] Begin to register thermal zone ,id = 4
[ 2.703062] owl_get_crit_temp
[ 2.802124] OWL: Kernel Thermal management registered
[ 2.807218] md: raid0 personality registered for level 0
[ 2.812812] device-mapper: uevent: version 1.0.3
[ 2.817624] device-mapper: ioctl: 4.24.0-ioctl (2013-01-15) initialised: dm-devel@redhat.com
[ 2.826187] Bluetooth: HCI UART driver ver 2.2
[ 2.830624] Bluetooth: HCI H4 protocol initialized
[ 2.835468] cpuidle: using governor ladder
[ 2.839593] cpuidle: using governor menu
[ 2.844187] s900-mmc e0338000.mmc: using dma0chan0 for DMA transfers
[ 2.882312] s900-mmc e0334000.mmc: using dma0chan1 for DMA transfers
[ 2.888718] wifi card use 1.8v to scan
[ 2.896156] get wifi ldo voltage:3300000-3310000
[ 2.900781] Regulator wifi bt power init
[ 2.942656] SDC0 use sdio uart conversion
[ 2.946718] s900-mmc e0330000.mmc: using dma0chan2 for DMA transfers
[ 2.953156] use GPIO to detect SD/MMC card
[ 2.974218] mmc0: BKOPS_EN bit is not set
[ 2.986249] mmc reinit ok
[ 2.988906] emmc init ok
[ 2.991437] mmc0: new high speed DDR MMC card at address 0001
[ 2.997437] hidraw: raw HID events driver © Jiri Kosina
[ 3.003374] mmcblk0: mmc0:0001 H8G1e 7.28 GiB
[ 3.004218] usbcore: registered new interface driver usbhid
[ 3.004249] usbhid: USB HID core driver
[ 3.017906] ashmem: initialized
[ 3.021218] logger: created 256K log ‘log_main’
[ 3.025968] logger: created 256K log ‘log_events’
[ 3.030843] logger: created 256K log ‘log_radio’
[ 3.035624] logger: created 256K log ‘log_system’
[ 3.041062] s900_pcm_init
[ 3.043906] s900-pcm-audio s900-pcm-audio: s900_pcm_probe!!
[ 3.049531] atc2609a_audio_init audio!!!
[ 3.053718] mmcblk0: p1 p2 p3 p4 p5
[ 3.053781] atc2609a_audio_platform_probe!
[ 3.053781] add file!
[ 3.053781] add file!
[ 3.053999] it’s ok 0
[ 3.054031] owl-audio-i2s e0100000.owl-audio-i2s: s900_dai_probe
[ 3.054218] s900-hdmi-audio s900-hdmi-audio: s900_hdmi_probe!!
[ 3.054249] s900_link_init
[ 3.054531] soc-audio soc-audio: ASoC: machine s900_link should use snd_soc_register_card()
[ 3.193812] atc2609a-audio atc260x-audio: ASoC: no dapm match for AOUT FL FR Mixer --> AOUT MIXER --> ADC0 Mux
[ 3.203874] atc2609a-audio atc260x-audio: ASoC: Failed to add route AOUT FL FR Mixer -> AOUT MIXER -> ADC0 Mux
[ 3.216749] soc-audio soc-audio: atc2609a-dai <-> owl-audio-i2s mapping ok
[ 3.224062] soc-audio soc-audio: s900-hdmi-dai <-> owl-audio-i2s mapping ok
[ 3.231968] u32 classifier
[ 3.234718] Actions configured
[ 3.238124] Netfilter messages via NETLINK v0.30.
[ 3.242906] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[ 3.249343] ctnetlink v0.93: registering with nfnetlink.
[ 3.254812] NF_TPROXY: Transparent proxy support initialized, version 4.1.0
[ 3.261781] NF_TPROXY: Copyright © 2006-2007 BalaBit IT Ltd.
[ 3.267781] xt_time: kernel timezone is -0000
[ 3.272406] ip_tables: © 2000-2006 Netfilter Core Team
[ 3.277874] ipt_CLUSTERIP: ClusterIP Version 0.8 loaded successfully
[ 3.284281] arp_tables: © 2002 David S. Miller
[ 3.288937] TCP: cubic registered
[ 3.292312] Initializing XFRM netlink socket
[ 3.297062] NET: Registered protocol family 10
[ 3.302093] mip6: Mobile IPv6
[ 3.305093] ip6_tables: © 2000-2006 Netfilter Core Team
[ 3.310656] sit: IPv6 over IPv4 tunneling driver
[ 3.315999] NET: Registered protocol family 17
[ 3.320468] NET: Registered protocol family 15
[ 3.324968] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 3.330874] Bluetooth: HIDP socket layer initialized
[ 3.335874] lib80211: common routines for IEEE802.11 drivers
[ 3.341718] Registering SWP/SWPB emulation handler
[ 3.346874] [OWL] pm init
[ 3.349499] owl_pm_clear_flag: clear flag 0xffffffff
[ 3.354531] ppm_owl_drv_init
[ 3.357531] ppm_owl_base_init
[ 3.360499] ppm_owl_fsm_init
[ 3.363468] ppm_owl_sysfs_init
[ 3.366562] ppm_owl_stats_init
[ 3.370093] gpu-gpio-supply: disabling
[ 3.373874] regulator-dummy: disabling
[ 3.378187] ====otgvbus_gpio: num-114, active-high—detect_type=3,idpin_type=0,vbus_type=2—
[ 3.398999] atc260x-rtc atc2609a-rtc.0: setting system clock to 2015-01-01 02:06:16 UTC (1420077976)
[ 3.408218] atc2609a_battery: atc2609a_bat_init fail to find atc2609a-battery node
[ 3.415843] bq27441_battery_init fail to find bq27441-battery node
[ 3.422156] table ffffffc000afc318, i 0, cpu_dev ffffffc000bcf558, clk 1752000000, volt 1200000
[ 3.431062] table ffffffc000afc318, i 1, cpu_dev ffffffc000bcf558, clk 1608000000, volt 1125000
[ 3.439968] table ffffffc000afc318, i 2, cpu_dev ffffffc000bcf558, clk 1440000000, volt 1075000
[ 3.448874] table ffffffc000afc318, i 3, cpu_dev ffffffc000bcf558, clk 1104000000, volt 925000
[ 3.457656] table ffffffc000afc318, i 4, cpu_dev ffffffc000bcf558, clk 600000000, volt 850000
[ 3.466406] table ffffffc000afc318, i 5, cpu_dev ffffffc000bcf558, clk 240000000, volt 850000
[ 3.475374] cpu0_cpufreq_driver_init: locking_frequency: 1104000
[ 3.481499] [ppm_stat_notifier_policy,240]
[ 3.488656] ALSA device list:
[ 3.491624] #0: s900_link
[ 3.494843] Freeing unused kernel memory: 372K (ffffffc000a38000 - ffffffc000a95000)
Loading, please wait…
starting version 228
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 … [ 3.892562]
[ 3.892562] ========usb_detect_plugout_event===start det!!========
[ 3.900249] dwc3_plug_out 113
[ 3.903281] dwc3_plug_out 134 B_OUT
[ 3.932406] raid6: int64x1 466 MB/s
[ 4.102187] raid6: int64x2 808 MB/s
[ 4.272156] raid6: int64x4 1287 MB/s
[ 4.442156] raid6: int64x8 1361 MB/s
[ 4.445937] raid6: using algorithm int64x8 (1361 MB/s)
[ 4.451093] raid6: using intx1 recovery algorithm
[ 4.456749] xor: measuring software checksum speed
[ 4.532156] /home/buildslave/workspace/96boards-bubblegum/drivers/usb/monitor/umonitor_api.c–1212, wake_lock !!!
[ 4.542468] dwc3_plug_in 179
[ 4.545374] owl-dwc3 e040cd00.owl_dwc3: Unbalanced pm_runtime_enable!
[ 4.551906] s900_usb3phy_init 0x5d:0x52
[ 4.552124] 8regs : 3182.000 MB/sec
[ 4.559937] s900_usb3phy_init 0x87:0x20
[ 4.582124] open file /dev/nand0
[ 4.585374] file is err
[ 4.587843] open file /dev/block/nand0
[ 4.591593] file is err
[ 4.612124] open file /dev/md_d0
[ 4.615374] file is err
[ 4.617843] open file /dev/block/md_d0
[ 4.621593] file is err
[ 4.626406] read_mi_head, line 463, magic 0x0, length 0, item num 0
[ 4.632687] read Head null
[ 4.635406] ip_sx00_hdcp: hdcp_read_key, failed to read hdcp key from secure storage(-1)
[ 4.652124] 8regs_prefetch: 2907.200 MB/sec
[ 4.752124] 32regs : 3525.600 MB/sec
[ 4.775062] dwc3_plug_in 201 A_IN
[ 4.778593] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[ 4.784124] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[ 4.852124] 32regs_prefetch: 3293.200 MB/sec
[ 4.856781] xor: using function: 32regs (3525.600 MB/sec)
[ 4.862937] s900_usb2phy_param_setup host mode
[ 4.867468] xhci-hcd xhci-hcd.0.auto: irq 55, io mem 0xe0400000
[ 4.874656] hub 1-0:1.0: USB hub found
[ 4.876999] bio: create slab <bio-1> at 1
[ 4.878624] Btrfs loaded
Scanning for Btrfs filesystems
[ 4.885531] hub 1-0:1.0: 1 port detected
[ 4.891999] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[ 4.897843] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[ 4.905999] hub 2-0:1.0: USB hub found
[ 4.909781] hub 2-0:1.0: 1 port detected
[ 4.913968] ----monitor_wake_lock for 10s
done.
Begin: Checking root file system … fsck from util-linux 2.27.1
rootfs: Superblock needs_recovery flag is clear, but journal has data.
rootfs: Run journal anyway

rootfs: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
(i.e., without -a or -p options)
fsck exited with status code 4
done.
Failure: File system check of the root filesystem failed
The root filesystem on /dev/mmcblk0p3 requires a manual fsck
modprobe: module i8042 not found in modules.dep
modprobe: module ehci-pci not fo[ 5.080656] ehci_hcd: USB 2.0 ‘Enhanced’ Host Controller (EHCI) Driver
und in modules.dep
modprobe: module ehci-orion not found in modules.dep
modprobe: module uhci-hcd not fo[ 5.096749] ohci_hcd: USB 1.1 ‘Open’ Host Controller (OHCI) Driver
und in modules.dep

BusyBox v1.22.1 (Debian 1:1.22.0-9+deb8u1) built-in shell (ash)
Enter ‘help’ for a list of built-in commands.

/bin/sh: can’t access tty; job control turned off
(initramfs) [ 12.752499] aotg_hcd e02c0000.usb: usb reset OK: 0.
[ 12.758562] aotg_hcd e02c0000.usb: AOTG USB Host Controller Driver
[ 12.765031] aotg_hcd e02c0000.usb: new USB bus registered, assigned bus number 3
[ 12.772687] aotg_hcd e02c0000.usb: irq 79, io mem 0xe02c0000
[ 12.778406] aotg_hcd e02c0000.usb: <HCD> start
[ 12.784906] hub 3-0:1.0: USB hub found
[ 12.788781] hub 3-0:1.0: 1 port detected
[ 12.832124] USBEIEN(0xffffff80014ac50b): 0x80
[ 12.836531] aotg_hcd e02c0000.usb: hcd controller initialized. OTGIRQ: 0x01, OTGSTATE: 0x02
[ 12.892187] ====>aotg_hub_suspend
[ 12.946531] port_no:1 OTG IRQ, OTGSTATE: 0x03, USBIRQ:0x00
[ 12.953124] aotg_hcd e02c0000.usb: <USB> e02c0000.usb connection changed: 1, acthcd->inserted: 1
[ 12.961999] aotg_hub_hotplug_timer:1607, dbg!
[ 12.966499] ======>aotg_hub_resume
[ 13.192281] usb 3-1: new high-speed USB device number 2 using aotg_hcd
[ 13.198906] aotg_hcd e02c0000.usb: device addr : 0x00000000
[ 13.322562] aotg_hcd e02c0000.usb: <EP DISABLE> ep0 index 0 from ep [in]
[ 13.342218] aotg_hcd e02c0000.usb: device addr : 0x00000002
[ 13.351562] hub 3-1:1.0: USB hub found
[ 13.355937] hub 3-1:1.0: 4 ports detected
[ 13.482281] ====>aotg_hub_suspend
[ 13.485687] port_no:1 OTG IRQ, OTGSTATE: 0x04, USBIRQ:0x00

This error
/bin/sh: can’t access tty; job control turned off

When I do a 13 step sudo dd if=bootloader.bin of=/dev/mmcblk0 seek=4097 bs=512 I get
(initramfs) dd if=bootloader.bin of=/dev/mmcblk0 seek=4097 bs=512
dd: can’t open ‘bootloader.bin’: No such file or directory

What am I doing wrong?


#4

Not clear what you’re doing wrong at this stage (or even if you are doing anything wrong). Right now it looks like the root filesystem has not burned to FLASH correctly, meaning we cannot boot debian.

My terminal looks like this after successful FLASHing:

birch$ sha1sum bubblegum-jessie_alip_20160325-15.emmc.img
28e8f15cd5fddacad92012b1a7eadd7e4bad9d72  bubblegum-jessie_alip_20160325-15.emmc.img
birch$ fastboot flash BOOT boot.emmc.img
target reported max download size of 1073741824 bytes
sending 'BOOT' (51200 KB)...
OKAY [  2.070s]
writing 'BOOT'...
OKAY [  2.929s]
finished. total time: 4.999s
birch$ fastboot flash SYSTEM bubblegum-jessie_*.emmc.img
target reported max download size of 1073741824 bytes
sending sparse 'SYSTEM' 1/2 (982280 KB)...
OKAY [ 39.553s]
writing 'SYSTEM' 1/2...
OKAY [ 56.005s]
sending sparse 'SYSTEM' 2/2 (737744 KB)...
OKAY [ 29.627s]
writing 'SYSTEM' 2/2...
OKAY [ 42.225s]
finished. total time: 167.411s

I’ve also recorded the u-boot output during that process. Its pretty long so I’ve not included is here. See https://gist.github.com/daniel-thompson/0b88c6b8f069d82037d3027371a6abf7 instead.

The main question is how to your results differ?