https://www.kosagi.com/w/index.php?title=Booting_novena&feed=atom&action=history
Booting novena - Revision history
2024-03-29T05:03:03Z
Revision history for this page on the wiki
MediaWiki 1.31.0
https://www.kosagi.com/w/index.php?title=Booting_novena&diff=602&oldid=prev
Bnewbold: add link
2013-01-23T10:45:49Z
<p>add link</p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 10:45, 23 January 2013</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1" >Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">''See also [http://www.xoblo.gs/novena/2012/12/28/novena-bootloader/ xobs's blog post] about booting''</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==Booting==</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==Booting==</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
</table>
Bnewbold
https://www.kosagi.com/w/index.php?title=Booting_novena&diff=578&oldid=prev
Ioerror: Add serial console output and dmesg output from Debian firmware booting
2013-01-04T07:41:31Z
<p>Add serial console output and dmesg output from Debian firmware booting</p>
<p><b>New page</b></p><div>==Booting==<br />
<br />
<nowiki><br />
U-Boot 2012.10-rc1-00031-g993cf2b-dirty (Dec 29 2012 - 22:27:30)<br />
<br />
CPU: Freescale i.MX6Q rev1.2 at 792 MHz<br />
Reset cause: POR<br />
Board: MX6Q-Sabre Lite<br />
DRAM: 1 GiB<br />
MMC: FSL_SDHC: 0, FSL_SDHC: 1<br />
board_mmc_getcd(): esdhc_base 0x02198000<br />
*** Warning - bad CRC, using default environment<br />
<br />
No panel detected: default to Hannstar-XGA<br />
Display: Hannstar-XGA (1024x768)<br />
In: serial<br />
Out: serial<br />
Err: serial<br />
Net: FEC [PRIME]<br />
Hit any key to stop autoboot: 0<br />
board_mmc_getcd(): esdhc_base 0x02198000<br />
mmc0 is current device<br />
board_mmc_getcd(): esdhc_base 0x02198000<br />
board_mmc_getcd(): esdhc_base 0x02198000<br />
reading boot.scr<br />
<br />
188 bytes read<br />
Running bootscript from mmc ...<br />
## Executing script at 10800000<br />
board_mmc_getcd(): esdhc_base 0x02198000<br />
reading uImage-novena.bin<br />
<br />
3888464 bytes read<br />
board_mmc_getcd(): esdhc_base 0x02198000<br />
reading uImage-novena.dtb<br />
<br />
17840 bytes read<br />
## Booting kernel from Legacy Image at 12000000 ...<br />
Image Name: Linux-3.6.0+<br />
Image Type: ARM Linux Kernel Image (uncompressed)<br />
Data Size: 3888400 Bytes = 3.7 MiB<br />
Load Address: 10008000<br />
Entry Point: 10008000<br />
Verifying Checksum ... OK<br />
## Flattened Device Tree blob at 11ff0000<br />
Booting using the fdt blob at 0x11ff0000<br />
Loading Kernel Image ... OK<br />
OK <br />
Using Device Tree in place at 11ff0000, end 11ff75af<br />
<br />
Starting kernel ...<br />
[ 0.000000] Booting Linux on physical CPU 0<br />
[ 0.000000] Linux version 3.6.0+ (bunnie@hexapod) (gcc version 4.5.4 20120305 (prerelease) (GCC) ) #5 SMP Tue Dec 18 16:12:21 SGT 2012<br />
[ 0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d<br />
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache<br />
[ 0.000000] Machine: Freescale i.MX6 Quad (Device Tree), model: Kosagi Novena-laptop (i.MX6 Quad)<br />
[ 0.000000] Memory policy: ECC disabled, Data cache writealloc<br />
[ 0.000000] PERCPU: Embedded 7 pages/cpu @80f72000 s6272 r8192 d14208 u32768<br />
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 260096<br />
[ 0.000000] Kernel command line: console=ttymxc1,115200 root=/dev/mmcblk0p2 rootwait rootfstype=ext4<br />
[ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)<br />
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)<br />
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)<br />
[ 0.000000] Memory: 1024MB = 1024MB total<br />
[ 0.000000] Memory: 1031812k/1031812k available, 16764k reserved, 0K highmem<br />
[ 0.000000] Virtual kernel memory layout:<br />
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)<br />
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)<br />
[ 0.000000] vmalloc : 0xc0800000 - 0xff000000 (1000 MB)<br />
[ 0.000000] lowmem : 0x80000000 - 0xc0000000 (1024 MB)<br />
[ 0.000000] modules : 0x7f000000 - 0x80000000 ( 16 MB)<br />
[ 0.000000] .text : 0x80008000 - 0x8063b9e4 (6351 kB)<br />
[ 0.000000] .init : 0x8063c000 - 0x80681880 ( 279 kB)<br />
[ 0.000000] .data : 0x80682000 - 0x806c5440 ( 270 kB)<br />
[ 0.000000] .bss : 0x806c5464 - 0x807638b4 ( 634 kB)<br />
[ 0.000000] SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1<br />
[ 0.000000] Hierarchical RCU implementation.<br />
[ 0.000000] NR_IRQS:16 nr_irqs:16 16<br />
[ 0.000000] L310 cache controller enabled<br />
[ 0.000000] l2x0: 16 ways, CACHE_ID 0x410000c7, AUX_CTRL 0x02070000, Cache size: 1048576 B<br />
[ 0.000000] sched_clock: 32 bits at 66MHz, resolution 15ns, wraps every 65075ms<br />
[ 0.000000] Console: colour dummy device 80x30<br />
[ 0.000208] Calibrating delay loop... 1581.05 BogoMIPS (lpj=7905280)<br />
[ 0.090115] pid_max: default: 32768 minimum: 301<br />
[ 0.090389] Mount-cache hash table entries: 512<br />
[ 0.091072] CPU: Testing write buffer coherency: ok<br />
[ 0.091228] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000<br />
[ 0.091321] Setting up static identity map for 0x104b36b0 - 0x104b3720<br />
[ 0.092629] CPU1: Booted secondary processor<br />
[ 0.181284] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001<br />
[ 0.182088] CPU2: Booted secondary processor<br />
[ 0.221283] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002<br />
[ 0.222081] CPU3: Booted secondary processor<br />
[ 0.261283] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003<br />
[ 0.261320] Brought up 4 CPUs<br />
[ 0.261345] SMP: Total of 4 processors activated (6324.22 BogoMIPS).<br />
[ 0.261963] devtmpfs: initialized<br />
[ 0.265152] pinctrl core: initialized pinctrl subsystem<br />
[ 0.265378] regulator-dummy: no parameters<br />
[ 0.265554] NET: Registered protocol family 16<br />
[ 0.267147] DMA: preallocated 256 KiB pool for atomic coherent allocations<br />
[ 0.272183] syscon 20c8000.anatop: syscon regmap start 0x20c8000 end 0x20c8fff registered<br />
[ 0.273213] syscon 20e0000.iomuxc-gpr: syscon regmap start 0x20e0000 end 0x20e0037 registered<br />
[ 0.275758] imx6q-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver<br />
[ 0.279767] bio: create slab <bio-0> at 0<br />
[ 0.280964] mxs-dma 110000.dma-apbh: initialized<br />
[ 0.281371] 2P5V: 2500 mV<br />
[ 0.281503] 3P3V: 3300 mV<br />
[ 0.281660] usb_otg_vbus: 5000 mV<br />
[ 0.282170] SCSI subsystem initialized<br />
[ 0.282509] usbcore: registered new interface driver usbfs<br />
[ 0.282559] usbcore: registered new interface driver hub<br />
[ 0.282643] usbcore: registered new device driver usb<br />
[ 0.284072] Advanced Linux Sound Architecture Driver Initialized.<br />
[ 0.284930] Switching to clocksource mxc_timer1<br />
[ 0.291751] NET: Registered protocol family 2<br />
[ 0.292286] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)<br />
[ 0.294149] TCP bind hash table entries: 65536 (order: 7, 524288 bytes)<br />
[ 0.295262] TCP: Hash tables configured (established 131072 bind 65536)<br />
[ 0.295353] TCP: reno registered<br />
[ 0.295369] UDP hash table entries: 512 (order: 2, 16384 bytes)<br />
[ 0.295432] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)<br />
[ 0.295685] NET: Registered protocol family 1<br />
[ 0.296033] RPC: Registered named UNIX socket transport module.<br />
[ 0.296043] RPC: Registered udp transport module.<br />
[ 0.296050] RPC: Registered tcp transport module.<br />
[ 0.296057] RPC: Registered tcp NFSv4.1 backchannel transport module.<br />
[ 0.300283] VFS: Disk quotas dquot_6.5.2<br />
[ 0.300501] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)<br />
[ 0.302471] NFS: Registering the id_resolver key type<br />
[ 0.302524] Key type id_resolver registered<br />
[ 0.302533] Key type id_legacy registered<br />
[ 0.302575] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.<br />
[ 0.303030] fuse init (API version 7.20)<br />
[ 0.303272] msgmni has been set to 2015<br />
[ 0.304084] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)<br />
[ 0.304098] io scheduler noop registered<br />
[ 0.304105] io scheduler deadline registered<br />
[ 0.304216] io scheduler cfq registered (default)<br />
[ 0.306545] imx-sdma 20ec000.sdma: initialized<br />
[ 0.306775] Serial: IMX driver<br />
[ 0.307090] 21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 59) is a IMX<br />
[ 0.808760] console [ttymxc1] enabled<br />
[ 0.818176] brd: module loaded<br />
[ 0.824149] loop: module loaded<br />
[ 0.829054] spi_imx 2010000.ecspi: master is unqueued, this is deprecated<br />
[ 0.835870] spi_imx 2010000.ecspi: probed<br />
[ 0.858254] libphy: fec_enet_mii_bus: probed<br />
[ 0.863254] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver<br />
[ 0.869886] Initializing USB Mass Storage driver...<br />
[ 0.874831] usbcore: registered new interface driver usb-storage<br />
[ 0.880854] USB Mass Storage support registered.<br />
[ 0.886213] ci_hdrc ci_hdrc.0: doesn't support gadget<br />
[ 0.891280] ci_hdrc ci_hdrc.0: ChipIdea HDRC EHCI<br />
[ 0.896026] ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1<br />
[ 0.945013] ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00<br />
[ 0.950899] hub 1-0:1.0: USB hub found<br />
[ 0.954669] hub 1-0:1.0: 1 port detected<br />
[ 0.958813] imx_usb 2184200.usb: pinctrl get/select failed, err=-19<br />
[ 0.965380] ci_hdrc ci_hdrc.1: doesn't support gadget<br />
[ 0.970445] ci_hdrc ci_hdrc.1: ChipIdea HDRC EHCI<br />
[ 0.975191] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 2<br />
[ 1.025004] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00<br />
[ 1.030830] hub 2-0:1.0: USB hub found<br />
[ 1.034603] hub 2-0:1.0: 1 port detected<br />
[ 1.038906] mousedev: PS/2 mouse device common for all mice<br />
[ 1.044867] i2c /dev entries driver<br />
[ 1.048931] imx2-wdt 20bc000.wdog: IMX2+ Watchdog Timer enabled. timeout=60s (nowayout=0)<br />
[ 1.057285] sdhci: Secure Digital Host Controller Interface driver<br />
[ 1.063471] sdhci: Copyright(c) Pierre Ossman<br />
[ 1.067845] sdhci-pltfm: SDHCI platform and OF driver helper<br />
[ 1.074387] mmc0: no vqmmc regulator found<br />
[ 1.115010] mmc0: SDHCI controller on 2198000.usdhc [2198000.usdhc] using ADMA<br />
[ 1.129202] mmc1: no vqmmc regulator found<br />
[ 1.173158] mmc0: host does not support reading read-only switch. assuming write-enable.<br />
[ 1.175009] mmc1: SDHCI controller on 219c000.usdhc [219c000.usdhc] using ADMA<br />
[ 1.175276] usbcore: registered new interface driver usbhid<br />
[ 1.175278] usbhid: USB HID core driver<br />
[ 1.176822] TCP: cubic registered<br />
[ 1.177244] NET: Registered protocol family 10<br />
[ 1.177922] sit: IPv6 over IPv4 tunneling driver<br />
[ 1.178435] NET: Registered protocol family 17<br />
[ 1.178503] Key type dns_resolver registered<br />
[ 1.218951] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4<br />
[ 1.224879] mmc0: new high speed SD card at address 0002<br />
[ 1.225242] mmcblk0: mmc0:0002 00000 971 MiB<br />
[ 1.236325] ThumbEE CPU extension supported.<br />
[ 1.237420] mmcblk0: p1 p2<br />
[ 1.244802] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)<br />
[ 1.257028] ALSA device list:<br />
[ 1.260008] No soundcards found.<br />
[ 1.265695] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem<br />
[ 1.273013] EXT4-fs (mmcblk0p2): write access will be enabled during recovery<br />
[ 1.355034] usb 2-1: new high-speed USB device number 2 using ci_hdrc<br />
[ 1.545031] hub 2-0:1.0: unable to enumerate USB device on port 1<br />
[ 1.985013] usb 2-1: new high-speed USB device number 4 using ci_hdrc<br />
[ 2.105052] hub 2-0:1.0: unable to enumerate USB device on port 1<br />
[ 2.545018] usb 2-1: new high-speed USB device number 5 using ci_hdrc<br />
[ 2.805031] hub 2-0:1.0: unable to enumerate USB device on port 1<br />
[ 2.981083] EXT4-fs (mmcblk0p2): recovery complete<br />
[ 3.156943] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)<br />
[ 3.165096] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.<br />
[ 3.176539] devtmpfs: mounted<br />
[ 3.179784] Freeing init memory: 276K<br />
</nowiki><br />
<br />
==Fixing USB bus==<br />
After booting for the first time, it is likely that messages such as this will flood your serial console:<br />
<br />
<nowiki><br />
[ 453.142468] usb 2-1: new high-speed USB device number 97 using ci_hdrc<br />
[ 453.222475] hub 2-0:1.0: unable to enumerate USB device on port 1<br />
[ 453.662416] usb 2-1: new high-speed USB device number 98 using ci_hdrc<br />
[ 453.852421] hub 2-0:1.0: unable to enumerate USB device on port 1<br />
[ 454.292397] usb 2-1: new high-speed USB device number 100 using ci_hdrc<br />
[ 454.382381] hub 2-0:1.0: unable to enumerate USB device on port 1<br />
[ 454.822327] usb 2-1: new high-speed USB device number 101 using ci_hdrc<br />
[ 455.022335] hub 2-0:1.0: unable to enumerate USB device on port 1<br />
[ 455.462285] usb 2-1: new high-speed USB device number 103 using ci_hdrc<br />
[ 455.672275] hub 2-0:1.0: unable to enumerate USB device on port 1<br />
[ 456.112232] usb 2-1: new high-speed USB device number 105 using ci_hdrc<br />
[ 456.192244] hub 2-0:1.0: unable to enumerate USB device on port 1<br />
</nowiki><br />
<br />
This command can be run after a cold boot and it will fix the usb bus:<br />
<br />
i2cset -y 1 0x08 0x66 0x48<br />
<br />
After this command runs, the following data will print to the console:<br />
<br />
<nowiki><br />
[ 456.798644] hub 2-1:1.0: USB hub found<br />
[ 456.802728] hub 2-1:1.0: 4 ports detected<br />
[ 457.102481] usb 2-1.2: new high-speed USB device number 107 using ci_hdrc<br />
[ 457.312481] usb 2-1.3: new high-speed USB device number 108 using ci_hdrc<br />
[ 457.447255] hub 2-1.3:1.0: USB hub found<br />
[ 457.451603] hub 2-1.3:1.0: 4 ports detected<br />
</nowiki></div>
Ioerror