Wednesday, 15 July 2015

linux - Can I copy the pi1b system to pi2b? -


I have Raspberry P1b, AMD has recently bought a Pi2b, so I wonder if I can do pi1system Can I use image tool to copy pi2? I can copy the PI1's SD card to a .img file, then use the file to create the data of Pi2 Micro SD card.

I knew that the CPU of both PIS is different. So is it available ? Did anyone try

If so, then there will be some hidden bugs inside the system which we will not be able to get immediately but will the system work properly affect?

Any suggestions would be appreciated!

short answer

Yes, you can make sure that in your OS ARMV7 is the kernel. Some quotes from

long answer

:

Broadcom was ready to take action with a new SOC, BCM2836. It retains all the features of BCM 2835, but replaces a 700MHz ARM 11 with the 900 MHz quad-core ARM Cortex-A7 complex: everything remains the same, so there is no shortage of painful infection or stability .

Note: ARMV7 is compatible with previous version ARMV6, the quotation given below proves this.

In the launch, we are using the same ARMV6 raspabian user on both Raspberry P1 and 2. >

There may be some hidden problems

Due to the upgradation of P1 model B to P2 model B, this will not happen. This will be due to copying the image. If you or your system has made a hard address to your network interface's MAC address, then there may be a problem. I know that this is not the best example, but after some time people can not even think and hard code things that can change. It all depends on your OS.

How to reduce the rowspan to set up a new kernel

If anything goes wrong, it is a good idea to back up your SD card before making these changes. Can be prevented from booting.

To back up your SD card on Linux / OS X, you can remember to select the correct device (SDA / SDB / SDC):

  pseudo DD BS = 4 M = = dev / sdx = raspbian.img  

To install the ARMV7 kernel:

  sudo apt-get Update sudo apt-get install linux-image-rpi2-rpfv sudo apt-get install linux-headers-rpi2-rpfv  

Check / boot to ensure that you got kernel 7.img LS:

  LS-LSA / boot  

LS results:

  3861-rwxr-xr-x 1 root root 3953492 February 24 20:55 kernel.img 3818 -rwxr-xr-x 1 root root 3908696 February 24 20:55 kernel7.img  

if If that does not work, you can force the kernel name to modify your /boot/config.txt and see for more options.

Other issues

Kernel modules such as K Wi-Fi drivers or streaming cams can also cause problems on your new ARMV 7 kernel, if it is not supported by default


No comments:

Post a Comment