Project

General

Profile

RE: Building an SD Card » nandboot.txt

Same kernel as BadBoot but booting from NAND - Tom Tatakis, 04/07/2016 09:02 AM

 
1

    
2
U-Boot SPL 2013.10 (Apr 27 2015 - 11:42:09)
3
MitySOM335x profile 1 - Model No: 3354-HX-X38-RI Serial No: 14008001
4
Configuring for 512 MB DDR3 @ 400MHz
5
enable_gpmc_cs_config: base = 8000000, size = 0, config1 = 800
6
Alstom NVSP2 -- NAND Page size = 4096k booting from dev 5
7
Using 4k bch16 layout
8
ECC Mode = 2 lo = 208/0
9
nand_spl_load_image: loading 4096 bytes from 100000 to 80800000
10
nand_spl_load_image: loading 455772 bytes from 100000 to 807fffc0
11

    
12

    
13
U-Boot 2013.10 (Apr 27 2015 - 11:42:09)
14

    
15
AM335X-GP rev 2
16
I2C:   ready
17
DRAM:  512 MiB
18
WARNING: Caches not enabled
19
enable_gpmc_cs_config: base = 8000000, size = 0, config1 = 800
20
NAND:  Using 4k bch16 layout
21
ECC Mode = 2 lo = 208/0
22
512 MiB
23
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
24
gpio input SPARE0 value = 0
25
Net:   cpsw:1 is connected to cpsw.  Reconnecting to cpsw
26
cpsw
27
Hit any key to stop autoboot:  0
28
Card did not respond to voltage select!
29
Booting from nand ...
30
nandecc disabled
31

    
32
NAND read: device 0 offset 0x340000, size 0x500000
33
Skipping bad block 0x00780000
34
 5242880 bytes read: OK
35
## Booting kernel from Legacy Image at 80007fc0 ...
36
   Image Name:   Linux-3.2.0-svn333
37
   Image Type:   ARM Linux Kernel Image (uncompressed)
38
   Data Size:    3825616 Bytes = 3.6 MiB
39
   Load Address: 80008000
40
   Entry Point:  80008000
41
   Verifying Checksum ... OK
42
   XIP Kernel Image ... OK
