龙芯俱乐部开源技术社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
热搜: 活动 交友 discuz
查看: 6565|回复: 9

请教下:龙芯现在最新的内核是不是3.10.84?

[复制链接]

9

主题

43

帖子

1080

积分

金牌会员

Rank: 6Rank: 6

积分
1080
发表于 2016-1-4 02:22:20 | 显示全部楼层 |阅读模式
在这里(http://cgit.loongnix.org/cgit/linux-3.10.84)看到的

cgit logo        index : linux-3.10.84       

the linux-3.10.84 repository        loongson
aboutsummaryrefslogtreecommitdiffstats       
  
Branch        Commit message        Author        Age
master        Release version number 3.10.84-15.08.27.loongson3        Xiaofu Meng        4 months

Tag        Download        Author        Age
v4.0.9        linux-3.10.84-4.0.9.zip  linux-3.10.84-4.0.9.tar.gz  linux-3.10.84-4.0.9.tar.bz2          Greg Kroah-Hartman        5 months
v4.1.3        linux-3.10.84-4.1.3.zip  linux-3.10.84-4.1.3.tar.gz  linux-3.10.84-4.1.3.tar.bz2          Greg Kroah-Hartman        5 months
v3.18.19        linux-3.10.84-3.18.19.zip  linux-3.10.84-3.18.19.tar.gz  linux-3.10.84-3.18.19.tar.bz2          Sasha Levin        5 months
v4.2-rc3        linux-3.10.84-4.2-rc3.zip  linux-3.10.84-4.2-rc3.tar.gz  linux-3.10.84-4.2-rc3.tar.bz2          Linus Torvalds        6 months
v4.2-rc2        linux-3.10.84-4.2-rc2.zip  linux-3.10.84-4.2-rc2.tar.gz  linux-3.10.84-4.2-rc2.tar.bz2          Linus Torvalds        6 months
v3.10.84        linux-3.10.84-3.10.84.zip  linux-3.10.84-3.10.84.tar.gz  linux-3.10.84-3.10.84.tar.bz2          Greg Kroah-Hartman        6 months
v3.14.48        linux-3.10.84-3.14.48.zip  linux-3.10.84-3.14.48.tar.gz  linux-3.10.84-3.14.48.tar.bz2          Greg Kroah-Hartman        6 months
v4.1.2        linux-3.10.84-4.1.2.zip  linux-3.10.84-4.1.2.tar.gz  linux-3.10.84-4.1.2.tar.bz2          Greg Kroah-Hartman        6 months
v4.0.8        linux-3.10.84-4.0.8.zip  linux-3.10.84-4.0.8.tar.gz  linux-3.10.84-4.0.8.tar.bz2          Greg Kroah-Hartman        6 months
v3.18.18        linux-3.10.84-3.18.18.zip  linux-3.10.84-3.18.18.tar.gz  linux-3.10.84-3.18.18.tar.bz2          Sasha Levin        6 months
[...]

Age        Commit message        Author        Files        Lines
2015-08-27        Release version number 3.10.84-15.08.27.loongson3HEADmaster        Xiaofu Meng        2        -2/+2
2015-08-27        configs: disable pcie aspm which can cause pcie graphic card boot failed        Xiaofu Meng        2        -78/+48
2015-08-27        3A2000: turn off temperature sensor detection        Xiaofu Meng        1        -3/+3
2015-08-27        Loongson3: compatible with older PMON        chengchao        4        -4/+118
2015-08-27        Rapid handle special address error        Xiaofu Meng        1        -1/+26
2015-08-27        3A2000: use unique exception codes for the Read-Inhibit and Execute-Inhibit e...        yangxiaojuan        5        -4/+14
2015-08-27        3A2000: Limit store fill buffer used only by the GS464E        Xiaofu Meng        1        -0/+4
2015-08-27        3A2000: add support for dsp and dsp2        Xiaofu Meng        2        -4/+1
2015-08-27        3A2000: Don't need to execute hazard        yangxiaojuan        1        -1/+1
2015-08-27        3A2000: enable prefetch instruction        yangxiaojuan        3        -2/+5
[...]

Clone
http://cgit.loongnix.org/cgit/linux-3.10.84
git://cgit.loongnix.org/kernel/linux-3.10.84.git
generated by cgit v0.11.2 at 2016-01-03 18:25:02 (GMT)


http://cgit.loongnix.org/cgit/linux-3.10.84

48

主题

257

帖子

4920

积分

新手上路

Rank: 1

积分
4920
发表于 2016-1-5 14:00:14 | 显示全部楼层
那是龙芯3系列的。
不能用于1c

能用于智龙的资源请参考
http://www.openloongson.org/foru ... &extra=page%3D1

9

主题

43

帖子

1080

积分

金牌会员

Rank: 6Rank: 6

积分
1080
 楼主| 发表于 2016-1-6 21:57:13 | 显示全部楼层
简单平安 发表于 2016-1-5 14:00
那是龙芯3系列的。
不能用于1c

是不是目前1C只能用这个 3.0.82 的内核?

# uname -a
Linux SmartLoong 3.0.82+ #8 Fri Apr 10 16:29:02 CST 2015 mips GNU/Linux
#

真想试试最新的内核...

48

主题

257

帖子

4920

积分

新手上路

Rank: 1

积分
4920
发表于 2016-1-10 13:36:20 | 显示全部楼层
HexFire 发表于 2016-1-6 21:57
是不是目前1C只能用这个 3.0.82 的内核?

# uname -a

是的,目前1c上最新的内核为3.0的。你可以试着移植一下最新的

9

主题

43

帖子

1080

积分

金牌会员

Rank: 6Rank: 6

积分
1080
 楼主| 发表于 2016-1-10 14:06:59 | 显示全部楼层
简单平安 发表于 2016-1-10 13:36
是的,目前1c上最新的内核为3.0的。你可以试着移植一下最新的

目测这是一个巨坑...

48

主题

257

帖子

4920

积分

新手上路

Rank: 1

积分
4920
发表于 2016-1-12 09:43:17 | 显示全部楼层
HexFire 发表于 2016-1-10 14:06
目测这是一个巨坑...

48

主题

257

帖子

4920

积分

新手上路

Rank: 1

积分
4920
发表于 2016-1-12 09:44:22 | 显示全部楼层
芯片级移植还是交给龙芯官方吧,我们做些外设驱动和应用开发就可以了

34

主题

108

帖子

1万

积分

论坛元老

Rank: 8Rank: 8

积分
16630
发表于 2016-1-12 23:01:21 | 显示全部楼层
日志上看我们用的这个内核是一个1B指纹机上移植过来的。

9

主题

43

帖子

1080

积分

金牌会员

Rank: 6Rank: 6

积分
1080
 楼主| 发表于 2016-1-12 23:10:52 | 显示全部楼层
shigeng 发表于 2016-1-12 23:01
日志上看我们用的这个内核是一个1B指纹机上移植过来的。

啊, 这么厉害! 从哪句话看出来的?

[root@Loong ~]# dmesg
Initializing cgroup subsys cpuset
Initializing cgroup subsys cpu
Linux version 3.0.82+ (root@tom-virtual-machine) (gcc version 4.3.0 (GCC) ) #8 Fri Apr 10 16:29:02 CST 2015
memsize=32MB, highmemsize=0MB
bootconsole [early0] enabled
CPU revision is: 00004220 (Loongson LS1X)
FPU revision is: 00330501
Determined physical RAM map:
memory: 02000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
  Normal   0x00000000 -> 0x00002000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0: 0x00000000 -> 0x00002000
On node 0 totalpages: 8192
free_area_init_node: node 0, pgdat 8066f600, node_mem_map 81000000
  Normal zone: 64 pages used for memmap
  Normal zone: 0 pages reserved
  Normal zone: 8128 pages, LIFO batch:0
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: [0] 0
Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 8128
Kernel command line: root=/dev/mtdblock1 console=ttyS2,115200 rootfstype=yaffs2
PID hash table entries: 128 (order: -3, 512 bytes)
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Primary instruction cache 16kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes
allocated 131072 bytes of page_cgroup
please try 'cgroup_disable=memory' option if you don't want memory cgroups
Memory: 25068k/32768k available (3759k kernel code, 7700k reserved, 784k data, 200k init, 0k highmem)
SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:320
cpuclock=252000000Hz
busclock=126000000Hz
Console: colour dummy device 80x25
Calibrating delay loop... 250.62 BogoMIPS (lpj=501248)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
Initializing cgroup subsys cpuacct
Initializing cgroup subsys memory
Initializing cgroup subsys devices
Initializing cgroup subsys freezer
Initializing cgroup subsys blkio
Initializing cgroup subsys perf_event
devtmpfs: initialized
NET: Registered protocol family 16
ls1x-i2c ls1x-i2c.0: Loongson1 i2c bus driver.
ls1x-i2c ls1x-i2c.1: Loongson1 i2c bus driver.
ls1x-i2c ls1x-i2c.2: Loongson1 i2c bus driver.
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Switching to clocksource MIPS
Switched to NOHz mode on CPU #0
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
NTFS driver 2.1.30 [Flags: R/W].
yaffs: yaffs built Nov  6 2014 15:01:35 Installing.
msgmni has been set to 48
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
Use default resolution 800x600-16@75
VESA:800x600-0@75
Console: switching to colour frame buffer device 100x37
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x1fe40000 (irq = 3) is a 16550A
serial8250.0: ttyS1 at MMIO 0x1fe44000 (irq = 4) is a 16550A
serial8250.0: ttyS2 at MMIO 0x1fe48000 (irq = 5) is a 16550A
console [ttyS2] enabled, bootconsole disabled
serial8250.0: ttyS3 at MMIO 0x1fe4c000 (irq = 29) is a 16550A
brd: module loaded
mtdoops: mtd device (mtddev=name/number) must be supplied
NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-bit)
Scanning device for bad blocks
Bad eraseblock 392 at 0x000003100000
Bad eraseblock 507 at 0x000003f60000
Creating 3 MTD partitions on "ls1x-nand":
0x000000000000-0x000000e00000 : "kernel"
0x000000e00000-0x000007200000 : "os"
0x000007200000-0x000008000000 : "data"
spi_ls1x spi_ls1x.0: base bfe80000, irq -1
STMMAC driver:
        platform registration...
        done!
        DWMAC1000 - user ID: 0x12, Synopsys ID: 0x37
        eth0 - (dev. name: stmmaceth - id: 0, IRQ #35
        IO base addr: 0xbfe10000)
