您尚未登录。

#2 全志 SOC » 荔枝派nano运行Tina tvout问题 » 2021-01-15 18:04:59

lijianjian135
回复: 4

请问大家有在nano上玩过TV_OUT吗,我这加上这个输出编译出来的内核直接就panic,有人遇到过吗

[    0.365685] para->mclk[MOD_CLK_LCD1CH0]=0xc180c300
[    0.370731] para->mclk[MOD_CLK_LCD1CH1]=0xc180c400
[    0.375685] disp tv init
[    0.378351] tcon_clk=0xc180c300, tcon_clk_parent=0x0
[    0.383530] tcon_clk=0xc180c300, tcon_clk_parent=0xc18043c0
[    0.389278] tve_clk=0xc180c400, tve_clk_parent=0xc18043c0
[    0.394893] disp al tv init
[    0.400730] fetch script datadisp.screen2_output_type fail
[    0.406711] fetch script datadisp.screen2_output_mode fail
[    0.415092] fetch script datadisp.fb2_format fail
[    0.420352] fetch script datadisp.fb2_scaler_mode_enable fail
[    0.426587] fetch script datadisp.fb2_width fail
[    0.431749] fetch script datadisp.fb2_height fail
[    0.436647] disp_malloc fail, size=0x2a3000
[    0.441053] disp_malloc fail!
[    0.444484] Unable to handle kernel paging request at virtual address 00054920
[    0.452043] pgd = c0004000
[    0.454891] [00054920] *pgd=00000000
[    0.458634] Internal error: Oops: 805 [#1] ARM
[    0.463233] Modules linked in:
[    0.466446] CPU: 0 PID: 1 Comm: swapper Not tainted 3.10.65 #11
[    0.472550] task: c1832000 ti: c1834000 task.ti: c1834000
[    0.478134] PC is at memcpy+0x244/0x330
[    0.482119] LR is at 0xadc8ff9e
[    0.485407] pc : [<c0166004>]    lr : [<adc8ff9e>]    psr: 20000013
[    0.485407] sp : c1835c40  ip : ff9eaec8  fp : c1835d7c
[    0.497230] r10: 000000ef  r9 : ff9dacc8  r8 : ff99a8c7
[    0.502625] r7 : ff97a6c6  r6 : ff96a5c7  r5 : ff94a2c4  r4 : ff93a2c4
[    0.509340] r3 : ff9ca7c2  r2 : 00000460  r1 : c2854b58  r0 : 00054920
[    0.516056] Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
[    0.523564] Control: 0005317f  Table: 80004000  DAC: 00000017
[    0.529483] 
[    0.529483] PC: 0xc0165f84:
[    0.533995] 5f84  cafffff9 e2411003 eaffffba e252201c ba00001f e92d03e0 f5d1f000 e2522060
[    0.542484] 5fa4  f5d1f01c ba000002 f5d1f03c f5d1f05c f5d1f07c e8b100f0 e1a0382e e2522020
[    0.550969] 5fc4  e8b15300 e1833804 e1a04824 e1844805 e1a05825 e1855806 e1a06826 e1866807
[    0.559455] 5fe4  e1a07827 e1877808 e1a08828 e1888809 e1a09829 e189980c e1a0c82c e18cc80e
[    0.567941] 6004  e8a013f8 aaffffe9 e3720060 aaffffe8 e8bd03e0 e212c01c 0a000005 e1a0382e
[    0.576426] 6024  e491e004 e25cc004 e183380e e4803004 cafffff9 e2411002 eaffff8e e252201c
[    0.584912] 6044  ba00001f e92d03e0 f5d1f000 e2522060 f5d1f01c ba000002 f5d1f03c f5d1f05c
[    0.593398] 6064  f5d1f07c e8b100f0 e1a03c2e e2522020 e8b15300 e1833404 e1a04c24 e1844405
[    0.601887]

#3 Re: 全志 SOC » 荔枝派nano运行Tina问题 » 2020-07-16 09:47:40

tina默认没有打开eraly print,打开了就可以看到是lcd驱动那里的问题了

#5 全志 SOC » 荔枝派nano运行Tina问题 » 2020-07-15 10:08:23

lijianjian135
回复: 5

编译tina3.5
1、修改sys_config.fex的串口,默认是串口1,改成串口0输出
2、修改为spi flash启动
     storage_type    = 3

这样修改编译出来的固件能启动uboot,到启动内核的时候卡住了

[0]HELLO! BOOT0 is starting!
[2]boot0 commit : 80628dcde5dc4ecdc757a9e782c58d7cf1abf959
 
[60]dram size =32
[62]Reg pull reg_val=0x00000000,read=0x00000010
[66]Succeed in reading toc file head.
[69]The size of toc is 00054000.
[127]Reg pull reg_val=0x00000000,read=0x00000010
[136]Ready to disable icache.
[138]Jump to secend Boot.


U-Boot 2014.07 (Jul 31 2018 - 14:59:26) Allwinner Technology 

uboot commit : 6604446f7bddb8fe53f2b993100929f92a5f4d6e
 
i2c_init: by cpux
[I2C-DEBUG]:i2c_set_clock() 354 
[I2C-ERROR]:twi_send_clk_9pulse() 136 SDA is still Stuck Low, failed. 
i2c_init ok
[0.187]pmbus:   ready
axp: get node[/soc/pmu0] error
axp_probe error
[0.193]PMU: cpux 408 Mhz,AXI=408 Mhz
PLL6=600 Mhz,AHB1=200 Mhz, APB1=100Mhz 
key value = 4294967295, fel_key = [256,426]
DRAM:  32 MiB
Relocation Offset is: 01581000
axp: get node[/soc/pmu0] error
int sunxi_dma_init---
irq enable
workmode = 0,storage type = 3
[0.260]spinor:	 0
flash size =0x8000 sectors
sunxi spinor is initing...int sunxi_dma_init---
irq enable
sunxi_dma_install_int ok
sunxi_dma_install_int ok
OK
spinor id:0x1840ef
spi_freq = 40000000
[0.278]sunxi flash init ok
spinor read: start 0x3e0, sector 0x20
used mbr [0], count = 8
spinor read: start 0x800, sector 0x200
backup env check CRC fail
Now update backup env
spinor write: start 0x900, sector 0x100
start = 0x900, cnt=0x80
start = 0x980, cnt=0x80
logo addr = 0x81f00000
spinor read: start 0x400, sector 0x400
sunxi_read_bootlogo: read bootlogo partition successful
do not find fastboot status flag
--------fastboot partitions--------
-total partitions:8-
-name-        -start-       -size-      
bootlogo    : 4000          80000       
env         : 84000         40000       
boot        : c4000         2ee000      
rootfs      : 3b2000        870800      
rootfs_data : c22800        80000       
misc        : ca2800        10000       
private     : cb2800        10000       
UDISK       : cc2800        0           
-----------------------------------
spinor read: start 0x68f4, sector 0x4
disable nand error: FDT_ERR_BADPATH
disable nand error: FDT_ERR_BADPATH
## error: update_fdt_dram_para : FDT_ERR_NOTFOUND
PowerBus = 0( 2:vBus 3:acBus other: not exist)
no battery exist
sunxi_bmp_logo_display
Hit any key to stop autoboot:  0 
spinor read: start 0xa00, sector 0x40
spinor read: start 0xa40, sector 0x13e5
## Booting kernel from Legacy Image at 80007fc0 ...
   Image Name:   ARM OpenWrt Linux-3.10.65
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2639872 Bytes = 2.5 MiB
   Load Address: 80008000
   Entry Point:  80008000
   XIP Kernel Image ... OK
   reserving fdt memory region: addr=81000000 size=10000
   Using Device Tree in place at 81000000, end 8100f2bf

Starting kernel ...

这就停掉了,内核没打印东西,不知道内核是否启动了
请问大家还需要修改什么吗

#6 Re: 全志 SOC » 【海豚派】海豚派 V3s 开发板资料预览 » 2018-10-12 11:30:43

晕哥,能不能提供一下海豚派camdroid的源码啊,我用芒果派的编译出来可以烧写到海豚派上,但是没有打印啊

#7 Re: 全志 SOC » licheepi zero BSP 内核(linux3.4) 编译教程 » 2018-05-30 17:22:28

内核识别到分区了,但是还是不行

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0
[    0.000000] Linux version 3.4.39 (root@ubuntu) (gcc version 4.6.3 20120201 (prerelease) (crosstool-NG linaro-1.13.1-2012.02-20120222 - Linaro GCC 2012.02) ) #26 Wed May 30 02:08:21 PDT 2018
[    0.000000] Initialized persistent memory from 41d20800-41d307ff
[    0.000000] Kernel command line: console=ttyS0,115200 panic=5 rootwait root=/dev/mmcblk0p2 earlyprintk rw
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Memory: 64MB = 64MB total
[    0.000000] Memory: 30388k/30388k available, 35148k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xc4800000 - 0xff000000   ( 936 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc4000000   (  64 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc047f000   (4572 kB)
[    0.000000]       .init : 0xc047f000 - 0xc04a2000   ( 140 kB)
[    0.000000]       .data : 0xc04a2000 - 0xc04e67e0   ( 274 kB)
[    0.000000]        .bss : 0xc04e6804 - 0xc057fda4   ( 614 kB)
[    0.000000] NR_IRQS:544
[    0.000000] Architected local timer running at 24.00MHz.
[    0.000000] Switching to timer-based delay loop
[    0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
[    0.000000] Console: colour dummy device 80x30
[    0.000160] Calibrating delay loop (skipped), value calculated using timer frequency.. 4800.00 BogoMIPS (lpj=24000000)
[    0.000182] pid_max: default: 32768 minimum: 301
[    0.000309] Mount-cache hash table entries: 512
[    0.000817] CPU: Testing write buffer coherency: ok
[    0.001089] Setting up static identity map for 0x4035b768 - 0x4035b7c0
[    0.001751] devtmpfs: initialized
[    0.003431] pinctrl core: initialized pinctrl subsystem
[    0.003914] NET: Registered protocol family 16
[    0.004219] DMA: preallocated 128 KiB pool for atomic coherent allocations
[    0.004275] script_sysfs_init success
[    0.005026] gpiochip_add: registered GPIOs 0 to 223 on device: sunxi-pinctrl
[    0.005917] sunxi-pinctrl sunxi-pinctrl: initialized sunXi PIO driver
[    0.006287] gpiochip_add: registered GPIOs 1024 to 1031 on device: axp-pinctrl
[    0.007036] persistent_ram: found existing buffer, size 18860, start 18860
[    0.091124] console [ram-1] enabled
[    0.091940] Not Found clk pll_isp in script 
[    0.092057] Not Found clk pll_video in script 
[    0.092248] Not Found clk pll_ve in script 
[    0.092353] Not Found clk pll_periph0 in script 
[    0.092542] Not Found clk pll_de in script 
[    0.096422] bio: create slab <bio-0> at 0
[    0.096792] pwm module init!
[    0.099093] SCSI subsystem initialized
[    0.099424] usbcore: registered new interface driver usbfs
[    0.099595] usbcore: registered new interface driver hub
[    0.099919] usbcore: registered new device driver usb
[    0.100161] twi_chan_cfg()340 - [twi0] has no twi_regulator.
[    0.100359] twi_chan_cfg()340 - [twi1] has no twi_regulator.
[    0.101135] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x34)
[    0.101346] axp20_board 0-0034: failed reading at 0x03
[    0.101480] axp20_board: probe of 0-0034 failed with error -70
[    0.101713] Linux video capture interface: v2.00
[    0.101918] gpiochip_add: gpios 1024..1028 (axp_pin) failed to register
[    0.102428] Advanced Linux Sound Architecture Driver Version 1.0.25.
[    0.103530] cfg80211: Calling CRDA to update world regulatory domain
[    0.104485] Switching to clocksource arch_sys_counter
[    0.109978] NET: Registered protocol family 2
[    0.109978] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.109978] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    0.110154] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.110365] TCP: Hash tables configured (established 2048 bind 2048)
[    0.110473] TCP: reno registered
[    0.110669] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.110785] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.111252] NET: Registered protocol family 1
[    0.111689] standby_mode = 1. 
[    0.111796] wakeup src cnt is : 3. 
[    0.112003] pmu1_enable = 0x1. 
[    0.112108] pmux_id = 0x1. 
[    0.112220] config_pmux_para: script_parser_fetch err. 
[    0.112409] pmu2_enable = 0x0. 
[    0.112515] add_sys_pwr_dm: get ldo name failed
[    0.112619] add_sys_pwr_dm: get ldo name failed
[    0.112807] add_sys_pwr_dm: get ldo name failed
[    0.112911] add_sys_pwr_dm: get ldo name failed
[    0.113015] add_sys_pwr_dm: get ldo name failed
[    0.113203] add_sys_pwr_dm: get ldo name failed
[    0.113306] add_sys_pwr_dm: get ldo name failed
[    0.113495] add_sys_pwr_dm: get ldo name failed
[    0.113598] add_sys_pwr_dm: get ldo name failed
[    0.113701] add_sys_pwr_dm: get ldo name failed
[    0.113890] after inited: sys_mask config = 0x0. 
[    0.113994] dynamic_standby enalbe = 0x0. 
[    0.114228] sunxi_reg_init enter
[    0.116032] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.116200] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.116566] msgmni has been set to 59
[    0.117601] io scheduler noop registered
[    0.117807] io scheduler deadline registered
[    0.117990] io scheduler cfq registered (default)
[    0.118484] [DISP]disp_module_init
[    0.119075] cmdline,disp=
[    0.119712] [DISP] disp_get_rotation_sw,line:68:disp 0 out of range? g_rot_sw=0
[    0.120068] [DISP] disp_init_connections,line:289:NULL pointer: 0, 0
[    0.121889] [DISP] Fb_map_kernel_logo,line:924:Fb_map_kernel_logo failed!
[    0.124516] [DISP] disp_sys_power_enable,line:387:some error happen, fail to get regulator 
[    0.125584] [DISP]disp_module_init finish
[    0.125984] sw_uart_get_devinfo()1503 - uart0 has no uart_regulator.
[    0.126439] uart0: ttyS0 at MMIO 0x1c28000 (irq = 32) is a SUNXI
[    0.126641] sw_uart_pm()890 - uart0 clk is already enable
[    0.126756] sw_console_setup()1233 - console setup baud 115200 parity n bits 8, flow n
[    0.240393] console [ttyS0] enabled
[    0.768017] sunxi_spi_chan_cfg()1376 - [spi-0] has no spi_regulator.
[    0.775963] spi spi0: master is unqueued, this is deprecated
[    0.782562] m25p_probe()986 - Use the Dual Mode Read.
[    0.788456] m25p80 spi0.0: found mx25l12805d, expected at25df641
[    0.795261] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
[    0.803002] Creating 4 MTD partitions on "spi0.0":
[    0.808430] 0x000000000000-0x000000100000 : "uboot"
[    0.814972] 0x000000100000-0x000000110000 : "script"
[    0.821561] 0x000000110000-0x000000510000 : "kernel"
[    0.828210] 0x000000510000-0x000001000000 : "rootfs"
[    0.836322] Failed to alloc md5
[    0.839961] eth0: Use random mac address
[    0.844546] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.872206] sunxi-ehci sunxi-ehci.1: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.881336] sunxi-ehci sunxi-ehci.1: new USB bus registered, assigned bus number 1
[    0.889959] sunxi-ehci sunxi-ehci.1: irq 104, io mem 0xf1c1a000
[    0.910030] sunxi-ehci sunxi-ehci.1: USB 0.0 started, EHCI 1.00
[    0.917443] hub 1-0:1.0: USB hub found
[    0.921872] hub 1-0:1.0: 1 port detected
[    0.926768] sunxi-ehci sunxi-ehci.1: remove, state 1
[    0.932418] usb usb1: USB disconnect, device number 1
[    0.939803] sunxi-ehci sunxi-ehci.1: USB bus 1 deregistered
[    0.956252] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.983429] sunxi-ohci sunxi-ohci.1: SW USB2.0 'Open' Host Controller (OHCI) Driver
[    0.992164] sunxi-ohci sunxi-ohci.1: new USB bus registered, assigned bus number 1
[    1.000744] sunxi-ohci sunxi-ohci.1: irq 105, io mem 0xf1c1a400
[    1.064777] hub 1-0:1.0: USB hub found
[    1.069059] hub 1-0:1.0: 1 port detected
[    1.073970] sunxi-ohci sunxi-ohci.1: remove, state 1
[    1.079675] usb usb1: USB disconnect, device number 1
[    1.085971] sunxi-ohci sunxi-ohci.1: USB bus 1 deregistered
[    1.102480] Initializing USB Mass Storage driver...
[    1.108082] usbcore: registered new interface driver usb-storage
[    1.114950] USB Mass Storage support registered.
[    1.120515] file system registered
[    1.126014] android_usb gadget: Mass Storage Function, version: 2009/09/11
[    1.133866] android_usb gadget: Number of LUNs=1
[    1.139202]  lun0: LUN: removable file: (no medium)
[    1.145206] android_usb gadget: android_usb ready
[    1.150713] sunxikbd_script_init: key para not found, used default para. 
[    1.159334] sunxi-rtc sunxi-rtc: rtc core: registered sunxi-rtc as rtc0
[    1.167829] platform reg-20-cs-dcdc2: Driver reg-20-cs-dcdc2 requests probe deferral
[    1.176698] platform reg-20-cs-dcdc3: Driver reg-20-cs-dcdc3 requests probe deferral
[    1.185629] platform reg-20-cs-ldo1: Driver reg-20-cs-ldo1 requests probe deferral
[    1.194336] platform reg-20-cs-ldo2: Driver reg-20-cs-ldo2 requests probe deferral
[    1.202973] platform reg-20-cs-ldo3: Driver reg-20-cs-ldo3 requests probe deferral
[    1.211682] platform reg-20-cs-ldo4: Driver reg-20-cs-ldo4 requests probe deferral
[    1.220376] platform reg-20-cs-ldoio0: Driver reg-20-cs-ldoio0 requests probe deferral
[    1.229276] sunxi_wdt_init_module: sunxi WatchDog Timer Driver v1.0
[    1.236605] sunxi_wdt_probe: devm_ioremap return wdt_reg 0xf1c20ca0, res->start 0x01c20ca0, res->end 0x01c20cbf
[    1.248011] sunxi_wdt_probe: initialized (g_timeout=16s, g_nowayout=0)
[    1.255678] wdt_enable, write reg 0xf1c20cb8 val 0x00000000
[    1.262066] wdt_set_tmout, write 0x000000b0 to mode reg 0xf1c20cb8, actual timeout 16 sec
[    1.275749] sunxi_leds_fetch_sysconfig_para leds is not used in config
[    1.283144] =========script_get_err============
[    1.288582] usbcore: registered new interface driver usbhid
[    1.294889] usbhid: USB HID core driver
[    1.299882] ashmem: initialized
[    1.303775] logger: created 256K log 'log_main'
[    1.309012] logger: created 32K log 'log_events'
[    1.314383] logger: created 32K log 'log_radio'
[    1.319726] logger: created 32K log 'log_system'
[    1.326407] script_get_item return audio_pa_ctrl type err
[    1.333543] asoc: sndcodec <-> sunxi-codec mapping ok
[    1.341342] TCP: cubic registered
[    1.345136] NET: Registered protocol family 17
[    1.350453] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    1.359238] ThumbEE CPU extension supported.
[    1.364113] Registering SWP/SWPB emulation handler
[    1.370550] platform reg-20-cs-ldoio0: Driver reg-20-cs-ldoio0 requests probe deferral
[    1.379624] platform reg-20-cs-ldo4: Driver reg-20-cs-ldo4 requests probe deferral
[    1.388314] platform reg-20-cs-ldo3: Driver reg-20-cs-ldo3 requests probe deferral
[    1.396879] platform reg-20-cs-ldo2: Driver reg-20-cs-ldo2 requests probe deferral
[    1.405509] platform reg-20-cs-ldo1: Driver reg-20-cs-ldo1 requests probe deferral
[    1.414143] platform reg-20-cs-dcdc3: Driver reg-20-cs-dcdc3 requests probe deferral
[    1.422881] platform reg-20-cs-dcdc2: Driver reg-20-cs-dcdc2 requests probe deferral
[    1.431757] sunxi-rtc sunxi-rtc: setting system clock to 1970-01-01 07:00:57 UTC (25257)
[    1.442314] ALSA device list:
[    1.445711]   #0: audiocodec
[    1.449386] Waiting for root device /dev/mmcblk0p2...