43

    
44
Starting kernel ...
45

    
46
Uncompressing Linux... done, booting the kernel.
47
[    0.000000] Linux version 3.2.0-svn333 (mitydsp@mitydsp-dev) (gcc version 4.7.3 20130226 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.03-20130313 - Linaro GCC 2013.03) ) #45 PREEMPT Tue Apr 5 16:05:51 EDT 2016
48
[    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d
49
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
50
[    0.000000] Machine: mitysom335x
51
[    0.000000] Memory policy: ECC disabled, Data cache writeback
52
[    0.000000] AM335X ES2.1 (sgx neon )
53
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
54
[    0.000000] Kernel command line: console=ttyO0,115200n8 root=ubi0:rootfs rw ubi.mtd=7,4096 noinitrd rootfstype=ubifs rootwait=1 ip=none
55
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
56
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
57
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
58
[    0.000000] Memory: 512MB = 512MB total
59
[    0.000000] Memory: 510888k/510888k available, 13400k reserved, 0K highmem
60
[    0.000000] Virtual kernel memory layout:
61
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
62
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
63
[    0.000000]     vmalloc : 0xe0800000 - 0xff000000   ( 488 MB)
64
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
65
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
66
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
67
[    0.000000]       .text : 0xc0008000 - 0xc0780000   (7648 kB)
68
[    0.000000]       .init : 0xc0780000 - 0xc07bb000   ( 236 kB)
69
[    0.000000]       .data : 0xc07bc000 - 0xc0854700   ( 610 kB)
70
[    0.000000]        .bss : 0xc0854724 - 0xc08a6418   ( 328 kB)
71
[    0.000000] NR_IRQS:396
72
[    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
73
[    0.000000] Total of 128 interrupts on 1 active controller
74
[    0.000000] OMAP clockevent source: GPTIMER2 at 24000000 Hz
75
[    0.000000] OMAP clocksource: GPTIMER1 at 32768 Hz
76
[    0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 131071999ms
77
[    0.000000] Console: colour dummy device 80x30
78
[    0.000122] Calibrating delay loop... 795.44 BogoMIPS (lpj=3977216)
79
[    0.039062] pid_max: default: 32768 minimum: 301
80
[    0.039215] Security Framework initialized
81
[    0.039337] Mount-cache hash table entries: 512
82
[    0.039733] CPU: Testing write buffer coherency: ok
83
[    0.040679] devtmpfs: initialized
84
[    0.060943] omap_hwmod: pruss: failed to hardreset
85
[    0.062469] print_constraints: dummy:
86
[    0.062988] NET: Registered protocol family 16
87
[    0.065704] OMAP GPIO hardware version 0.1
88
[    0.069396] mityarm335x_init...
89
[    0.069732] omap_mux_init: Add partition: #1: core, flags: 0
90
[    0.070556] Configuring I2C Bus 1
91
[    0.070617]  omap_i2c.2: alias fck already exists
92
[    0.070892] Configuring I2C Bus 2
93
[    0.070953]  omap_i2c.3: alias fck already exists
94
[    0.072052] Registering mcspi 1 [2]
95
[    0.072082]  omap2_mcspi.1: alias fck already exists
96
[    0.072357] Registering mcspi 2 [2]
97
[    0.072387]  omap2_mcspi.2: alias fck already exists
98
[    0.072692]  edma.0: alias fck already exists
99
[    0.072723]  edma.0: alias fck already exists
100
[    0.072753]  edma.0: alias fck already exists
101
[    0.078002]  omap_i2c.1: alias fck already exists
102
[    0.111083] bio: create slab <bio-0> at 0
103
[    0.114105] SCSI subsystem initialized
104
[    0.116210] usbcore: registered new interface driver usbfs
105
[    0.116607] usbcore: registered new interface driver hub
106
[    0.116882] usbcore: registered new device driver usb
107
[    0.118377] omap_i2c omap_i2c.2: bus 2 rev2.4.0 at 100 kHz
108
[    0.119628] omap_i2c omap_i2c.3: bus 3 rev2.4.0 at 100 kHz
109
[    0.120727] tps65910 3-002d: JTAGREVNUM 0x1
110
[    0.125457] print_constraints: VRTC:
111
[    0.126983] print_constraints: VIO: at 1500 mV
112
[    0.129486] print_constraints: VDD1: 600 <--> 1500 mV at 1262 mV normal
113
[    0.131896] print_constraints: VDD2: 600 <--> 1500 mV at 1137 mV normal
114
[    0.132965] print_constraints: VDD3: 5000 mV
115
[    0.134460] print_constraints: VDIG1: at 1800 mV
116
[    0.135955] print_constraints: VDIG2: at 1800 mV
117
[    0.137420] print_constraints: VPLL: at 1800 mV
118
[    0.138916] print_constraints: VDAC: at 1800 mV
119
[    0.140502] print_constraints: VAUX1: at 1800 mV
120
[    0.141998] print_constraints: VAUX2: at 3300 mV
121
[    0.143493] print_constraints: VAUX33: at 3300 mV
122
[    0.144989] print_constraints: VMMC: at 3300 mV
123
[    0.145599] tps65910 3-002d: No interrupt support, no core IRQ
124
[    0.159118] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz
125
[    0.159790] pps_core: LinuxPPS API ver. 1 registered
126
[    0.159790] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
127
[    0.159973] PTP clock support registered
128
[    0.161071] Advanced Linux Sound Architecture Driver Version 1.0.24.
129
[    0.161956] Switching to clocksource gp timer
130
[    0.186859] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
131
[    0.187530] NET: Registered protocol family 2
132
[    0.187805] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
133
[    0.188323] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
134
[    0.188598] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
135
[    0.188751] TCP: Hash tables configured (established 16384 bind 16384)
136
[    0.188781] TCP reno registered
137
[    0.188781] UDP hash table entries: 256 (order: 0, 4096 bytes)
138
[    0.188812] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
139
[    0.189086] NET: Registered protocol family 1
140
[    0.189666] RPC: Registered named UNIX socket transport module.
141
[    0.189697] RPC: Registered udp transport module.
142
[    0.189697] RPC: Registered tcp transport module.
143
[    0.189697] RPC: Registered tcp NFSv4.1 backchannel transport module.
144
[    0.190002] NetWinder Floating Point Emulator V0.97 (double precision)
145
[    0.193847] audit: initializing netlink socket (disabled)
146
[    0.193908] type=2000 audit(0.190:1): initialized
147
[    0.209899] VFS: Disk quotas dquot_6.5.2
148
[    0.209991] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
149
[    0.212493] msgmni has been set to 997
150
[    0.214080] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
151
[    0.214111] io scheduler noop registered
152
[    0.214111] io scheduler deadline registered
153
[    0.214324] io scheduler cfq registered (default)
154
[    0.216491] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
155
[    0.219146] zilog_escc_init returning with 0
156
[    0.239318] brd: module loaded
157
[    0.246398] loop: module loaded
158
[    0.246643] i2c-core: driver [tsl2550] using legacy suspend method
159
[    0.246643] i2c-core: driver [tsl2550] using legacy resume method
160
[    0.246734] at24 2-0050: 256 byte 24c02 EEPROM, read-only, 0 bytes/write
161
[    0.252593] MitySOM-335x: Part Number = 3354-HX-X38-RI
162
[    0.252624] No SPI NOR Flash found.
163
[    0.252624] Configuring 512MB NAND device
164
[    0.252838] mityarm335x_nand_init: calling omap_nand_init- 4k
165
[    0.252838] mityarm335x_nand_init: calling omap_init_gpmc
166
[    0.253509] omap-gpmc omap-gpmc: GPMC revision 6.0
167
[    0.253509] gpmc_probe: calling gpmc_nand_init
168
[    0.253509] gpmc_probe:      nr= 8, cs= 0, name= SPL
169
[    0.253540] Registering NAND on CS0
170
[    0.253540] Enabling CS0, base=0x100000, size=0xf00000, config7=0xf40
171
[    0.253570] Registering CS0, resource start=0x100000, end=0xffffff
172
[    0.253631] gpmc_nand_init: registering paltform device gpmc_nand_device= omap2-nand
173
[    0.257781] omap2-nand driver initializing
174
[    0.257873] omap_nand_probe: pdev->name= omap2-nand
175
[    0.258117] ONFI flash detected
176
[    0.258270] ONFI param page 0 valid
177
[    0.258270] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xdc (Micron MT29F4G08ABAEAWP)
178
[    0.258300] nand_scan_tail: ENTERED (0xdf172010)
179
[    0.258300] omap_nand_probe: calling mtd_device_parse_register
180
[    0.258331] add_mtd_partitions: Creating 8 MTD partitions on "omap2-nand.0" (mtd=0xdf172010):
181
[    0.258361] allocate_partition: 0x000000000000-0x000000040000 : "SPL"
182
[    0.258453] add_mtd_device: mtd= 0xdf218800, assigning index= 0
183
[    0.260345] allocate_partition: 0x000000040000-0x000000080000 : "SPL.backup1"
184
[    0.260406] add_mtd_device: mtd= 0xdf23bc00, assigning index= 1
185
[    0.262420] allocate_partition: 0x000000080000-0x0000000c0000 : "SPL.backup2"
186
[    0.262481] add_mtd_device: mtd= 0xdf23b000, assigning index= 2
187
[    0.264190] allocate_partition: 0x0000000c0000-0x000000100000 : "SPL.backup3"
188
[    0.264251] add_mtd_device: mtd= 0xdf1e9400, assigning index= 3
189
[    0.265899] allocate_partition: 0x000000100000-0x000000300000 : "U-Boot"
190
[    0.266357] add_mtd_device: mtd= 0xdf1ee800, assigning index= 4
191
[    0.268035] allocate_partition: 0x000000300000-0x000000340000 : "U-Boot Env"
192
[    0.268096] add_mtd_device: mtd= 0xdf249c00, assigning index= 5
193
[    0.269744] allocate_partition: 0x000000340000-0x000000840000 : "Kernel"
194
[    0.270812] add_mtd_device: mtd= 0xdf249000, assigning index= 6
195
[    0.272705] allocate_partition: 0x000000840000-0x000020000000 : "File System"
196
[    0.379089] add_mtd_device: mtd= 0xdf24f400, assigning index= 7
197
[    0.380950] OneNAND driver initializing
198
[    0.383789] CAN device driver interface
199
[    0.383789] CAN bus driver for Bosch D_CAN controller 1.0
200
[    0.432159] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
201
[    0.432189] davinci_mdio davinci_mdio.0: detected phy mask fffffff9
202
[    0.432678] nvsp2_phy_fixup phy_id = 0x221622, addr = 1
203
[    0.433410] nvsp2_phy_fixup phy_id = 0x221622, addr = 2
204
[    0.433685] davinci_mdio.0: probed
205
[    0.433715] davinci_mdio davinci_mdio.0: phy[1]: device 0:01, driver Micrel KSZ9031 Gigabit PHY
206
[    0.433715] davinci_mdio davinci_mdio.0: phy[2]: device 0:02, driver Micrel KSZ9031 Gigabit PHY
207
[    0.434204] usbcore: registered new interface driver cdc_ether
208
[    0.434417] usbcore: registered new interface driver cdc_subset
209
[    0.434448] Initializing USB Mass Storage driver...
210
[    0.434692] usbcore: registered new interface driver usb-storage
211
[    0.434692] USB Mass Storage support registered.
212
[    0.435424] mousedev: PS/2 mouse device common for all mice
213
[    0.438446] tps65910-rtc tps65910-rtc: Wake up is not possible as irq = 0
214
[    0.444519] tps65910-rtc tps65910-rtc: rtc core: registered tps65910-rtc as rtc0
215
[    0.444763] i2c /dev entries driver
216
[    0.445953] Linux media interface: v0.10
217
[    0.446166] Linux video capture interface: v2.00
218
[    0.450683] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
219
[    0.455932] cpuidle: using governor ladder
220
[    0.456787] cpuidle: using governor menu
221
[    0.458740] usbcore: registered new interface driver usbhid
222
[    0.458770] usbhid: USB HID core driver
223
[    0.460052] usbcore: registered new interface driver snd-usb-audio
224
[    0.487792] ALSA device list:
225
[    0.487823]   No soundcards found.
226
[    0.487823] oprofile: hardware counters not available
227
[    0.487854] oprofile: using timer interrupt.
228
[    0.487915] nf_conntrack version 0.5.0 (7982 buckets, 31928 max)
229
[    0.488769] ip_tables: (C) 2000-2006 Netfilter Core Team
230
[    0.488922] TCP cubic registered
231
[    0.488952] NET: Registered protocol family 17
232
[    0.488983] can: controller area network core (rev 20090105 abi 8)
233
[    0.489196] NET: Registered protocol family 29
234
[    0.489227] can: raw protocol (rev 20090105)
235
[    0.489227] can: broadcast manager protocol (rev 20090105 t)
236
[    0.489318] 8021q: 802.1Q VLAN Support v1.8
237
[    0.489379] lib80211: common routines for IEEE802.11 drivers
238
[    0.489440] Registering the dns_resolver key type
239
[    0.489562] Registering FPGA on CS1
240
[    0.489562] Enabling CS1, base=0x1000000, size=0x1000000, config7=0xf41
241
[    0.489593] Registering CS1, resource start=0x1000000, end=0x1ffffff
242
[    0.490203] baseboard_init_late [Alstom NVSP2]...
243
[    0.490447]  omap_hsmmc.0: alias fck already exists
244
[    0.491699] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
245
[    1.600036] console [ttyO0] enabled
246
[    1.605407] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
247
[    1.614196] baseboard_setup_spi1_devices: calling spi_register_board_info()
248
[    1.622161] m25p80 spi2.0: m25p64-nonjedec (8192 Kbytes)
249
[    1.627838] add_mtd_partitions: Creating 1 MTD partitions on "spi_flash" (mtd=0xdf2af410):
250
[    1.636505] allocate_partition: 0x000000000000-0x000000800000 : "NOR User Defined"
251
[    1.644409] add_mtd_device: mtd= 0xdf2af000, assigning index= 8
252
[    1.857543] zilog_escc: ttyZ0 at MMIO 0x1008004 (irq = 256) is a zs (ESCC)
253
[    1.865295] zilog_escc: ttyZ1 at MMIO 0x1008000 (irq = 256) is a zs (ESCC)
254
[    1.876678]  d_can.1: alias fck already exists
255
[    1.882995] d_can d_can.1: device registered (irq=55, irq_obj=56)
256
[    1.892089] tiadc tiadc: attached adc driver
257
[    1.896820] Registering ENET on CS2
258
[    1.900482] Enabling CS2, base=0x2000000, size=0x1000000, config7=0xf42
259
[    1.907440] Registering CS2, resource start=0x2000000, end=0x2ffffff
260
[    1.914581] ks8851_mll ks8851_mll: (unregistered net_device): message enable is 0
261
[    1.922424] ks8851_mll ks8851_mll: (unregistered net_device): the selftest passes
262
[    1.942169] ks8851_mll ks8851_mll: eth0: Using random mac address
263
[    1.948608] ks8851_mll ks8851_mll: eth0: Mac address is: 52:55:3b:30:5c:5e
264
[    1.955810] ks8851_mll ks8851_mll: eth0: Found chip, family: 0x88, id: 0x7, rev: 0x1
265
[    1.963897] ks8851_mll ks8851_mll: eth0: MARM register value: 0x3b30
266
[    1.970550] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
267
[    1.978576] ThumbEE CPU extension supported.
268
[    1.983123] mux: Failed to setup hwmod io irq -22
269
[    1.990020] Power Management for AM33XX family
270
[    1.994689] pm: Err (-22) setting core voltage setting
271
[    2.000244] Trying to load am335x-pm-firmware.bin (60 secs timeout)
272
[    2.006958] Copied the M3 firmware to UMEM
273
[    2.011291] Unable to read CM3 firmware version
274
[    2.030151] ubi_attach_mtd_dev: mtd= 0xdf24f400
275
[    2.035064] UBI: attaching mtd7 to ubi0
276
[    2.039215] ubi_attach: mtd= 0xdf24f400, index= 7, name= File System
277
[    6.184631] UBI: scanning is finished
278
[    6.188690] UBI: scan_all: returning success
279
[    6.193176] UBI: ubi_attach: reading volume table: bad_peb= 1, good_peb= 2014,corr_peb= 0,max_ec= 1, mean_ec= 0, max seq= 25
280
[    6.222900] UBI: attached mtd7 (name "File System", size 503 MiB) to ubi0
281
[    6.229980] UBI: PEB size: 262144 bytes (256 KiB), LEB size: 253952 bytes
282
[    6.237121] UBI: min./max. I/O unit sizes: 4096/4096, sub-page size 4096
283
[    6.244140] UBI: VID header offset: 4096 (aligned 4096), data offset: 8192
284
[    6.251312] UBI: good PEBs: 2014, bad PEBs: 1, corrupted PEBs: 0
285
[    6.257598] UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
286
[    6.265045] UBI: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 197770969
287
[    6.274414] UBI: available PEBs: 0, total reserved PEBs: 2014, PEBs reserved for bad PEB handling: 39
288
[    6.284057] UBI: background thread "ubi_bgt0d" started, PID 772
289
[    6.290466] Detected MACID=90:59:af:91:32:22
290
[    6.296325] cpsw: Detected MACID = 90:59:af:91:32:24
291
[    6.306243] tps65910-rtc tps65910-rtc: setting system clock to 2014-12-19 01:45:26 UTC (1418953526)
292
[    6.322692] UBIFS: background thread "ubifs_bgt0_0" started, PID 778
293
[    6.451721] UBIFS: recovery needed
294
[    6.756805] UBIFS: recovery completed
295
[    6.760894] UBIFS: mounted UBI device 0, volume 0, name "rootfs"
296
[    6.767211] UBIFS: LEB size: 253952 bytes (248 KiB), min./max. I/O unit sizes: 4096 bytes/4096 bytes
297
[    6.776763] UBIFS: FS size: 497999872 bytes (474 MiB, 1961 LEBs), journal size 9404416 bytes (8 MiB, 38 LEBs)
298
[    6.787109] UBIFS: reserved for root: 0 bytes (0 KiB)
299
[    6.792388] UBIFS: media format: w4/r0 (latest is w4/r0), UUID BF0C5FDB-AC81-4849-B9F7-58C8D1BF4B81, small LPT model
300
[    6.806610] VFS: Mounted root (ubifs filesystem) on device 0:13.
301
[    6.813446] Freeing init memory: 236K
302
[    8.904418] udevd[806]: starting version 182
303

    
304

    
305

    
306
Arago 2014.05 mityarm335x /dev/ttyO0
307

    
308
mityarm335x login:
(3-3/3) Go to top
Add picture from clipboard (Maximum size: 1 GB)