STMMAC MII Bus: probed
eth0: PHY ID 0181b8b1 at 19 IRQ -1 (0:13) active
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ls1x-ehci ls1x-ehci.0: Loongson1 EHCI Host Controller
ls1x-ehci ls1x-ehci.0: new USB bus registered, assigned bus number 1
ls1x-ehci ls1x-ehci.0: irq 32, io mem 0x1fe20000
ls1x-ehci ls1x-ehci.0: USB 0.0 started, EHCI 1.00
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: Loongson1 EHCI Host Controller
usb usb1: Manufacturer: Linux 3.0.82+ ehci_hcd
usb usb1: SerialNumber: ls1x
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver libusual
usbcore: registered new interface driver ums-alauda
usbcore: registered new interface driver ums-cypress
usbcore: registered new interface driver ums-datafab
usbcore: registered new interface driver ums_eneub6250
usbcore: registered new interface driver ums-freecom
usbcore: registered new interface driver ums-isd200
usbcore: registered new interface driver ums-jumpshot
usbcore: registered new interface driver ums-karma
usbcore: registered new interface driver ums-onetouch
usbcore: registered new interface driver ums-realtek
usbcore: registered new interface driver ums-sddr09
usbcore: registered new interface driver ums-sddr55
usbcore: registered new interface driver ums-usbat
ls1x-rtc ls1x-rtc.0: rtc core: registered ls1x-rtc as rtc0
ls1x-wdt ls1x-wdt: ls1x WDT at 0xbfe5c060, timeout 1375032704 sec (no wayout= 0)
mmc_spi spi0.2: ASSUMING 3.2-3.4 V slot power
mmc_spi spi0.2: SD/MMC host mmc0, no DMA, no WP, no poweroff, cd polling
audio codec:uda1342
TCP bic registered
TCP cubic registered
TCP westwood registered
TCP htcp registered
NET: Registered protocol family 17
ls1x-rtc ls1x-rtc.0: setting system clock to 2104-12-21 20:48:02 UTC (4259335682)
yaffs: dev is 32505857 name is "mtdblock1" ro
yaffs: passed flags ""
yaffs: yaffs: Attempting MTD mount of 31.1,"mtdblock1"
mmc0: host does not support reading read-only switch. assuming write-enable.
mmc0: new SDHC card on SPI
mmcblk0: mmc0:0000 SA04G 3.63 GiB
mmcblk0: p1
usb 1-1: new high speed USB device number 2 using ls1x-ehci
yaffs: block 281 is bad
yaffs: block 396 is bad
usb 1-1: New USB device found, idVendor=14cd, idProduct=1212
usb 1-1: New USB device strings: Mfr=1, Product=3, SerialNumber=2
usb 1-1: Product: Mass Storage Device
usb 1-1: Manufacturer: Generic
usb 1-1: SerialNumber: 121220130416
scsi0 : usb-storage 1-1:1.0
scsi 0:0:0:0: Direct-Access     Mass     Storage Device   1.00 PQ: 0 ANSI: 0 CCS
sd 0:0:0:0: [sda] 247808 512-byte logical blocks: (126 MB/121 MiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 03 00 00 00
sd 0:0:0:0: [sda] No Caching mode page present
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] No Caching mode page present
sd 0:0:0:0: [sda] Assuming drive cache: write through
sda:
sd 0:0:0:0: [sda] No Caching mode page present
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] Attached SCSI removable disk
yaffs: yaffs_read_super: is_checkpointed 0
VFS: Mounted root (yaffs2 filesystem) readonly on device 31:1.
devtmpfs: mounted
Freeing unused kernel memory: 200k freed
PHY: 0:13 - Link is Up - 100/Full
[root@Loong ~]#

34

主题

108

帖子

1万

积分

论坛元老

Rank: 8Rank: 8

积分
16630
发表于 2016-1-12 23:18:25 | 显示全部楼层
本帖最后由 shigeng 于 2016-1-12 23:19 编辑
HexFire 发表于 2016-1-12 23:10
啊, 这么厉害! 从哪句话看出来的?

[root@Loong ~]# dmesg

源码的目录下边
git log
不过具体位置看过记不太清了
也可能是在make menuconfig
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|龙芯俱乐部开源技术社区

GMT+8, 2024-11-28 09:42 , Processed in 0.155460 second(s), 21 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表