sorry sorry视频Ijustsud deni...

Miley Cyrus-Obsessed的中文歌词_百度知道
Miley Cyrus-Obsessed的中文歌词
ObsessedWhy do I just lie awake and think of you/我为什麼醒著 满脑子都是你I need some sleep/我需要睡个觉Tomorrow I have things to do/明天我有事情要完成Everytime I close my eyes I see your face/每一次 我闭上眼睛 浮现的都是你的脸So I try to read/所以我试著去解读But all I do is lose my place/但我做的却是 失去我在你心中的位置Am i obsessed with you?/我为你著了迷吗I do my best not to want you/我尽可能不去想要拥有你But I do all the time/但我每分每秒都想拥有你I do all the time/我每分每秒都想拥有你I just had to call you up and say hello/我必须要打电话 跟你说哈罗I know its 3 AM/我知道现在是凌晨三点钟And I saw you you a while ago/而我不久前 才见过你But I still have this aching need to hear your voice/但我心好痛 好想听到你的声音To know your here/我想知道你在那里I don't seem to have any choice/我真的别无选择Am i obsessed with you?/我为你著了迷吗I do my best not to want you/我尽可能不去想要拥有你But I do all the time/但我每分每秒都想拥有你I do all the time/我每分每秒都想拥有你Oh yeahIm so sorry I just had to wake you up/我很抱歉 我必须要吵醒你I feel so lonely by myself/我觉得好孤单Is this the way you feel when your in love?/这是陷入情网的感觉吗Or is this something else?/还是有别的原因吗YeahAm i obsessed with you?/我为你著了迷吗I do my best not to want you/我尽可能不去想要拥有你But I do all the time/但我每分每秒都想拥有你I do all the time/我每分每秒都想拥有你Oh yeahBut I do all the time/但我每分每秒都想拥有你I want you all the time/但我每分每秒都想拥有你Am I obsessed? /我为你With you..
/著了迷吗?
其他类似问题
为您推荐:
我为什么醒著 满脑子都是你
我需要睡个觉
明天我有事情要完成
每一次 我闭上眼睛 浮现的都是你的脸
所以我试著去解读
但我做的却是 失去我在你心中的位置
我为你著了迷吗
我尽可能不去想要拥有你
但我每分每秒都想拥有你
我每分每秒都想拥有你
我必须要打电话 跟你说你好
我知道现在是凌晨三点钟
而我不久前 才见过你
但我心好痛 好想听到你的声音
我想知道你在那里
我真的别无选择
我为你著了迷吗
我尽可能不去想要拥有你
但我每分每秒都想拥有你
我每分每秒都想拥有你
我很抱歉 我必须要吵醒你
我觉得好孤单
这是陷入情网的感觉吗
还是有别的原因吗
我为你著了迷吗
我尽可能不去想要拥有你
但我每分每秒都想拥有你
我每分每秒都想拥有你
但我每分每秒都想拥...
obsessed的相关知识
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁&Subscribe:&
Balau's technical blog on open hardware, free software and security
This tutorial is an updated version of , with newer software and less obsolete emulated hardware.
Every year the market produces
that run on ARM cores, and are able to run operating systems such as Linux. While most of these products are quite expensive (think about smartphones, development kits or evaluation boards) it’s possible to explore the world of Linux on ARM freely, thanks to software emulators like QEMU.
I am going to show how to compile the kernel and emulate the boot. To simplify things, the boot will not include a complete filesystem but uses a minimal ramdisk to show the kernel executing just one program.
I chose to emulate the
product because it’s well supported both by the mainline Linux kernel and by mainline QEMU. Moreover, this hardware platform runs on the Cortex-A9 core, which is an ARM CPU that is included in many smartphones today.
Requirements
In order to follow the same steps that I did, you need some tools.
First of all, anything I do is performed on a Linux machine, specifically a Debian testing distribution, in a
To manage the kernel compilation,
should be installed (it is usually in build-essential package)
To compile the kernel for ARM architecture, a cross-compiler must be installed. The difference between a traditional compiler and a cross-compiler is that the traditional compiler runs on an architecture (for example x86_64) and produces binaries for the same architecture. A cross-compiler produces binaries for a different architecture (in our case ARMv7). Depending on your distribution and what works for your setup, you can choose from different toolchains:
on how to install,
; if you run a newish version of Ubuntu you can install it directly with “sudo apt-get install gcc-arm-linux-gnueabi“,
(was CodeSourcery); available for free only under registration,
by eLinux.
Cross-compilers offer a set of programs, mainly
and , that start with a prefix indicating the architecture, the operating system of the libraries and the binary interface of the compiled programs. In my case I use Emdebian toochain, which has the “arm-linux-gnueabi-” prefix.
Finally the emulator that I use is QEMU, in particular the program to emulate ARM hardware is “qemu-system-arm“. You must install the correct package depending
sometimes distributions split the QEMU programs into different packages, for example Ubuntu packs it into the “qemu-extras” package.
The short story
Create a clean directory, then create a file called “init.c“, which contains the following simple C code:
#include &stdio.h&
void main() {
printf(&Hello World!\n&);
Then in the same directory execute the following commands in order:
wget http://www.kernel.org/pub/linux/kernel/v3.0/linux-3.2.tar.bz2
tar xjf linux-3.2.tar.bz2
export ARCH=arm
export CROSS_COMPILE=arm-linux-gnueabi-
cd linux-3.2
make vexpress_defconfig
arm-linux-gnueabi-gcc -static init.c -o init
echo init|cpio -o --format=newc & initramfs
qemu-system-arm -M vexpress-a9 -kernel linux-3.2/arch/arm/boot/zImage -initrd initramfs -serial stdio -append &console=tty1&
The kernel compilation (the “make all” command) could take some minutes or hours depending on your host machine power.
The last command opens a QEMU window, that shows a black background and many boot messages, and towards the end the “Hello World!” string is displayed.
The long story
The steps are:
Get Linux kernel source code
Prepare for compilation
Configure and compile
Prepare and create ramdisk
Emulate kernel boot and ramdisk execution
Get Linux kernel source code
The official site for mainline Linux kernel is at . The kernel version that I will use is the 3.2, be aware that if you want to use a different version you may have different results, even though most of the functionality used here is simple enough that it should not change between versions.
Download linux-3.2.tar.bz2 from the , or simply run from the command line:
wget http://www.kernel.org/pub/linux/kernel/v3.0/linux-3.2.tar.bz2
Then extract the kernel source. One way to do it is by running in the same directory:
tar xjf linux-3.2.tar.bz2
This will create a new subdirectory called linux-3.2 containing the full source of the Linux kernel.
Prepare for compilation
We are going to compile for ARM architecture by using a cross-toolchain, so we need to tell it somehow to the Linux build system. There are two environmental variable for this: ARCH and CROSS_COMPILE. The valid values for ARCH are basically the subdirectories of the “arch” directory. For CROSS_COMPILE we need to provide the prefix of the toolchain, which is the name of the compiler program minus the gcc at the end. For example if we are using arm-linux-gnueabi-gcc, we need to set CROSS_COMPILE to arm-linux-gnueabi-. On the terminal, run:
export ARCH=arm
export CROSS_COMPILE=arm-linux-gnueabi-
Configure and compile
We want to compile for the Versatile Express, and for this we can use the prepared configuration file in “arch/arm/configs/vexpress_defconfig” by running:
make vexpress_defconfig
This will configure the compilation for the desired hardware, by creating a file called “.config” that contains all the relevant options.
Then, to compile the kernel image, the command is simply:
At the end of compilation it creates a file in “linux-3.2/arch/arm/boot/zImage” that is a compressed kernel image that auto-extracts in RAM. To speed-up compilation on multi-core hosts I suggest trying the parallel compilation, by launching
make -j 2 all
which, instead of compiling sequentially, will use a parallelism of 2 to create the objects and the final images.
Prepare and create ramdisk
In order to make the kernel do something, we can create a simple “Hello-World” user-space program. We can use a ramdisk as the first filesystem that Linux uses as root, using the “initramfs” scheme. More information about ramdisks can be found in the kernel source tree, in the file “Documentation/early-userspace/README“. The first program that Linux tries to execute is “/init“, so we can create an executable with that name. The source code is simply:
#include &stdio.h&
void main() {
printf(&Hello World!\n&);
And it will be compiled by our cross-toolchain of choice. In order to make this program work alone, we need to compile it as a static executable, which links in the program also the libraries that it needs. In this way we can have a filesystem with only one executable without worrying about shared libraries. The command for compilation is:
arm-linux-gnueabi-gcc -static init.c -o init
This will create an executable for ARM called init. The format of the file is something like the following:
$ file init
init: ELF 32-bit LSB executable, ARM, version 1 (SYSV), statically linked, for GNU/Linux 2.6.18, BuildID[sha1]=0xf78bc5dfecdb11c62dae094a99ba8f9, not stripped
We can now create our ramdisk with the cpio utility, by adding just the init file to a new archive:
echo init|cpio -o --format=newc & initramfs
Be aware that the command must be run in the same directory as the init file. The initramfs file is our ramdisk. You can check its content with:
$ cpio -t & initramfs
1090 blocks
Emulate kernel boot and ramdisk execution
We have all that is needed to execute the Linux boot with QEMU, which is able to emulate the Versatile Express platform using the “-M vexpress A9” option. The zImage kernel and initramfs image are loaded by QEMU in the emulated RAM with the “-kernel” and “-initrd” options, pointing to the corresponding files.
We also want to display the boot messages which are sent on the console. To show them in the graphic window, we need to pass the “console=tty1” kernel parameter.
The kernel parameters will be passed to Linux by QEMU using the “-append” option.
The complete command is then:
qemu-system-arm -M vexpress-a9 -kernel linux-3.2/arch/arm/boot/zImage -initrd initramfs -append &console=tty1&
The command will launch QEMU and open a black window, with a Tux logo to show the graphic capabilities. The boot messages will be displayed in the graphic window, and at the end of the messages our “Hello World!” string will be printed.
Otherwise, QEMU can redirect the serial port of the emulated system on the host terminal, using the “-serial stdio” option, and Linux can display its messages on the first serial port by passing “console=ttyAMA0” as a kernel parameter. The command becomes:
qemu-system-arm -M vexpress-a9 -kernel linux-3.2/arch/arm/boot/zImage -initrd initramfs -serial stdio -append &console=ttyAMA0&
The command will launch QEMU and open the black graphical window, and the boot messages will be displayed in the host terminal instead of the black window. Note that “ttyAMA0” is a serial port name that is dependent on the hardware that is emulated, and may not be the same for all systems.
In my tests I used QEMU version 1.0, and the result may vary if you are using a different version.
Like this:Like Loading...
Posted in:
3 Trackbacks For This Post
[…] [EDIT] I have written a new updated version of this post here. […]
[…] world.c’ for an arm machine. I gave up that. But After noon I found a blog to compile kernal here I compiled it successfully, and booted successfully Now it boots and shows a hello […]
[…] Compile Linux kernel 3.2 for ARM and emulate with QEMU […]
Connecting to %s
Categories
Top Posts & Pages
Blog Stats
1,639,925 hits
Freedom Embedded by
is licensed under a .
Follow &Freedom Embedded&
Get every new post delivered to your Inbox.
Join 521 other followers
Send to Email Address
Your Email Address
Post was not sent - check your email addresses!
Email check failed, please try again
Sorry, your blog cannot share posts by email.
%d bloggers like this:一首英文歌其中的歌词是so so so sorry so so so sorry请知道的朋友告诉下歌名_百度知道
一首英文歌其中的歌词是so so so sorry so so so sorry请知道的朋友告诉下歌名
我有更好的答案
应该是黑眼豆豆的老大will.i.am唱的heartbreaker
look out [3]
where its at
i know karma's coming to pay me back
im with the sweetest thang thats on the map
i broke her heart in 30 seconds flat
in 30 seconds flat
now how did i
just how did i become that kind of guy
to look at girl and lie right in the eye
my momma told me willy that aint right
boy now that aint right
im s s s sorry
im s s s sorry
i didnt mean to break your heart [2]
im s s s sorry
im s s s sorry
i didnt mean to break ya
b b b b break it baby
im a heartbreaker [6]
im a heart
a h h h h im a heart
a h h h im a
where she go
i got some things i gotta...
Jeremy Thur 的So Sorry百度只有歌词酷狗上有这首
其他类似问题
为您推荐:
英文歌的相关知识
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁

我要回帖

更多关于 sorry sorry视频 的文章

 

随机推荐