#8 Re: 全志 SOC » licheepi zero BSP 内核(linux3.4) 编译教程 » 2018-05-30 16:20:01

我不是TF卡启动,所以没用/dev/mmcblk0p2这个设备节点啊,而且我刚开始是有加这个的,会一直提示等待

#9 Re: 全志 SOC » licheepi zero BSP 内核(linux3.4) 编译教程 » 2018-05-30 16:08:20

添加uboot和uimage,在uboot加上boot.scr的内容可以启动内核,但是识别不了文件系统

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0
[    0.000000] Linux version 3.4.39 (root@ubuntu) (gcc version 4.6.3 20120201 (prerelease) (crosstool-NG linaro-1.13.1-2012.02-20120222 - Linaro GCC 2012.02) ) #23 Wed May 30 00:39:54 PDT 2018
[    0.000000] Initialized persistent memory from 41d20800-41d307ff
[    0.000000] Kernel command line: console=ttyS0,115200 panic=5 earlyprintk rw
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Memory: 64MB = 64MB total
[    0.000000] Memory: 30720k/30720k available, 34816k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xc4800000 - 0xff000000   ( 936 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc4000000   (  64 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc042e000   (4248 kB)
[    0.000000]       .init : 0xc042e000 - 0xc044f000   ( 132 kB)
[    0.000000]       .data : 0xc0450000 - 0xc04934c0   ( 270 kB)
[    0.000000]        .bss : 0xc04934e4 - 0xc052c84c   ( 613 kB)
[    0.000000] NR_IRQS:544
[    0.000000] Architected local timer running at 24.00MHz.
[    0.000000] Switching to timer-based delay loop
[    0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
[    0.000000] Console: colour dummy device 80x30
[    0.000159] Calibrating delay loop (skipped), value calculated using timer frequency.. 4800.00 BogoMIPS (lpj=24000000)
[    0.000182] pid_max: default: 32768 minimum: 301
[    0.000322] Mount-cache hash table entries: 512
[    0.000825] CPU: Testing write buffer coherency: ok
[    0.001084] Setting up static identity map for 0x403189e0 - 0x40318a38
[    0.001733] devtmpfs: initialized
[    0.003320] pinctrl core: initialized pinctrl subsystem
[    0.003809] NET: Registered protocol family 16
[    0.004077] DMA: preallocated 128 KiB pool for atomic coherent allocations
[    0.004127] script_sysfs_init success
[    0.004876] gpiochip_add: registered GPIOs 0 to 223 on device: sunxi-pinctrl
[    0.005764] sunxi-pinctrl sunxi-pinctrl: initialized sunXi PIO driver
[    0.006133] gpiochip_add: registered GPIOs 1024 to 1031 on device: axp-pinctrl
[    0.006861] persistent_ram: found existing buffer, size 17671, start 17671
[    0.086674] console [ram-1] enabled
[    0.087570] Not Found clk pll_isp in script 
[    0.087685] Not Found clk pll_video in script 
[    0.087876] Not Found clk pll_ve in script 
[    0.087980] Not Found clk pll_periph0 in script 
[    0.088084] Not Found clk pll_de in script 
<[    0.091696] bio: create slab <bio-0> at 0
[    0.092061] pwm module init!
[    0.094252] SCSI subsystem initialized
[    0.094599] usbcore: registered new interface driver usbfs
[    0.094769] usbcore: registered new interface driver hub
[    0.095097] usbcore: registered new device driver usb
[    0.095322] twi_chan_cfg()340 - [twi0] has no twi_regulator.
[    0.095516] twi_chan_cfg()340 - [twi1] has no twi_regulator.
[    0.096315] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x34)
[    0.096524] axp20_board 0-0034: failed reading at 0x03
[    0.096656] axp20_board: probe of 0-0034 failed with error -70
[    0.096889] Linux video capture interface: v2.00
[    0.097085] gpiochip_add: gpios 1024..1028 (axp_pin) failed to register
[    0.097591] Advanced Linux Sound Architecture Driver Version 1.0.25.
[    0.098308] Switching to clocksource arch_sys_counter
[    0.100000] NET: Registered protocol family 2
[    0.100000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.100000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    0.100104] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.100312] TCP: Hash tables configured (established 2048 bind 2048)
[    0.100418] TCP: reno registered
[    0.100610] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.100726] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.101190] NET: Registered protocol family 1
[    0.101482] standby_mode = 1. 
[    0.101587] wakeup src cnt is : 3. 
[    0.101797] pmu1_enable = 0x1. 
[    0.101899] pmux_id = 0x1. 
[    0.102011] config_pmux_para: script_parser_fetch err. 
[    0.102199] pmu2_enable = 0x0. 
[    0.102306] add_sys_pwr_dm: get ldo name failed
[    0.102409] add_sys_pwr_dm: get ldo name failed
[    0.102598] add_sys_pwr_dm: get ldo name failed
[    0.102701] add_sys_pwr_dm: get ldo name failed
[    0.102891] add_sys_pwr_dm: get ldo name failed
[    0.102992] add_sys_pwr_dm: get ldo name failed
[    0.103094] add_sys_pwr_dm: get ldo name failed
[    0.103283] add_sys_pwr_dm: get ldo name failed
[    0.103388] add_sys_pwr_dm: get ldo name failed
[    0.103577] add_sys_pwr_dm: get ldo name failed
[    0.103680] after inited: sys_mask config = 0x0. 
[    0.103785] dynamic_standby enalbe = 0x0. 
[    0.104029] sunxi_reg_init enter
[    0.105788] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.106028] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.106320] msgmni has been set to 60
[    0.107482] io scheduler noop registered
[    0.107599] io scheduler deadline registered
[    0.107773] io scheduler cfq registered (default)
[    0.108357] [DISP]disp_module_init
[    0.108844] cmdline,disp=
[    0.109491] [DISP] disp_get_rotation_sw,line:68:disp 0 out of range? g_rot_sw=0
[    0.109789] [DISP] disp_init_connections,line:289:NULL pointer: 0, 0
[    0.111668] [DISP] Fb_map_kernel_logo,line:924:Fb_map_kernel_logo failed!
[    0.114312] [DISP] disp_sys_power_enable,line:387:some error happen, fail to get regulator 
[    0.115392] [DISP]disp_module_init finish
[    0.115788] sw_uart_get_devinfo()1503 - uart0 has no uart_regulator.
[    0.116307] uart0: ttyS0 at MMIO 0x1c28000 (irq = 32) is a SUNXI
[    0.116422] sw_uart_pm()890 - uart0 clk is already enable
[    0.116622] sw_console_setup()1233 - console setup baud 115200 parity n bits 8, flow n
[    0.230271] console [ttyS0] enabled
[    0.747767] sunxi_spi_chan_cfg()1376 - [spi-0] has no spi_regulator.
[    0.755748] spi spi0: master is unqueued, this is deprecated
[    0.762416] m25p_probe()966 - Use the Dual Mode Read.
[    0.768219] m25p80 spi0.0: found mx25l12805d, expected at25df641
[    0.775097] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
[    0.782311] partitions_register()853 - Invalid partitions count: -352315891
[    0.790542] Creating 1 MTD partitions on "spi0.0":
[    0.795992] 0x000000000000-0x000001000000 : "NorFlash part0"
[    0.803537] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.831051] sunxi-ehci sunxi-ehci.1: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.840272] sunxi-ehci sunxi-ehci.1: new USB bus registered, assigned bus number 1
[    0.848893] sunxi-ehci sunxi-ehci.1: irq 104, io mem 0xf1c1a000
[    0.870033] sunxi-ehci sunxi-ehci.1: USB 0.0 started, EHCI 1.00
[    0.877438] hub 1-0:1.0: USB hub found
[    0.881758] hub 1-0:1.0: 1 port detected
[    0.886627] sunxi-ehci sunxi-ehci.1: remove, state 1
[    0.892359] usb usb1: USB disconnect, device number 1
[    0.898749] sunxi-ehci sunxi-ehci.1: USB bus 1 deregistered
[    0.915289] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.942366] sunxi-ohci sunxi-ohci.1: SW USB2.0 'Open' Host Controller (OHCI) Driver
[    0.951091] sunxi-ohci sunxi-ohci.1: new USB bus registered, assigned bus number 1
[    0.959626] sunxi-ohci sunxi-ohci.1: irq 105, io mem 0xf1c1a400
[    1.024621] hub 1-0:1.0: USB hub found
[    1.028898] hub 1-0:1.0: 1 port detected
[    1.033837] sunxi-ohci sunxi-ohci.1: remove, state 1
[    1.039478] usb usb1: USB disconnect, device number 1
[    1.045999] sunxi-ohci sunxi-ohci.1: USB bus 1 deregistered
[    1.062487] Initializing USB Mass Storage driver...
[    1.068083] usbcore: registered new interface driver usb-storage
[    1.074951] USB Mass Storage support registered.
[    1.080473] file system registered
[    1.085884] android_usb gadget: Mass Storage Function, version: 2009/09/11
[    1.093674] android_usb gadget: Number of LUNs=1
[    1.098997]  lun0: LUN: removable file: (no medium)
[    1.104965] android_usb gadget: android_usb ready
[    1.110532] sunxikbd_script_init: key para not found, used default para. 
[    1.119140] sunxi-rtc sunxi-rtc: rtc core: registered sunxi-rtc as rtc0
[    1.127629] platform reg-20-cs-dcdc2: Driver reg-20-cs-dcdc2 requests probe deferral
[    1.136532] platform reg-20-cs-dcdc3: Driver reg-20-cs-dcdc3 requests probe deferral
[    1.145450] platform reg-20-cs-ldo1: Driver reg-20-cs-ldo1 requests probe deferral
[    1.154163] platform reg-20-cs-ldo2: Driver reg-20-cs-ldo2 requests probe deferral
[    1.162794] platform reg-20-cs-ldo3: Driver reg-20-cs-ldo3 requests probe deferral
[    1.171494] platform reg-20-cs-ldo4: Driver reg-20-cs-ldo4 requests probe deferral
[    1.180205] platform reg-20-cs-ldoio0: Driver reg-20-cs-ldoio0 requests probe deferral
[    1.189179] sunxi_wdt_init_module: sunxi WatchDog Timer Driver v1.0
[    1.196437] sunxi_wdt_probe: devm_ioremap return wdt_reg 0xf1c20ca0, res->start 0x01c20ca0, res->end 0x01c20cbf
[    1.207854] sunxi_wdt_probe: initialized (g_timeout=16s, g_nowayout=0)
[    1.215599] wdt_enable, write reg 0xf1c20cb8 val 0x00000000
[    1.221898] wdt_set_tmout, write 0x000000b0 to mode reg 0xf1c20cb8, actual timeout 16 sec
[    1.235513] sunxi_leds_fetch_sysconfig_para leds is not used in config
[    1.242929] =========script_get_err============
[    1.248351] usbcore: registered new interface driver usbhid
[    1.254666] usbhid: USB HID core driver
[    1.259740] ashmem: initialized
[    1.263516] logger: created 256K log 'log_main'
[    1.268807] logger: created 32K log 'log_events'
[    1.274268] logger: created 32K log 'log_radio'
[    1.279497] logger: created 32K log 'log_system'
[    1.286139] script_get_item return audio_pa_ctrl type err
[    1.293134] asoc: sndcodec <-> sunxi-codec mapping ok
[    1.300906] TCP: cubic registered
[    1.304790] NET: Registered protocol family 17
[    1.309915] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    1.318761] ThumbEE CPU extension supported.
[    1.323622] Registering SWP/SWPB emulation handler
[    1.330074] platform reg-20-cs-ldoio0: Driver reg-20-cs-ldoio0 requests probe deferral
[    1.339028] platform reg-20-cs-ldo4: Driver reg-20-cs-ldo4 requests probe deferral
[    1.347722] platform reg-20-cs-ldo3: Driver reg-20-cs-ldo3 requests probe deferral
[    1.356362] platform reg-20-cs-ldo2: Driver reg-20-cs-ldo2 requests probe deferral
[    1.364910] platform reg-20-cs-ldo1: Driver reg-20-cs-ldo1 requests probe deferral
[    1.373610] platform reg-20-cs-dcdc3: Driver reg-20-cs-dcdc3 requests probe deferral
[    1.382440] platform reg-20-cs-dcdc2: Driver reg-20-cs-dcdc2 requests probe deferral
[    1.391229] sunxi-rtc sunxi-rtc: setting system clock to 1970-01-01 05:36:33 UTC (20193)
[    1.401724] ALSA device list:
[    1.405171]   #0: audiocodec
[    1.409071] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    1.418402] Backtrace: 
[    1.421365] [<c0013410>] (dump_backtrace+0x0/0x110) from [<c031387c>] (dump_stack+0x18/0x1c)
[    1.430925]  r6:00008000 r5:c183d000 r4:c183d000 r3:00000001
[    1.437793] [<c0313864>] (dump_stack+0x0/0x1c) from [<c0313c60>] (panic+0x78/0x1cc)
[    1.446407] [<c0313be8>] (panic+0x0/0x1cc) from [<c042ecc4>] (mount_block_root+0x240/0x290)
[    1.455868]  r3:00000000 r2:00000001 r1:c1821f38 r0:c03bb299
[    1.462730]  r7:c044a258
[    1.465742] [<c042ea84>] (mount_block_root+0x0/0x290) from [<c042ed6c>] (mount_root+0x58/0x68)
[    1.475496] [<c042ed14>] (mount_root+0x0/0x68) from [<c042eea0>] (prepare_namespace+0x124/0x184)
[    1.485350]  r5:c044a250 r4:c0493564
[    1.489704] [<c042ed7c>] (prepare_namespace+0x0/0x184) from [<c042e8f0>] (kernel_init+0x16c/0x1a8)
[    1.499837]  r5:c044a250 r4:00000007
[    1.504106] [<c042e784>] (kernel_init+0x0/0x1a8) from [<c0031d20>] (do_exit+0x0/0x660)
[    1.513090] Rebooting in 5 seconds..

#10 Re: 全志 SOC » licheepi zero BSP 内核(linux3.4) 编译教程 » 2018-05-30 10:46:16

嗯,好的,谢谢晕哥,我也看看,有进展分享出来

#11 Re: 全志 SOC » licheepi zero BSP 内核(linux3.4) 编译教程 » 2018-05-30 10:43:14

sunxi-fel这个用过,我也用过芒果派提供的linux4.10

#12 Re: 全志 SOC » licheepi zero BSP 内核(linux3.4) 编译教程 » 2018-05-30 10:34:31

晕哥,我就是想用楼主这种方式,用主线uboot和官方的3.4内核还有文件系统,我这几个都编译好了,只是不知道怎么打包成烧写文件

#14 Re: 全志 SOC » licheepi zero BSP 内核(linux3.4) 编译教程 » 2018-05-30 10:01:19

是的,晕哥,怎么把uboot和bsp的内核打包成烧录文件呢,我想用摄像头

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn